katesavemodifieddialog.h00001
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 QListViewItem;
00026 class KListView;
00027
00028 class KateSaveModifiedDialog: public KDialogBase {
00029 Q_OBJECT
00030 public:
00031 KateSaveModifiedDialog(QWidget *parent, QPtrList<Kate::Document> documents);
00032 virtual ~KateSaveModifiedDialog();
00033 static bool queryClose(QWidget *parent,QPtrList<Kate::Document> documents);
00034 protected:
00035 virtual void slotUser2();
00036 virtual void slotUser1();
00037 bool doSave(QListViewItem *root);
00038 protected slots:
00039 void slotSelectAll();
00040 void slotItemSelected();
00041
00042 private:
00043 QListViewItem *m_projectRoot;
00044 QListViewItem *m_documentRoot;
00045 KListView *m_list;
00046 };
00047
00048 #endif
|