summaryrefslogtreecommitdiff
path: root/noncore/settings/backup/backuprestore.h
authorar <ar>2003-12-15 22:21:34 (UTC)
committer ar <ar>2003-12-15 22:21:34 (UTC)
commit32d48372f7b5ec9e4586ea74cc444838b157248e (patch) (side-by-side diff)
treea73c24014ce8a9ef2bbbe30d01a880b8a87ed482 /noncore/settings/backup/backuprestore.h
parent0d9ef683fbd3822723e350b09d4c700316889ba6 (diff)
downloadopie-32d48372f7b5ec9e4586ea74cc444838b157248e.zip
opie-32d48372f7b5ec9e4586ea74cc444838b157248e.tar.gz
opie-32d48372f7b5ec9e4586ea74cc444838b157248e.tar.bz2
- backup and restore relative to users homedir
Diffstat (limited to 'noncore/settings/backup/backuprestore.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/backup/backuprestore.h41
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
@@ -8,38 +8,39 @@
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