summaryrefslogtreecommitdiff
authorclem <clem>2004-08-03 22:58:18 (UTC)
committer clem <clem>2004-08-03 22:58:18 (UTC)
commit02434fe2d87d1c69c60693d9537b419d9dfd44e7 (patch) (side-by-side diff)
tree21f980e0af9ddd57758245d1f27515e052d7921f
parent633a00b5bff9e5e9141758c61d61a40410a165cb (diff)
downloadopie-02434fe2d87d1c69c60693d9537b419d9dfd44e7.zip
opie-02434fe2d87d1c69c60693d9537b419d9dfd44e7.tar.gz
opie-02434fe2d87d1c69c60693d9537b419d9dfd44e7.tar.bz2
renamed noticeW pointer to m_noticeW, to be coherent with m_config style
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/securityplugins/notice/noticeplugin.cpp12
-rw-r--r--noncore/securityplugins/notice/noticeplugin.h2
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;
/// 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");
@@ -18,6 +18,6 @@ NoticePlugin::NoticePlugin() : MultiauthPluginObject(), noticeW(0) {
NoticePlugin::~NoticePlugin() {
delete m_config;
- if (noticeW != 0)
- delete noticeW;
+ if (m_noticeW != 0)
+ delete m_noticeW;
}
@@ -32,7 +32,7 @@ QString NoticePlugin::pluginName() const {
*/
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;
}
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:
QString pluginName() const;
private:
- NoticeConfigWidget * noticeW;
+ NoticeConfigWidget * m_noticeW;
Config * m_config;
QString getNoticeText();