mysocials-core 1.0

src/widgets/qaddcomment.h

00001 #ifndef QADDCOMMENT_H
00002 #define QADDCOMMENT_H
00003 
00004 #include <QDialog>
00005 
00006 #include "datatypes/photo.h"
00007 #include <servicemgr.h>
00008 
00009 namespace Ui {
00010     class QAddComment;
00011 }
00012 
00013 class QAddComment : public QDialog {
00014     Q_OBJECT
00015 public:
00016     QAddComment(Photo photo, ServiceMgr *sm, QWidget *parent = 0);
00017     ~QAddComment();
00018 
00019 protected:
00020     void changeEvent(QEvent *e);
00021 
00022 private:
00023     Ui::QAddComment *ui;
00024     Photo commentedPhoto;
00025     ServiceMgr *sm;
00026 
00027 private slots:
00028     void addComment();
00029 };
00030 
00031 #endif // QADDCOMMENT_H