kpilot

kpilotConfigWizard.h

Go to the documentation of this file.
00001 #ifndef _KPILOT_CONFIGWIZARD_H
00002 #define _KPILOT_CONFIGWIZARD_H
00003 /* kpilotConfigWizard.h                 KPilot
00004 **
00005 ** Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
00006 **
00007 ** This file defines kpilot's configuration wizard
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 ** This program is distributed in the hope that it will be useful,
00017 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00018 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00019 ** GNU General Public License for more details.
00020 **
00021 ** You should have received a copy of the GNU General Public License
00022 ** along with this program in a file called COPYING; if not, write to
00023 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00024 ** MA 02110-1301, USA.
00025 */
00026 
00027 /*
00028 ** Bug reports and questions can be sent to kde-pim@kde.org
00029 */
00030 
00031 #include "kwizard.h"
00032 
00033 class ConfigWizard_base1;
00034 class ConfigWizard_base2;
00035 class ConfigWizard_base3;
00036 
00037 class ConfigWizard : public KWizard
00038 {
00039 Q_OBJECT
00040 public:
00041     enum Mode { InDialog=0, Standalone=1 } ;
00042 
00043     ConfigWizard(QWidget *p=0L,const char *n=0L, int mode=(int)InDialog);
00044     ~ConfigWizard();
00045 
00046 protected slots:
00047     void probeHandheld();
00048 protected:
00049     void accept();
00050 //  ConfigWizard_base1 *page1;
00051     ConfigWizard_base2 *page2;
00052     ConfigWizard_base3 *page3;
00053 
00054     Mode fMode;
00055     QStringList mDBs;
00056 } ;
00057 
00058 #endif