equal
deleted
inserted
replaced
|
1 #ifndef CUSTOMLISTWIDGET_H |
|
2 #define CUSTOMLISTWIDGET_H |
|
3 |
|
4 #include <qlistwidget.h> |
|
5 #include <smfcontact.h> |
|
6 #include <smfpost.h> |
|
7 #include <smfactions.h> |
|
8 #include "qmainwindow.h" |
|
9 |
|
10 class CustomListWidget : public QListWidget |
|
11 { |
|
12 public: |
|
13 CustomListWidget(); |
|
14 //QWidget* CreateListwidget(QStrng aIconPath,QString aFirstLine,QString aSecondLine); |
|
15 QWidget* CreateListwidget(SmfContactList* friendsList); |
|
16 QWidget* CreateListwidget(SmfPostList *postsList); |
|
17 QWidget* CreateListwidget(SmfActivityEntryList *activityList); |
|
18 void AddListItem(QString aIconPath,QString aFirstLine,QString aSecondLine); |
|
19 void AddListItem(QMainWindow *mainWindow,QStringList aIconPath, QStringList iconName); |
|
20 ~CustomListWidget(); |
|
21 |
|
22 }; |
|
23 |
|
24 |
|
25 #endif // CUSTOMLISTWIDGET_H |