kandy

kandyprefsdialog.h
1 /*
2  This file is part of Kandy.
3 
4  Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
5 
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.
10 
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.
15 
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.
19 
20  As a special exception, permission is given to link this program
21  with any edition of TQt, and distribute the resulting executable,
22  without including the source code for TQt in the source distribution.
23 */
24 
25 #ifndef _KANDYPREFSDIALOG_H
26 #define _KANDYPREFSDIALOG_H
27 
28 #include <tqframe.h>
29 #include <tqlineedit.h>
30 #include <tqcombobox.h>
31 #include <tqcheckbox.h>
32 #include <tqradiobutton.h>
33 #include <tqpushbutton.h>
34 
35 #include <kdialogbase.h>
36 
37 #include <libtdepim/kprefsdialog.h>
38 
42 class KandyPrefsDialog : public KPrefsDialog
43 {
44  TQ_OBJECT
45 
46  public:
48  KandyPrefsDialog(TQWidget *parent=0,char *name=0,bool modal=false);
50 
51  protected:
52  void setupSerialTab();
53  void setupAddressbookTab();
54  void setupWindowsTab();
55  private:
56  KPrefsWidString *serialDevice;
57  KPrefsWidString *baudRate;
58  KPrefsWidString *lockDir;
59  KPrefsWidBool *openOnStartup;
60  KPrefsWidBool *autoSetClock;
61 
62  KPrefsWidBool *excHome;
63  KPrefsWidBool *excWork;
64  KPrefsWidBool *excMsg;
65  KPrefsWidBool *excFax;
66  KPrefsWidBool *excCell;
67  KPrefsWidBool *excVideo;
68  KPrefsWidBool *excBbs;
69  KPrefsWidBool *excModem;
70  KPrefsWidBool *excCar;
71  KPrefsWidBool *excISDN;
72  KPrefsWidBool *excPager;
73 
74  KPrefsWidBool *useHomeSuff;
75  KPrefsWidBool *useWorkSuff;
76  KPrefsWidBool *useMessagingSuff;
77  KPrefsWidBool *useFaxSuff;
78  KPrefsWidBool *useCellSuff;
79  KPrefsWidBool *useVideoSuff;
80  KPrefsWidBool *useMailboxSuff;
81  KPrefsWidBool *useModemSuff;
82  KPrefsWidBool *useCarSuff;
83  KPrefsWidBool *useISDNSuff;
84  KPrefsWidBool *usePagerSuff;
85 
86  KPrefsWidString *HomeSuff;
87  KPrefsWidString *WorkSuff;
88  KPrefsWidString *MessagingSuff;
89  KPrefsWidString *FaxSuff;
90  KPrefsWidString *CellSuff;
91  KPrefsWidString *VideoSuff;
92  KPrefsWidString *MailboxSuff;
93  KPrefsWidString *ModemSuff;
94  KPrefsWidString *CarSuff;
95  KPrefsWidString *ISDNSuff;
96  KPrefsWidString *PagerSuff;
97 
98  KPrefsWidBool *startupTerminal;
99  KPrefsWidBool *startupMobile;
100  KPrefsWidString *DisplayWidth;
101 };
102 
103 #endif
Dialog to change the kandy configuration.
KandyPrefsDialog(TQWidget *parent=0, char *name=0, bool modal=false)
Initialize dialog and pages.