choosedlg.h
Go to the documentation of this file.00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Marcel Turino * 00003 * M.Turino@gmx.de * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 ***************************************************************************/ 00011 00012 #ifndef _CHOOSEDLG_H_ 00013 #define _CHOOSEDLG_H_ 00014 00015 #include <qdialog.h> 00016 #include <qlineedit.h> 00017 #include <qptrlist.h> 00018 #include <klistview.h> 00019 #include <qlabel.h> 00020 00021 #include "doctreeviewpart.h" 00022 00023 class IndexTreeData; 00024 00025 class ChooseDlg : public QDialog 00026 { 00027 Q_OBJECT 00028 00029 public: 00030 ChooseDlg( QWidget *parent=0, const char *name=0, DocTreeViewPart *part = 0 ); 00031 ~ChooseDlg(); 00032 00033 void setList(const QPtrList<IndexTreeData> *list); 00034 00035 private slots: 00036 void slotItemExecuted(QListViewItem *item); 00037 00038 private: 00039 KListView *lv; 00040 DocTreeViewPart *m_part; 00041 }; 00042 00043 #endif