crash fix from Anthony Bryant
[kdebase.git] / workspace / kcontrol / dateandtime / main.h
blob2ed611a15dad63608fd8e1f4048db4e2e21377dd
1 /*
2 * main.h
4 * Copyright (C) 1998 Luca Montecchiani <m.luca@usa.net>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 #ifndef main_included
22 #define main_included
24 #include <kcmodule.h>
26 class Dtime;
27 class Tzone;
28 class QTabWidget;
29 class KProcess;
32 class KclockModule : public KCModule
34 Q_OBJECT
36 public:
37 KclockModule(QWidget *parent, const QVariantList &);
39 void save();
40 void load();
41 private Q_SLOTS:
42 void slotDateTimeHelperFinished(int exitCode);
44 private:
45 QTabWidget *tab;
46 Tzone *tzone;
47 Dtime *dtime;
48 KProcess *process;
51 #endif // main_included