diff options
Diffstat (limited to 'tderesources/slox/tdeabcresourcesloxconfig.h')
-rw-r--r-- | tderesources/slox/tdeabcresourcesloxconfig.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/tderesources/slox/tdeabcresourcesloxconfig.h b/tderesources/slox/tdeabcresourcesloxconfig.h new file mode 100644 index 000000000..9cd54d831 --- /dev/null +++ b/tderesources/slox/tdeabcresourcesloxconfig.h @@ -0,0 +1,62 @@ +/* + This file is part of tdepim. + + Copyright (c) 2004 Cornelius Schumacher <schumacher@kde.org> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. +*/ +#ifndef RESOURCESLOXCONFIG_H +#define RESOURCESLOXCONFIG_H + +#include <tderesources/configwidget.h> +#include <tdepimmacros.h> + +class TQCheckBox; +class KLineEdit; +class KURLRequester; +class KPushButton; + +class SloxBase; + +namespace KABC { + +class KDE_EXPORT ResourceSloxConfig : public KRES::ConfigWidget +{ + Q_OBJECT + + + public: + ResourceSloxConfig( TQWidget* parent = 0, const char* name = 0 ); + + public slots: + void loadSettings( KRES::Resource* ); + void saveSettings( KRES::Resource* ); + + private slots: + void selectAddressFolder(); + + private: + KURLRequester *mURL; + KLineEdit *mUser; + KLineEdit *mPassword; + TQCheckBox *mLastSyncCheck; + KPushButton *mFolderButton; + TQString mFolderId; + SloxBase *mRes; +}; + +} + +#endif |