Revert "Changed the old code to work as a daemon"
[googlelatitude] / src / settings / settings.h
diff --git a/src/settings/settings.h b/src/settings/settings.h
deleted file mode 100644 (file)
index bd25d29..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#ifndef SETTINGS_H
-#define SETTINGS_H
-
-#include <QWidget>
-#include <QStandardItemModel>
-#include <QSettings>
-#include <QPushButton>
-#include <QCloseEvent>
-#include <QLineEdit>
-#include <QFormLayout>
-#ifdef Q_WS_MAEMO_5
-#include <QMaemo5ValueButton>
-#include <QMaemo5ListPickSelector>
-#include <QStandardItemModel>
-extern "C" {
-#include <location/location-gps-device.h>
-#include <location/location-gpsd-control.h>
-}
-#endif
-namespace Ui {
-    class Settings;
-}
-
-class Settings : public QWidget
-{
-    Q_OBJECT
-
-public:
-    explicit Settings(QWidget *parent = 0);
-    ~Settings();
-
-protected:
-    void changeEvent(QEvent *e);
-    void closeEvent(QCloseEvent *e);
-
-private:
-#ifdef Q_WS_MAEMO_5
-    void updateDaemon();
-#endif
-    void addUIElements();
-    void loadSettings();
-    void storeSettings();
-    void populateListModel(QStandardItemModel *model);
-    enum statuses { STATUS_ON, STATUS_OFF, STATUS_HIDE };
-    Ui::Settings *ui;
-    QStringList intervals;
-    QSettings *settings;
-#ifdef Q_WS_MAEMO_5
-    QMaemo5ValueButton *interval_button;
-    QMaemo5ListPickSelector *interval_selector;
-    QStandardItemModel* interval_model;
-#endif
-};
-
-#endif // SETTINGS_H