render only new requests
This commit is contained in:
@@ -23,6 +23,7 @@ public:
|
||||
int columnCount(const QModelIndex &parent) const;
|
||||
QVariant data(const QModelIndex &index, int role) const;
|
||||
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
|
||||
|
||||
|
||||
|
||||
private:
|
||||
@@ -32,7 +33,8 @@ private:
|
||||
QTableView* parent;
|
||||
//QList<QPair<QString, QString>> labels;
|
||||
QList<ContactItem> labels;
|
||||
QStringList headers;
|
||||
QStringList headers;
|
||||
|
||||
};
|
||||
|
||||
class AddressBook {
|
||||
@@ -63,6 +65,10 @@ public:
|
||||
|
||||
QString get_avatar_name();
|
||||
void set_avatar_name(QString avatar_name);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -76,6 +82,7 @@ private:
|
||||
|
||||
QString writeableFile();
|
||||
QList<ContactItem> allLabels;
|
||||
|
||||
|
||||
static AddressBook* instance;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user