From e917f3763a0beb6d540adbfa5f59e478d3baec64 Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 17 Jul 2004 16:46:58 +0000 Subject: Addjust to the namespace changes of OMAF --- (limited to 'noncore/securityplugins/dummy/dummyplugin.cpp') diff --git a/noncore/securityplugins/dummy/dummyplugin.cpp b/noncore/securityplugins/dummy/dummyplugin.cpp index 0d19e43..594825e 100644 --- a/noncore/securityplugins/dummy/dummyplugin.cpp +++ b/noncore/securityplugins/dummy/dummyplugin.cpp @@ -7,6 +7,9 @@ #include #include +using Opie::Security::MultiauthConfigWidget; +using Opie::Security::MultiauthPluginObject; + /// Simply return its name (Dummy plugin) QString DummyPlugin::pluginName() const { return "Dummy plugin"; @@ -54,7 +57,7 @@ int DummyPlugin::authenticate() { QRect desk = oApp->desktop()->geometry(); dummyDialog.setGeometry( 0, 0, desk.width(), desk.height() ); - + /* Creation of the particular widgets of our Dummy user interface * Note: we have to resize the VBox to the QDialog size, since it's not * done automatically. @@ -63,7 +66,7 @@ int DummyPlugin::authenticate() { layout.setSpacing(11); layout.setMargin(11); layout.setAlignment( Qt::AlignTop ); - + QLabel title("

" + tr("\"Dummy\"
demonstration plugin") + "

", &dummyDialog); QLabel subTitle("

" +tr("You can simulate the following outcomes:") + "

", &dummyDialog); layout.addWidget(&title); @@ -76,14 +79,14 @@ int DummyPlugin::authenticate() { hl.addWidget(&pbSuccess, 0, Qt::AlignHCenter); hl.addWidget(&pbSkip, 0, Qt::AlignHCenter); hl.addWidget(&pbFailure, 0, Qt::AlignHCenter); - + /* Linking our pushbuttons to exit functions * (each result button here has a corresponding slot) */ QObject::connect(&pbSuccess, SIGNAL(clicked()), this, SLOT(success())); QObject::connect(&pbFailure, SIGNAL(clicked()), this, SLOT(failure())); QObject::connect(&pbSkip, SIGNAL(clicked()), this, SLOT(skip())); - + /* The value of the signal these three slots will emit corresponds to * the different values we want to return */ -- cgit v0.9.0.2