kitchensync
mainwindow.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef KSYNC_MAINWINDOW_H
00023 #define KSYNC_MAINWINDOW_H
00024
00025 #include "profilemanager.h"
00026 #include "kitchensync.h"
00027 #include "systemtray.h"
00028
00029 #include <kdebug.h>
00030 #include <kparts/mainwindow.h>
00031
00032 #include <qptrlist.h>
00033 #include <qmap.h>
00034
00035 class PartBar;
00036 class QHBox;
00037 class QWidgetStack;
00038 class KSelectAction;
00039
00040 namespace KSync {
00041
00042 class KonnectorBar;
00043 class KitchenSync;
00044 class ActionManager;
00045
00046 class KDE_EXPORT MainWindow : public KParts::MainWindow
00047 {
00048 Q_OBJECT
00049 public:
00050 MainWindow( QWidget *widget = 0, const char *name = 0 );
00051 ~MainWindow();
00052
00053 int currentProfile();
00054 void setProfiles( const QStringList &profiles );
00055
00056 private:
00057 ActionManager *mActionManager;
00058
00059 KitchenSync *mView;
00060
00061 KSelectAction *m_profAct;
00062
00063 KonnectorBar *m_konBar;
00064 };
00065
00066 }
00067
00068 #endif
|