quickopendialog.h
Go to the documentation of this file.00001 /* 00002 * Copyright (C) KDevelop Authors <kdevelop-devel@kdevelop.org>, (C) 2004 00003 * 00004 * This program is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2 of the License, or (at your option) any later version. 00008 * 00009 * This program is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Library General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program; see the file COPYING.LIB. If not, write to 00016 * the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00017 * Boston, MA 02111-1307, USA. 00018 * 00019 */ 00020 00021 #ifndef QUICKOPENDIALOG_H 00022 #define QUICKOPENDIALOG_H 00023 00024 #include "quickopenbase.h" 00025 00026 class QuickOpenPart; 00027 class KCompletion; 00028 00029 class QuickOpenDialog : public QuickOpenDialogBase 00030 { 00031 Q_OBJECT 00032 00033 public: 00034 QuickOpenDialog(QuickOpenPart* part, QWidget* parent = 0, const char* name = 0, bool modal = TRUE, WFlags fl = 0 ); 00035 virtual ~QuickOpenDialog(); 00036 00037 virtual bool eventFilter(QObject *watched, QEvent *e); 00038 00039 public slots: 00040 virtual void slotTextChanged(const QString&); 00041 00042 protected: 00043 KCompletion* m_completion; 00044 QuickOpenPart* m_part; 00045 00046 }; 00047 00048 #endif 00049