Diffstat (limited to 'noncore/settings/networksettings/ppp/pppconfig.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/networksettings/ppp/pppconfig.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/settings/networksettings/ppp/pppconfig.cpp b/noncore/settings/networksettings/ppp/pppconfig.cpp index 7b2b21b..c0f1fef 100644 --- a/noncore/settings/networksettings/ppp/pppconfig.cpp +++ b/noncore/settings/networksettings/ppp/pppconfig.cpp | |||
@@ -29,34 +29,34 @@ PPPConfigWidget::PPPConfigWidget( QWidget *parent, const char *name, | |||
29 | layout->setSpacing( 0 ); | 29 | layout->setSpacing( 0 ); |
30 | layout->setMargin( 1 ); | 30 | layout->setMargin( 1 ); |
31 | tabWindow = new QTabWidget( this, "tabWidget" ); | 31 | tabWindow = new QTabWidget( this, "tabWidget" ); |
32 | layout->addWidget( tabWindow ); | 32 | layout->addWidget( tabWindow ); |
33 | 33 | ||
34 | accounts = new AccountWidget( tabWindow, "accounts" ); | 34 | accounts = new AccountWidget( tabWindow, "accounts" ); |
35 | tabWindow->addTab( accounts, tr("&Accounts") ); | 35 | tabWindow->addTab( accounts, tr("&Accounts") ); |
36 | modem1 = new ModemWidget( tabWindow, "modem1" ); | 36 | modem1 = new ModemWidget( tabWindow, "modem1" ); |
37 | tabWindow->addTab( modem1, tr("&Device") ); | 37 | tabWindow->addTab( modem1, tr("&Device") ); |
38 | modem2 = new ModemWidget2( tabWindow, "modem2" ); | 38 | modem2 = new ModemWidget2( tabWindow, "modem2" ); |
39 | tabWindow->addTab( modem2, tr("&Modem") ); | 39 | tabWindow->addTab( modem2, tr("&Modem") ); |
40 | // graph = new GraphSetup( tabWindow->addPage( tr("&Graph"), tr("Throughput Graph" ) ) ); | 40 | // graph = new GraphSetup( tabWindow->addPage( tr("&Graph"), tr("Throughput Graph" ) ) ); |
41 | // general = new GeneralWidget( tabWindow->addPage( tr("M&isc"), tr("Miscellaneous Settings") ) ); | 41 | // general = new GeneralWidget( tabWindow->addPage( tr("M&isc"), tr("Miscellaneous Settings") ) ); |
42 | 42 | ||
43 | } | 43 | } |
44 | 44 | ||
45 | 45 | ||
46 | PPPConfigWidget::~PPPConfigWidget() | 46 | PPPConfigWidget::~PPPConfigWidget() |
47 | { | 47 | { |
48 | 48 | ||
49 | } | 49 | } |
50 | 50 | ||
51 | void PPPConfigWidget::accept() | 51 | void PPPConfigWidget::accept() |
52 | { | 52 | { |
53 | gpppdata.save(); | 53 | PPPData::data()->save(); |
54 | QDialog::accept(); | 54 | QDialog::accept(); |
55 | } | 55 | } |
56 | 56 | ||
57 | 57 | ||
58 | void PPPConfigWidget::reject() | 58 | void PPPConfigWidget::reject() |
59 | { | 59 | { |
60 | gpppdata.cancel(); | 60 | PPPData::data()->cancel(); |
61 | QDialog::reject(); | 61 | QDialog::reject(); |
62 | } | 62 | } |