korganizer

exportwebdialog.h

00001 /*
00002     This file is part of KOrganizer.
00003     Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
00004     Copyright (c) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
00005 
00006     This program is free software; you can redistribute it and/or modify
00007     it under the terms of the GNU General Public License as published by
00008     the Free Software Foundation; either version 2 of the License, or
00009     (at your option) any later version.
00010 
00011     This program is distributed in the hope that it will be useful,
00012     but WITHOUT ANY WARRANTY; without even the implied warranty of
00013     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00014     GNU General Public License for more details.
00015 
00016     You should have received a copy of the GNU General Public License
00017     along with this program; if not, write to the Free Software
00018     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00019 
00020     As a special exception, permission is given to link this program
00021     with any edition of Qt, and distribute the resulting executable,
00022     without including the source code for Qt in the source distribution.
00023 */
00024 #ifndef _EXPORTWEBDIALOG_H
00025 #define _EXPORTWEBDIALOG_H
00026 
00027 #include <libkdepim/kprefsdialog.h>
00028 
00029 class HTMLExportSettings;
00030 using namespace KCal;
00031 
00032 
00037 class ExportWebDialog : public KDialogBase, public KPrefsWidManager
00038 {
00039     Q_OBJECT
00040   public:
00041     ExportWebDialog( HTMLExportSettings *settings, QWidget *parent = 0,
00042                      const char *name = 0 );
00043     virtual ~ExportWebDialog();
00044 
00045   public slots:
00046     void slotTextChanged( const QString & _text);
00047 
00048   protected:
00049     void setupGeneralPage();
00050     void setupEventPage();
00051     void setupTodoPage();
00052 //    void setupJournalPage();
00053 //    void setupFreeBusyPage();
00054 //    void setupAdvancedPage();
00055 
00056   public slots:
00057     void setDefaults();
00058     void readConfig();
00059     void writeConfig();
00060 
00061   signals:
00062     void configChanged();
00063     void exportHTML( HTMLExportSettings* );
00064 
00065   protected slots:
00066     void slotOk();
00067     void slotApply();
00068     void slotDefault();
00069 
00070   protected:
00071     virtual void usrReadConfig() {}
00072     virtual void usrWriteConfig() {}
00073     
00074   private:
00075     HTMLExportSettings* mSettings;
00076     QFrame *mGeneralPage;
00077     QFrame *mEventPage;
00078     QFrame *mTodoPage;
00079 //    QFrame *mJournalPage;
00080 //    QFrame *mFreeBusyPage;
00081 //    QFrame *mAdvancedPage;
00082 };
00083 
00084 #endif // _EXPORTWEBDIALOG_H
KDE Home | KDE Accessibility Home | Description of Access Keys