00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _NOTIFICATIONDIALOG_H_
00021 #define _NOTIFICATIONDIALOG_H_
00022
00023 #include <kdialogbase.h>
00024 #include <klistbox.h>
00025 #include <kdirwatch.h>
00026 #include <kfileitem.h>
00027
00028 #include "notifiersettings.h"
00029 #include "notifieraction.h"
00030 #include "notificationdialogview.h"
00031
00032 class NotificationDialog : public KDialogBase
00033 {
00034 Q_OBJECT
00035
00036 public:
00037 NotificationDialog( KFileItem medium, NotifierSettings *settings,
00038 TQWidget* parent = 0, const char* name = 0 );
00039 ~NotificationDialog();
00040
00041 private slots:
00042 void slotOk();
00043 void slotConfigure();
00044 void slotActionsChanged(const TQString& dir);
00045
00046 private:
00047 void launchAction( NotifierAction *action );
00048 void updateActionsListBox();
00049
00050 KFileItem m_medium;
00051 NotifierSettings *m_settings;
00052 KDirWatch * m_actionWatcher;
00053 NotificationDialogView *m_view;
00054 };
00055
00056 #endif