dolphin/kfind/kfind.h
Mario Weilguni eaa944921a Mario: a LOT of changes
svn path=/trunk/kdebase/kfind/; revision=6919
1998-04-21 19:59:46 +00:00

64 lines
1.1 KiB
C++

/***********************************************************************
*
* Kfind.h
*
***********************************************************************/
#ifndef KFIND_H
#define KFIND_H
#include "kftabdlg.h"
#include "kfwin.h"
#include <kprocess.h>
class QPushButton;
class Kfind: public QWidget
{
Q_OBJECT
public:
Kfind( QWidget * parent = 0 ,const char * name = 0,const char*searchPath = 0);
~Kfind();
QSize sizeHint();
void copySelection();
public slots:
void startSearch();
void stopSearch();
void newSearch();
void processResults();
void handleStdout(KProcess *proc, char *buffer, int buflen);
signals:
void haveResults(bool);
void resultSelected(bool);
void statusChanged(const char *);
void enableSearchButton(bool);
void enableStatusBar(bool);
void open();
void addToArchive();
void deleteFile();
void renameFile();
void properties();
void openFolder();
void saveResults();
protected:
void resizeEvent( QResizeEvent * );
private:
KShellProcess findProcess;
int winsize;
KfindTabDialog *tabDialog;
KfindWindow * win;
char *iBuffer;
};
#endif