summaryrefslogtreecommitdiff
path: root/noncore/settings/networksettings/ppp/pppdata.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/networksettings/ppp/pppdata.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/settings/networksettings/ppp/pppdata.h56
1 files changed, 29 insertions, 27 deletions
diff --git a/noncore/settings/networksettings/ppp/pppdata.h b/noncore/settings/networksettings/ppp/pppdata.h
index e286b70..57ce2fd 100644
--- a/noncore/settings/networksettings/ppp/pppdata.h
+++ b/noncore/settings/networksettings/ppp/pppdata.h
@@ -57,7 +57,7 @@ class Config;
// groups
-#define GENERAL_GRP "General"
-#define MODEM_GRP "Modem"
-#define ACCOUNT_GRP "Account"
-#define GRAPH_GRP "Graph"
-#define WINPOS_GRP "WindowPosition"
+#define GENERAL_GRP "PPP_General"
+#define MODEM_GRP "PPP_Modem"
+#define ACCOUNT_GRP "PPP_Account"
+//#define GRAPH_GRP "Graph"
+//#define WINPOS_GRP "WindowPosition"
@@ -163,2 +163,3 @@ public:
~PPPData() {};
+ static PPPData* data();
@@ -170,3 +171,3 @@ public:
void cancel();
- int access() const; // read/write access
+// int access() const; // read/write access
@@ -428,24 +429,27 @@ public:
- // graphing widget
- void setGraphingOptions(bool enabled,
- QColor bg,
- QColor text,
- QColor in,
- QColor out);
- void graphingOptions(bool &enabled,
- QColor &bg,
- QColor &text,
- QColor &in,
- QColor &out);
- bool graphingEnabled();
-
- // window positions
- void winPosConWin(int &, int &);
- void setWinPosConWin(int, int);
- void winPosStatWin(int &, int &);
- void setWinPosStatWin(int, int);
+// // graphing widget
+// void setGraphingOptions(bool enabled,
+// QColor bg,
+// QColor text,
+// QColor in,
+// QColor out);
+// void graphingOptions(bool &enabled,
+// QColor &bg,
+// QColor &text,
+// QColor &in,
+// QColor &out);
+// bool graphingEnabled();
+
+// // window positions
+// void winPosConWin(int &, int &);
+// void setWinPosConWin(int, int);
+// void winPosStatWin(int &, int &);
+// void setWinPosStatWin(int, int);
private:
+
+ static PPPData *_data;
+
QString passwd;
- Config* config; // configuration object
+ static Config* config; // configuration object
int highcount; // index of highest account
@@ -462,4 +466,2 @@ private:
-extern PPPData gpppdata;
-
#endif