kitchensync

memberconfig.h

00001 /*
00002     This file is part of KitchenSync.
00003 
00004     Copyright (c) 2005 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 #ifndef MEMBERCONFIG_H
00021 #define MEMBERCONFIG_H
00022 
00023 #include <libqopensync/member.h>
00024 
00025 #include <qwidget.h>
00026 
00027 class QTextEdit;
00028 class ConfigGui;
00029 
00030 class MemberConfig : public QWidget
00031 {
00032   Q_OBJECT
00033 
00034   public:
00035     MemberConfig( QWidget *parent, const QSync::Member & );
00036     ~MemberConfig();
00037 
00038     void loadData();
00039     void saveData();
00040 
00041   private:
00042     QSync::Member mMember;
00043 
00044     ConfigGui *mGui;
00045 };
00046 
00047 #endif