help.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef QVLC_HELP_DIALOG_H_
00025 #define QVLC_HELP_DIALOG_H_ 1
00026
00027 #ifdef HAVE_CONFIG_H
00028 #include "config.h"
00029 #endif
00030
00031 #include "qt4.hpp"
00032
00033 #include "util/qvlcframe.hpp"
00034 #include "util/singleton.hpp"
00035
00036 class QPushButton;
00037 class QTextBrowser;
00038 class QLabel;
00039 class QEvent;
00040 class QPushButton;
00041 class QTextEdit;
00042
00043 class HelpDialog : public QVLCFrame, public Singleton<HelpDialog>
00044 {
00045 Q_OBJECT
00046 private:
00047 HelpDialog( intf_thread_t * );
00048 virtual ~HelpDialog();
00049
00050 public slots:
00051 void close();
00052
00053 friend class Singleton<HelpDialog>;
00054 };
00055
00056
00057 class AboutDialog : public QVLCDialog, public Singleton<AboutDialog>
00058 {
00059 Q_OBJECT
00060
00061 private:
00062 AboutDialog( intf_thread_t * );
00063 virtual ~AboutDialog();
00064
00065 public slots:
00066 void close();
00067
00068 friend class Singleton<AboutDialog>;
00069 };
00070
00071 #ifdef UPDATE_CHECK
00072
00073 static const int UDOkEvent = QEvent::User + DialogEventType + 21;
00074 static const int UDErrorEvent = QEvent::User + DialogEventType + 22;
00075
00076 class UpdateDialog : public QVLCFrame, public Singleton<UpdateDialog>
00077 {
00078 Q_OBJECT
00079 public:
00080 void updateNotify( bool );
00081
00082 private:
00083 UpdateDialog( intf_thread_t * );
00084 virtual ~UpdateDialog();
00085
00086 update_t *p_update;
00087 QPushButton *updateButton;
00088 QLabel *updateLabelTop;
00089 QLabel *updateLabelDown;
00090 QTextEdit *updateText;
00091 void customEvent( QEvent * );
00092 bool b_checked;
00093
00094 private slots:
00095 void close();
00096 void UpdateOrDownload();
00097
00098 friend class Singleton<UpdateDialog>;
00099 };
00100 #endif
00101
00102 #endif