-rw-r--r-- | noncore/securityplugins/notice/noticeplugin.cpp | 12 | ||||
-rw-r--r-- | noncore/securityplugins/notice/noticeplugin.h | 2 |
2 files changed, 7 insertions, 7 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 | |||
@@ -10,5 +10,5 @@ using Opie::Security::MultiauthConfigWidget; | |||
10 | 10 | ||
11 | /// creates and initializes the m_config Config object | 11 | /// creates and initializes the m_config Config object |
12 | NoticePlugin::NoticePlugin() : MultiauthPluginObject(), noticeW(0) { | 12 | NoticePlugin::NoticePlugin() : MultiauthPluginObject(), m_noticeW(0) { |
13 | m_config = new Config("Security"); | 13 | m_config = new Config("Security"); |
14 | m_config->setGroup("NoticePlugin"); | 14 | m_config->setGroup("NoticePlugin"); |
@@ -18,6 +18,6 @@ NoticePlugin::NoticePlugin() : MultiauthPluginObject(), noticeW(0) { | |||
18 | NoticePlugin::~NoticePlugin() { | 18 | NoticePlugin::~NoticePlugin() { |
19 | delete m_config; | 19 | delete m_config; |
20 | if (noticeW != 0) | 20 | if (m_noticeW != 0) |
21 | delete noticeW; | 21 | delete m_noticeW; |
22 | } | 22 | } |
23 | 23 | ||
@@ -32,7 +32,7 @@ QString NoticePlugin::pluginName() const { | |||
32 | */ | 32 | */ |
33 | MultiauthConfigWidget * NoticePlugin::configWidget(QWidget * parent) { | 33 | MultiauthConfigWidget * NoticePlugin::configWidget(QWidget * parent) { |
34 | if (noticeW == 0) | 34 | if (m_noticeW == 0) |
35 | noticeW = new NoticeConfigWidget(parent, "Notice configuration widget"); | 35 | m_noticeW = new NoticeConfigWidget(parent, "Notice configuration widget"); |
36 | return noticeW; | 36 | return m_noticeW; |
37 | } | 37 | } |
38 | 38 | ||
diff --git a/noncore/securityplugins/notice/noticeplugin.h b/noncore/securityplugins/notice/noticeplugin.h index 4aa6f02..2828f58 100644 --- a/noncore/securityplugins/notice/noticeplugin.h +++ b/noncore/securityplugins/notice/noticeplugin.h | |||
@@ -57,5 +57,5 @@ public: | |||
57 | QString pluginName() const; | 57 | QString pluginName() const; |
58 | private: | 58 | private: |
59 | NoticeConfigWidget * noticeW; | 59 | NoticeConfigWidget * m_noticeW; |
60 | Config * m_config; | 60 | Config * m_config; |
61 | QString getNoticeText(); | 61 | QString getNoticeText(); |