summaryrefslogtreecommitdiff
path: root/noncore/settings/backup/backuprestore.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/backup/backuprestore.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/backup/backuprestore.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/noncore/settings/backup/backuprestore.h b/noncore/settings/backup/backuprestore.h
index 8c733e3..4bdc758 100644
--- a/noncore/settings/backup/backuprestore.h
+++ b/noncore/settings/backup/backuprestore.h
@@ -1,32 +1,33 @@
-#ifndef WINDOW_H
+#ifndef WINDOW_H
#define WINDOW_H
#include <qmainwindow.h>
#include "backuprestorebase.h"
#include <qmap.h>
#include <qlist.h>
class QListViewItem;
-class BackupAndRestore : public BackupAndRestoreBase {
+class BackupAndRestore : public BackupAndRestoreBase {
Q_OBJECT
-
+
public:
- BackupAndRestore( QWidget* parent = 0, const char* name = 0);
+ BackupAndRestore( QWidget* parent = 0, const char* name = 0, WFlags fl = 0);
~BackupAndRestore();
-
-
+
+ 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();
private:
void scanForApplicationSettings();
int getBackupFiles(QString &backupFiles, QListViewItem *parent);
QMap<QString, QString> backupLocations;