diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | e9ae80694875f869892f13f4fcaf1170a00dea41 (patch) | |
tree | aa2f8d8a217e2d376224c8d46b7397b68d35de2d /kfilereplace/knewprojectdlg.h | |
download | tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.tar.gz tdewebdev-e9ae80694875f869892f13f4fcaf1170a00dea41.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfilereplace/knewprojectdlg.h')
-rw-r--r-- | kfilereplace/knewprojectdlg.h | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/kfilereplace/knewprojectdlg.h b/kfilereplace/knewprojectdlg.h new file mode 100644 index 00000000..e4852cb8 --- /dev/null +++ b/kfilereplace/knewprojectdlg.h @@ -0,0 +1,84 @@ +/*************************************************************************** + knewprojectdlg.h - description + ------------------- + begin : Tue Dec 28 1999 + copyright : (C) 1999 by Fran�ois Dupoux + (C) 2004 Emiliano Gulmini <[email protected]> + email : [email protected] + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef KNEWPROJECTDLG_H +#define KNEWPROJECTDLG_H + +//KDE +class KConfig; + +//local +#include "knewprojectdlgs.h" +#include "configurationclasses.h" + +class KNewProjectDlg : public KNewProjectDlgS +{ + Q_OBJECT + + private: + QString m_searchNowFlag; + RCOptions* m_option; + + public: + KNewProjectDlg(RCOptions* info, QWidget *parent=0, const char *name=0); + ~KNewProjectDlg(); + + public: + //void updateOptions(const RCOptions& info); + void saveRCOptions(); + + protected slots: + void slotDir(); + void slotOK(); + void slotReject(); + void slotSearchNow(); + void slotSearchLater(); + void slotSearchLineEdit(const QString& t); + void slotEnableSpinboxSizeMin(bool b); + void slotEnableSpinboxSizeMax(bool b); + void slotEnableCbValidDate(bool b); + void slotEnableChbUser(bool b); + void slotEnableChbGroup(bool b); + void slotEnableChbBackup(bool b); + void slotHelp(){ kapp->invokeHelp(QString::null, "kfilereplace"); } + + private: + void initGUI(); + + void loadOptions(); + void loadFileSizeOptions(); + void loadDateAccessOptions(); + void loadOwnerOptions(); + void loadLocationsList(); + void loadFiltersList(); + void loadBackupExtensionOptions(); + + void saveOptions(); + void saveFileSizeOptions(); + void saveDateAccessOptions(); + void saveOwnerOptions(); + void saveLocationsList(); + void saveFiltersList(); + void saveBackupExtensionOptions(); + + bool contains(QListView* lv,const QString& s, int column); + void setDatas(const QString& directoryString, const QString& filterString); + void whatsThis(); +}; + +#endif // KNewProjectDlg |