mysocials-core 1.0

src/widgets/profilebrowser.h

Go to the documentation of this file.
00001 #ifndef PROFILEBROWSER_H
00002 #define PROFILEBROWSER_H
00003 
00010 #include <QWidget>
00011 #include <QPushButton>
00012 #include "datatypes/friend.h"
00013 
00014 namespace Ui {
00015     class ProfileBrowser;
00016 }
00017 
00023 class ProfileBrowser : public QWidget
00024 {
00025     Q_OBJECT
00026 public:
00032     explicit ProfileBrowser(QWidget *parent = 0);
00033 
00041     explicit ProfileBrowser(Friend profile, QWidget *parent = 0);
00042 
00046     ~ProfileBrowser();
00047 
00053     void setProfile(Friend profile);
00054 
00055 private:
00056     void init();
00057     Ui::ProfileBrowser *ui;
00058 
00059     Friend currentProfile;
00060 
00061 };
00062 
00063 #endif // PROFILEBROWSER_H