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.

kornaccountcfgimpl.h 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * Copyright (C) 2004, Mart Kelder (mart.kde@hccnet.nl)
  3. *
  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. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef MK_KORNACCOUNTCFGIMPL_H
  19. #define MK_KORNACCOUNTCFGIMPL_H
  20. #include "kornaccountcfg.h"
  21. class TDEConfigGroup;
  22. class KURLRequester;
  23. class TQVBoxLayout;
  24. class TQHBoxLayout;
  25. class TQLabel;
  26. class TQString;
  27. class TQWidget;
  28. class AccountInput;
  29. template< class T > class TQPtrList;
  30. template< class T > class TQPtrVector;
  31. class KornAccountCfgImpl : public KornAccountCfg
  32. { Q_OBJECT
  33. public:
  34. KornAccountCfgImpl( TQWidget * parent = 0, const char * name = 0 );
  35. ~KornAccountCfgImpl();
  36. void readConfig( TDEConfigGroup *config, TQMap< TQString, TQString > *entries, int boxnr, int accountnr );
  37. void writeConfig();
  38. public slots:
  39. void slotSSLChanged();
  40. protected slots:
  41. virtual void slotProtocolChanged( const TQString& );
  42. private slots:
  43. void slotOK();
  44. void slotCancel();
  45. private:
  46. TDEConfigGroup *_config;
  47. int _fields;
  48. int _urlfields;
  49. int _boxnr, _accountnr;
  50. TQVBoxLayout *_vlayout;
  51. TQHBoxLayout *_protocolLayout;
  52. TQPtrVector< TQWidget > *_groupBoxes;
  53. TQPtrList< AccountInput > *_accountinput;
  54. };
  55. #endif //MK_KORNACCOUNTCFGIMPL_H