TDE personal information management applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kandyprefsdialog.h 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. /*
  2. This file is part of Kandy.
  3. Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  15. As a special exception, permission is given to link this program
  16. with any edition of TQt, and distribute the resulting executable,
  17. without including the source code for TQt in the source distribution.
  18. */
  19. #ifndef _KANDYPREFSDIALOG_H
  20. #define _KANDYPREFSDIALOG_H
  21. #include <tqframe.h>
  22. #include <tqlineedit.h>
  23. #include <tqcombobox.h>
  24. #include <tqcheckbox.h>
  25. #include <tqradiobutton.h>
  26. #include <tqpushbutton.h>
  27. #include <kdialogbase.h>
  28. #include <libtdepim/kprefsdialog.h>
  29. /**
  30. Dialog to change the kandy configuration.
  31. */
  32. class KandyPrefsDialog : public KPrefsDialog
  33. {
  34. Q_OBJECT
  35. TQ_OBJECT
  36. public:
  37. /** Initialize dialog and pages */
  38. KandyPrefsDialog(TQWidget *parent=0,char *name=0,bool modal=false);
  39. ~KandyPrefsDialog();
  40. protected:
  41. void setupSerialTab();
  42. void setupAddressbookTab();
  43. void setupWindowsTab();
  44. private:
  45. KPrefsWidString *serialDevice;
  46. KPrefsWidString *baudRate;
  47. KPrefsWidString *lockDir;
  48. KPrefsWidBool *openOnStartup;
  49. KPrefsWidBool *autoSetClock;
  50. KPrefsWidBool *excHome;
  51. KPrefsWidBool *excWork;
  52. KPrefsWidBool *excMsg;
  53. KPrefsWidBool *excFax;
  54. KPrefsWidBool *excCell;
  55. KPrefsWidBool *excVideo;
  56. KPrefsWidBool *excBbs;
  57. KPrefsWidBool *excModem;
  58. KPrefsWidBool *excCar;
  59. KPrefsWidBool *excISDN;
  60. KPrefsWidBool *excPager;
  61. KPrefsWidBool *useHomeSuff;
  62. KPrefsWidBool *useWorkSuff;
  63. KPrefsWidBool *useMessagingSuff;
  64. KPrefsWidBool *useFaxSuff;
  65. KPrefsWidBool *useCellSuff;
  66. KPrefsWidBool *useVideoSuff;
  67. KPrefsWidBool *useMailboxSuff;
  68. KPrefsWidBool *useModemSuff;
  69. KPrefsWidBool *useCarSuff;
  70. KPrefsWidBool *useISDNSuff;
  71. KPrefsWidBool *usePagerSuff;
  72. KPrefsWidString *HomeSuff;
  73. KPrefsWidString *WorkSuff;
  74. KPrefsWidString *MessagingSuff;
  75. KPrefsWidString *FaxSuff;
  76. KPrefsWidString *CellSuff;
  77. KPrefsWidString *VideoSuff;
  78. KPrefsWidString *MailboxSuff;
  79. KPrefsWidString *ModemSuff;
  80. KPrefsWidString *CarSuff;
  81. KPrefsWidString *ISDNSuff;
  82. KPrefsWidString *PagerSuff;
  83. KPrefsWidBool *startupTerminal;
  84. KPrefsWidBool *startupMobile;
  85. KPrefsWidString *DisplayWidth;
  86. };
  87. #endif