diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 01:06:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-27 01:06:46 -0600 |
commit | ef2264e9790ae7e700ad3cf5fb3dbad05efd98d8 (patch) | |
tree | ac4650a642d502c458d0b654c8b731739ce601dc /tdefilereplace/knewprojectdlg.h | |
parent | a32b928478b59d4fa8b8495bbad6864476c129b1 (diff) | |
download | tdewebdev-ef2264e9790ae7e700ad3cf5fb3dbad05efd98d8.tar.gz tdewebdev-ef2264e9790ae7e700ad3cf5fb3dbad05efd98d8.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdefilereplace/knewprojectdlg.h')
-rw-r--r-- | tdefilereplace/knewprojectdlg.h | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/tdefilereplace/knewprojectdlg.h b/tdefilereplace/knewprojectdlg.h new file mode 100644 index 00000000..b8b87da6 --- /dev/null +++ b/tdefilereplace/knewprojectdlg.h @@ -0,0 +1,85 @@ +/*************************************************************************** + knewprojectdlg.h - description + ------------------- + begin : Tue Dec 28 1999 + copyright : (C) 1999 by Fran�ois Dupoux + (C) 2004 Emiliano Gulmini <emi_barbarossa@yahoo.it> + email : dupoux@dupoux.com + ***************************************************************************/ + +/*************************************************************************** + * * + * 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 TDEConfig; + +//local +#include "knewprojectdlgs.h" +#include "configurationclasses.h" + +class KNewProjectDlg : public KNewProjectDlgS +{ + Q_OBJECT + + + private: + TQString m_searchNowFlag; + RCOptions* m_option; + + public: + KNewProjectDlg(RCOptions* info, TQWidget *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 TQString& 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(TQString(), "tdefilereplace"); } + + 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(TQListView* lv,const TQString& s, int column); + void setDatas(const TQString& directoryString, const TQString& filterString); + void whatsThis(); +}; + +#endif // KNewProjectDlg |