00001 /*************************************************************************** 00002 windowdlg.h - description 00003 ------------------- 00004 begin : Son Nov 24 2002 00005 copyright : (C) 2002 by Heiko Köhler 00006 email : heicom@users.sourceforge.net 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #include <qlistbox.h> 00019 #include <qpushbutton.h> 00020 #include "ui/windowdialog.h" 00021 00023 class WindowDlg : public WindowDialog 00024 { 00025 Q_OBJECT 00026 public: 00027 WindowDlg( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); 00028 ~WindowDlg(); 00029 public slots: 00031 void close_slot(); 00033 void new_slot(); 00035 void ok_slot(); 00037 void switchWindow(const QString&); 00038 protected: 00040 void updateListView(); 00041 private: 00042 QMap<QString,QWidget*> viewMap; 00043 };