kpilot
FileInstallWidget Class Reference
#include <fileInstallWidget.h>
Public Slots | |
void | refreshFileInstallList () |
Signals | |
void | fileInstallWidgetDone () |
Public Member Functions | |
FileInstallWidget (QWidget *parent, const QString &dbPath) | |
void | postHotSync () |
bool | preHotSync (QString &) |
void | showComponent () |
virtual | ~FileInstallWidget () |
Protected Slots | |
void | slotAddFile () |
void | slotClearButton () |
void | slotDropEvent (QDropEvent *drop, const QValueList< QIconDragItem > &lst) |
Protected Member Functions | |
void | contextMenu (QMouseEvent *event) |
void | dragEnterEvent (QDragEnterEvent *event) |
void | dropEvent (QDropEvent *drop) |
bool | eventFilter (QObject *watched, QEvent *event) |
KPilotInstaller * | getPilotInstallerApp () |
bool | getSaveFileList () |
void | setSaveFileList (bool saveIt) |
Detailed Description
Definition at line 45 of file fileInstallWidget.h.
Constructor & Destructor Documentation
Definition at line 61 of file fileInstallWidget.cc.
FileInstallWidget::~FileInstallWidget | ( | ) | [virtual] |
Definition at line 112 of file fileInstallWidget.cc.
Member Function Documentation
void FileInstallWidget::contextMenu | ( | QMouseEvent * | event | ) | [protected] |
Definition at line 271 of file fileInstallWidget.cc.
void FileInstallWidget::dragEnterEvent | ( | QDragEnterEvent * | event | ) | [protected] |
void FileInstallWidget::dropEvent | ( | QDropEvent * | drop | ) | [protected] |
Definition at line 144 of file fileInstallWidget.cc.
void FileInstallWidget::fileInstallWidgetDone | ( | ) | [signal] |
KPilotInstaller* FileInstallWidget::getPilotInstallerApp | ( | ) | [inline, protected] |
Definition at line 72 of file fileInstallWidget.h.
bool FileInstallWidget::getSaveFileList | ( | ) | [inline, protected] |
Definition at line 64 of file fileInstallWidget.h.
void FileInstallWidget::postHotSync | ( | ) | [virtual] |
Reload data (possibly changed by the hotsync) etc.
etc.
Reimplemented from PilotComponent.
Definition at line 237 of file fileInstallWidget.cc.
bool FileInstallWidget::preHotSync | ( | QString & | s | ) | [virtual] |
Get ready for a hotsync -- write any unflushed records to disk, close windows, whatever.
Returns false if it is impossible to go into a sync now (due to open windows or strange state.).
The default implementation returns true.
If the function returns false, it can also put a string stating the reason why into s
. This string will be displayed to the user: "Can't start HotSync. %1" where 1 is replaced by s.
Reimplemented from PilotComponent.
Definition at line 225 of file fileInstallWidget.cc.
void FileInstallWidget::refreshFileInstallList | ( | ) | [slot] |
Definition at line 249 of file fileInstallWidget.cc.
void FileInstallWidget::setSaveFileList | ( | bool | saveIt | ) | [inline, protected] |
Definition at line 63 of file fileInstallWidget.h.
void FileInstallWidget::showComponent | ( | ) | [virtual] |
Called when the component is shown in kpilot.
It should load the database and populate the widgets.
Reimplemented from PilotComponent.
Definition at line 205 of file fileInstallWidget.cc.
void FileInstallWidget::slotAddFile | ( | ) | [protected, slot] |
Definition at line 211 of file fileInstallWidget.cc.
void FileInstallWidget::slotClearButton | ( | ) | [protected, slot] |
Definition at line 199 of file fileInstallWidget.cc.
void FileInstallWidget::slotDropEvent | ( | QDropEvent * | drop, | |
const QValueList< QIconDragItem > & | lst | |||
) | [protected, slot] |
Definition at line 193 of file fileInstallWidget.cc.
The documentation for this class was generated from the following files: