You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebase/kfind/kfinddlg.h

70 lines
1.3 KiB

/***********************************************************************
*
* KfindDlg.h
*
***********************************************************************/
#ifndef KFINDDLG_H
#define KFINDDLG_H
#include <kdialogbase.h>
#include <kdirlister.h>
#include <kdirwatch.h>
class TQString;
class KQuery;
class KURL;
class KFileItem;
class KfindTabWidget;
class KfindWindow;
class KStatusBar;
class KfindDlg: public KDialogBase
{
Q_OBJECT
public:
KfindDlg(const KURL & url, TQWidget * parent = 0, const char * name = 0);
~KfindDlg();
void copySelection();
void setStatusMsg(const TQString &);
void setProgressMsg(const TQString &);
private:
void closeEvent(TQCloseEvent *);
/*Return a TQStringList of all subdirs of d*/
TQStringList getAllSubdirs(TQDir d);
public slots:
void startSearch();
void stopSearch();
void newSearch();
void addFile(const KFileItem* item, const TQString& matchingLine);
void setFocus();
void slotResult(int);
// void slotSearchDone();
void about ();
void slotDeleteItem(const TQString&);
void slotNewItems( const TQString& );
signals:
void haveResults(bool);
void resultSelected(bool);
private:
KfindTabWidget *tabWidget;
KfindWindow * win;
bool isResultReported;
KQuery *query;
KStatusBar *mStatusBar;
KDirLister *dirlister;
KDirWatch *dirwatch;
};
#endif