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 <smfplaylist.h> |
|
9 #include "qmainwindow.h" |
|
10 |
|
11 class CustomListWidget : public QListWidget |
|
12 { |
|
13 public: |
|
14 CustomListWidget(); |
|
15 //QWidget* CreateListwidget(QStrng aIconPath,QString aFirstLine,QString aSecondLine); |
|
16 QWidget* CreateListwidget(SmfContactList* friendsList); |
|
17 QWidget* CreateListwidget(SmfPostList *postsList); |
|
18 QWidget* CreateListwidget(SmfActivityEntryList *activityList); |
|
19 QWidget* CreateListwidget(SmfPlaylistList *playList); |
|
20 void AddListItem(QString aIconPath,QString aFirstLine,QString aSecondLine); |
|
21 void AddListItem(QMainWindow *mainWindow,QStringList aIconPath, QStringList iconName); |
|
22 void AddListItem(QString aPlaylistname); |
|
23 ~CustomListWidget(); |
|
24 |
|
25 }; |
|
26 |
|
27 |
|
28 #endif // CUSTOMLISTWIDGET_H |