summaryrefslogtreecommitdiff
path: root/noncore/securityplugins/notice/noticeplugin.cpp
Side-by-side diff
Diffstat (limited to 'noncore/securityplugins/notice/noticeplugin.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/securityplugins/notice/noticeplugin.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noncore/securityplugins/notice/noticeplugin.cpp b/noncore/securityplugins/notice/noticeplugin.cpp
index 1da260a..5617855 100644
--- a/noncore/securityplugins/notice/noticeplugin.cpp
+++ b/noncore/securityplugins/notice/noticeplugin.cpp
@@ -6,37 +6,37 @@
#include <qregexp.h>
using Opie::Security::MultiauthPluginObject;
using Opie::Security::MultiauthConfigWidget;
/// creates and initializes the m_config Config object
-NoticePlugin::NoticePlugin() : MultiauthPluginObject(), noticeW(0) {
+NoticePlugin::NoticePlugin() : MultiauthPluginObject(), m_noticeW(0) {
m_config = new Config("Security");
m_config->setGroup("NoticePlugin");
}
/// deletes the m_config Config object and noticeW if necessary
NoticePlugin::~NoticePlugin() {
delete m_config;
- if (noticeW != 0)
- delete noticeW;
+ if (m_noticeW != 0)
+ delete m_noticeW;
}
/// Simply return its name (Notice plugin)
QString NoticePlugin::pluginName() const {
return "Notice plugin";
}
/// return the Notice widget configuration widget
/**
* \return noticeW, the NoticeConfigWidget
*/
MultiauthConfigWidget * NoticePlugin::configWidget(QWidget * parent) {
- if (noticeW == 0)
- noticeW = new NoticeConfigWidget(parent, "Notice configuration widget");
- return noticeW;
+ if (m_noticeW == 0)
+ m_noticeW = new NoticeConfigWidget(parent, "Notice configuration widget");
+ return m_noticeW;
}
/// return the path of the small tab icon
QString NoticePlugin::pixmapNameConfig() const {
return "security/noticeplugin_small";
}