From 02434fe2d87d1c69c60693d9537b419d9dfd44e7 Mon Sep 17 00:00:00 2001 From: clem Date: Tue, 03 Aug 2004 22:58:18 +0000 Subject: renamed noticeW pointer to m_noticeW, to be coherent with m_config style --- (limited to 'noncore/securityplugins') 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 @@ -9,7 +9,7 @@ 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"); } @@ -17,8 +17,8 @@ NoticePlugin::NoticePlugin() : MultiauthPluginObject(), noticeW(0) { /// 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) @@ -31,9 +31,9 @@ QString NoticePlugin::pluginName() const { * \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 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 @@ -56,7 +56,7 @@ public: QString pixmapNameWidget() const; QString pluginName() const; private: - NoticeConfigWidget * noticeW; + NoticeConfigWidget * m_noticeW; Config * m_config; QString getNoticeText(); }; -- cgit v0.9.0.2