render only new requests

This commit is contained in:
DenioD
2020-05-27 21:42:39 +02:00
parent f57dc2c5ad
commit cfbcc43b14
18 changed files with 157 additions and 55 deletions

View File

@@ -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;
};