fileInstallWidget.h
00001 #ifndef _KPILOT_FILEINSTALLWIDGET_H
00002 #define _KPILOT_FILEINSTALLWIDGET_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifndef _KPILOT_PILOTCOMPONENT_H
00036 #include "pilotComponent.h"
00037 #endif
00038
00039 class QMultiLineEdit;
00040 class QPushButton;
00041
00042 class KPilotInstaller;
00043 class FileInstaller;
00044
00045 class FileInstallWidget : public PilotComponent
00046 {
00047 Q_OBJECT
00048
00049 public:
00050 FileInstallWidget(QWidget* parent, const QString& dbPath);
00051 virtual ~FileInstallWidget();
00052
00053
00054 void showComponent();
00055 bool preHotSync(QString &);
00056 void postHotSync();
00057
00058
00059 signals:
00060 void fileInstallWidgetDone();
00061
00062 protected:
00063 void setSaveFileList(bool saveIt) { fSaveFileList = saveIt; }
00064 bool getSaveFileList() { return fSaveFileList; }
00065
00066 void dragEnterEvent(QDragEnterEvent* event);
00067 void dropEvent(QDropEvent* drop);
00068
00069 KPilotInstaller* getPilotInstallerApp() { return fKPilotInstaller; }
00070
00071 private:
00072 QListBox* fListBox;
00073 bool fSaveFileList;
00074
00075 KPilotInstaller* fKPilotInstaller;
00076 FileInstaller *fInstaller;
00077 QPushButton *clearButton,*addButton;
00078
00079 protected slots:
00080 void slotClearButton();
00081 void slotAddFile();
00082
00083 public slots:
00084 void refreshFileInstallList();
00085 };
00086
00087
00088
00089 #endif
This file is part of the documentation for kpilot Library Version 3.2.2.