kandy

kandyprefsdialog.h
00001 /*
00002     This file is part of Kandy.
00003 
00004     Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
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 TQt, and distribute the resulting executable,
00022     without including the source code for TQt in the source distribution.
00023 */
00024 
00025 #ifndef _KANDYPREFSDIALOG_H
00026 #define _KANDYPREFSDIALOG_H
00027 
00028 #include <tqframe.h>
00029 #include <tqlineedit.h>
00030 #include <tqcombobox.h>
00031 #include <tqcheckbox.h>
00032 #include <tqradiobutton.h>
00033 #include <tqpushbutton.h>
00034 
00035 #include <kdialogbase.h>
00036 
00037 #include <libtdepim/kprefsdialog.h>
00038 
00042 class KandyPrefsDialog : public KPrefsDialog
00043 {
00044     Q_OBJECT
00045   
00046   public:
00048     KandyPrefsDialog(TQWidget *parent=0,char *name=0,bool modal=false);
00049     ~KandyPrefsDialog();
00050 
00051   protected:
00052     void setupSerialTab();
00053     void setupAddressbookTab();
00054     void setupWindowsTab();
00055  private:
00056     KPrefsWidString *serialDevice;
00057     KPrefsWidString *baudRate;
00058     KPrefsWidString *lockDir;
00059     KPrefsWidBool *openOnStartup;
00060     KPrefsWidBool *autoSetClock;
00061     
00062     KPrefsWidBool *excHome;
00063     KPrefsWidBool *excWork;
00064     KPrefsWidBool *excMsg;
00065     KPrefsWidBool *excFax;
00066     KPrefsWidBool *excCell;
00067     KPrefsWidBool *excVideo;
00068     KPrefsWidBool *excBbs;
00069     KPrefsWidBool *excModem;
00070     KPrefsWidBool *excCar;
00071     KPrefsWidBool *excISDN;
00072     KPrefsWidBool *excPager;
00073     
00074     KPrefsWidBool *useHomeSuff;
00075     KPrefsWidBool *useWorkSuff;
00076     KPrefsWidBool *useMessagingSuff;
00077     KPrefsWidBool *useFaxSuff;
00078     KPrefsWidBool *useCellSuff;
00079     KPrefsWidBool *useVideoSuff;
00080     KPrefsWidBool *useMailboxSuff;
00081     KPrefsWidBool *useModemSuff;
00082     KPrefsWidBool *useCarSuff;
00083     KPrefsWidBool *useISDNSuff;
00084     KPrefsWidBool *usePagerSuff;
00085     
00086     KPrefsWidString *HomeSuff;
00087     KPrefsWidString *WorkSuff;
00088     KPrefsWidString *MessagingSuff;
00089     KPrefsWidString *FaxSuff;
00090     KPrefsWidString *CellSuff;
00091     KPrefsWidString *VideoSuff;
00092     KPrefsWidString *MailboxSuff;
00093     KPrefsWidString *ModemSuff;
00094     KPrefsWidString *CarSuff;
00095     KPrefsWidString *ISDNSuff;
00096     KPrefsWidString *PagerSuff;
00097     
00098     KPrefsWidBool *startupTerminal;
00099     KPrefsWidBool *startupMobile;
00100     KPrefsWidString *DisplayWidth;
00101 };
00102 
00103 #endif