plugindialog.h
00001 /* 00002 This file is part of KOrganizer. 00003 Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org> 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 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 00019 As a special exception, permission is given to link this program 00020 with any edition of Qt, and distribute the resulting executable, 00021 without including the source code for Qt in the source distribution. 00022 */ 00023 #ifndef PLUGINDIALOG_H 00024 #define PLUGINDIALOG_H 00025 00026 #include <qlistview.h> 00027 00028 #include <kdialogbase.h> 00029 00030 #include "calendarview.h" 00031 00032 class PluginDialog : public KDialogBase 00033 { 00034 Q_OBJECT 00035 public: 00036 PluginDialog(QWidget *parent=0); 00037 virtual ~PluginDialog(); 00038 00039 signals: 00040 void configChanged(); 00041 00042 protected slots: 00043 void slotOk(); 00044 void slotCancel(); 00045 void configure(); 00046 00047 void selectionChanged( QListViewItem* ); 00048 00049 private: 00050 void buildList(); 00051 QListView *mListView; 00052 CalendarView *mMainView; 00053 }; 00054 00055 #endif