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 Qt, and distribute the resulting executable,
00022     without including the source code for Qt in the source distribution.
00023 */
00024 
00025 #ifndef _KANDYPREFSDIALOG_H
00026 #define _KANDYPREFSDIALOG_H
00027 
00028 #include <qframe.h>
00029 #include <qlineedit.h>
00030 #include <qcombobox.h>
00031 #include <qcheckbox.h>
00032 #include <qradiobutton.h>
00033 #include <qpushbutton.h>
00034 
00035 #include <kdialogbase.h>
00036 
00037 #include <libkdepim/kprefsdialog.h>
00038 
00042 class KandyPrefsDialog : public KPrefsDialog
00043 {
00044     Q_OBJECT
00045   public:
00047     KandyPrefsDialog(QWidget *parent=0,char *name=0,bool modal=false);
00048     ~KandyPrefsDialog();
00049 
00050   protected:
00051     void setupSerialTab();
00052     void setupAddressbookTab();
00053     void setupWindowsTab();
00054  private:
00055     KPrefsWidString *serialDevice;
00056     KPrefsWidString *baudRate;
00057     KPrefsWidString *lockDir;
00058     KPrefsWidBool *openOnStartup;
00059     KPrefsWidBool *autoSetClock;
00060     
00061     KPrefsWidBool *excHome;
00062     KPrefsWidBool *excWork;
00063     KPrefsWidBool *excMsg;
00064     KPrefsWidBool *excFax;
00065     KPrefsWidBool *excCell;
00066     KPrefsWidBool *excVideo;
00067     KPrefsWidBool *excBbs;
00068     KPrefsWidBool *excModem;
00069     KPrefsWidBool *excCar;
00070     KPrefsWidBool *excISDN;
00071     KPrefsWidBool *excPager;
00072     
00073     KPrefsWidBool *useHomeSuff;
00074     KPrefsWidBool *useWorkSuff;
00075     KPrefsWidBool *useMessagingSuff;
00076     KPrefsWidBool *useFaxSuff;
00077     KPrefsWidBool *useCellSuff;
00078     KPrefsWidBool *useVideoSuff;
00079     KPrefsWidBool *useMailboxSuff;
00080     KPrefsWidBool *useModemSuff;
00081     KPrefsWidBool *useCarSuff;
00082     KPrefsWidBool *useISDNSuff;
00083     KPrefsWidBool *usePagerSuff;
00084     
00085     KPrefsWidString *HomeSuff;
00086     KPrefsWidString *WorkSuff;
00087     KPrefsWidString *MessagingSuff;
00088     KPrefsWidString *FaxSuff;
00089     KPrefsWidString *CellSuff;
00090     KPrefsWidString *VideoSuff;
00091     KPrefsWidString *MailboxSuff;
00092     KPrefsWidString *ModemSuff;
00093     KPrefsWidString *CarSuff;
00094     KPrefsWidString *ISDNSuff;
00095     KPrefsWidString *PagerSuff;
00096     
00097     KPrefsWidBool *startupTerminal;
00098     KPrefsWidBool *startupMobile;
00099     KPrefsWidString *DisplayWidth;
00100 };
00101 
00102 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys