kate
katesavemodifieddialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef _KATE_SAVE_MODIFIED_DIALOG_
00020 #define _KATE_SAVE_MODIFIED_DIALOG_
00021
00022 #include <kdialogbase.h>
00023 #include <kate/document.h>
00024
00025 class TQListViewItem;
00026 class TDEListView;
00027
00028 class KateSaveModifiedDialog: public KDialogBase {
00029 Q_OBJECT
00030 public:
00031 KateSaveModifiedDialog(TQWidget *parent, TQPtrList<Kate::Document> documents);
00032 virtual ~KateSaveModifiedDialog();
00033 static bool queryClose(TQWidget *parent,TQPtrList<Kate::Document> documents);
00034 protected:
00035 virtual void slotUser2();
00036 virtual void slotUser1();
00037 bool doSave(TQListViewItem *root);
00038 protected slots:
00039 void slotSelectAll();
00040 void slotItemSelected();
00041
00042 private:
00043 TQListViewItem *m_projectRoot;
00044 TQListViewItem *m_documentRoot;
00045 TDEListView *m_list;
00046 };
00047
00048 #endif