Diffstat (limited to 'noncore/settings/backup/backuprestore.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/backup/backuprestore.h | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/noncore/settings/backup/backuprestore.h b/noncore/settings/backup/backuprestore.h index 4bdc758..fdc2bf2 100644 --- a/noncore/settings/backup/backuprestore.h +++ b/noncore/settings/backup/backuprestore.h @@ -5,41 +5,42 @@ #include "backuprestorebase.h" #include <qmap.h> #include <qlist.h> class QListViewItem; -class BackupAndRestore : public BackupAndRestoreBase { +class BackupAndRestore : public BackupAndRestoreBase +{ -Q_OBJECT + Q_OBJECT public: - BackupAndRestore( QWidget* parent = 0, const char* name = 0, WFlags fl = 0); - ~BackupAndRestore(); + BackupAndRestore( QWidget* parent = 0, const char* name = 0, WFlags fl = 0); + ~BackupAndRestore(); - static QString appName() { return QString::fromLatin1("backup"); } + static QString appName() { return QString::fromLatin1("backup"); } private slots: - void backupPressed(); - void restore(); - void selectItem(QListViewItem *currentItem); - void sourceDirChanged(int); - void rescanFolder(QString directory); - void fileListUpdate(); + void backup(); + void restore(); + void selectItem(QListViewItem *currentItem); + void sourceDirChanged(int); + void rescanFolder(QString directory); + void fileListUpdate(); private: - void scanForApplicationSettings(); - int getBackupFiles(QString &backupFiles, QListViewItem *parent); - QMap<QString, QString> backupLocations; - QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); - - QListViewItem *systemSettings; - QListViewItem *applicationSettings; - QListViewItem *documents; + void scanForApplicationSettings(); + int getBackupFiles(QString &backupFiles, QListViewItem *parent); + QMap<QString, QString> backupLocations; + QList<QListViewItem> getAllItems(QListViewItem *item, QList<QListViewItem> &list); + + QListViewItem *systemSettings; + QListViewItem *applicationSettings; + QListViewItem *documents; }; #endif -// backuprestore.h +// backuprestore.h |