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 | 4aed2c8219774f5d797760606b8489a92ddc5163 (patch) | |
tree | 3f8c130f7d269626bf6a9447407ef6c35954426a /kfind/kfinddlg.h | |
download | tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.tar.gz tdebase-4aed2c8219774f5d797760606b8489a92ddc5163.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/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfind/kfinddlg.h')
-rw-r--r-- | kfind/kfinddlg.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/kfind/kfinddlg.h b/kfind/kfinddlg.h new file mode 100644 index 000000000..dd1aa718c --- /dev/null +++ b/kfind/kfinddlg.h @@ -0,0 +1,69 @@ +/*********************************************************************** + * + * KfindDlg.h + * + ***********************************************************************/ + +#ifndef KFINDDLG_H +#define KFINDDLG_H + +#include <kdialogbase.h> +#include <kdirlister.h> +#include <kdirwatch.h> + +class QString; + +class KQuery; +class KURL; +class KFileItem; +class KfindTabWidget; +class KfindWindow; +class KStatusBar; + +class KfindDlg: public KDialogBase +{ +Q_OBJECT + +public: + KfindDlg(const KURL & url, QWidget * parent = 0, const char * name = 0); + ~KfindDlg(); + void copySelection(); + + void setStatusMsg(const QString &); + void setProgressMsg(const QString &); + +private: + void closeEvent(QCloseEvent *); + /*Return a QStringList of all subdirs of d*/ + QStringList getAllSubdirs(QDir d); + +public slots: + void startSearch(); + void stopSearch(); + void newSearch(); + void addFile(const KFileItem* item, const QString& matchingLine); + void setFocus(); + void slotResult(int); +// void slotSearchDone(); + void about (); + void slotDeleteItem(const QString&); + void slotNewItems( const QString& ); + +signals: + void haveResults(bool); + void resultSelected(bool); + +private: + KfindTabWidget *tabWidget; + KfindWindow * win; + + bool isResultReported; + KQuery *query; + KStatusBar *mStatusBar; + KDirLister *dirlister; + KDirWatch *dirwatch; +}; + +#endif + + |