kitchensync

groupview.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 GROUPVIEW_H
00021 #define GROUPVIEW_H
00022 
00023 #include <kwidgetlist.h>
00024 
00025 class AboutPage;
00026 class SyncProcess;
00027 class QVBoxLayout;
00028 
00029 class GroupView : public QWidget
00030 {
00031   Q_OBJECT
00032 
00033   public:
00034     GroupView( QWidget *parent );
00035 
00036     SyncProcess* selectedSyncProcess() const;
00037 
00038     void clear();
00039 
00040   public slots:
00041     void updateView();
00042     void updateSyncProcess( SyncProcess *process );
00043 
00044   signals:
00045     void addGroup();
00046     void synchronizeGroup( SyncProcess *syncProcess );
00047     void abortSynchronizeGroup( SyncProcess *syncProcess );
00048     void configureGroup( SyncProcess *syncProcess );
00049 
00050   private:
00051     AboutPage *mAboutPage;
00052     KWidgetList *mWidgetList;
00053 
00054     QVBoxLayout *mLayout;
00055 };
00056 
00057 #endif
KDE Home | KDE Accessibility Home | Description of Access Keys