KDevelop API Documentation

docsearchdlg.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 1999-2001 by Matthias Hoelzer-Kluepfel                  *
00003  *   hoelzer@kde.org                                                       *
00004  *   Copyright (C) 2001 by Bernd Gehrmann                                  *
00005  *   bernd@kdevelop.org                                                    *
00006  *                                                                         *
00007  *   This program is free software; you can redistribute it and/or modify  *
00008  *   it under the terms of the GNU General Public License as published by  *
00009  *   the Free Software Foundation; either version 2 of the License, or     *
00010  *   (at your option) any later version.                                   *
00011  *                                                                         *
00012  ***************************************************************************/
00013 
00014 #ifndef _DOCSEARCHDLG_H_
00015 #define _DOCSEARCHDLG_H_
00016 
00017 #include <qdialog.h>
00018 #include <qlineedit.h>
00019 
00020 class QComboBox;
00021 class QLineEdit;
00022 class KProcess;
00023 
00024 
00025 class DocSearchDialog : public QDialog
00026 {
00027     Q_OBJECT
00028 
00029 public:
00030     DocSearchDialog( QWidget *parent=0, const char *name=0 );
00031     ~DocSearchDialog();
00032 
00033     void setSearchTerm(const QString &str)
00034     { searchterm_edit->setText(str); }
00035     bool performSearch();
00036     
00037 private slots:
00038     void htsearchStdout(KProcess *, char *buffer, int len);
00039     void htsearchExited(KProcess *);
00040 
00041 private:
00042     virtual void accept();
00043     
00044     QLineEdit *searchterm_edit;
00045     QComboBox *method_combo;
00046     QComboBox *sort_combo;
00047     
00048     QString searchResult;
00049 };
00050 
00051 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:39 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003