author | clem <clem> | 2004-08-03 22:58:18 (UTC) |
---|---|---|
committer | clem <clem> | 2004-08-03 22:58:18 (UTC) |
commit | 02434fe2d87d1c69c60693d9537b419d9dfd44e7 (patch) (unidiff) | |
tree | 21f980e0af9ddd57758245d1f27515e052d7921f | |
parent | 633a00b5bff9e5e9141758c61d61a40410a165cb (diff) | |
download | opie-02434fe2d87d1c69c60693d9537b419d9dfd44e7.zip opie-02434fe2d87d1c69c60693d9537b419d9dfd44e7.tar.gz opie-02434fe2d87d1c69c60693d9537b419d9dfd44e7.tar.bz2 |
renamed noticeW pointer to m_noticeW, to be coherent with m_config style
-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 | |||
@@ -6,37 +6,37 @@ | |||
6 | #include <qregexp.h> | 6 | #include <qregexp.h> |
7 | 7 | ||
8 | using Opie::Security::MultiauthPluginObject; | 8 | using Opie::Security::MultiauthPluginObject; |
9 | using Opie::Security::MultiauthConfigWidget; | 9 | 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"); |
15 | } | 15 | } |
16 | 16 | ||
17 | /// deletes the m_config Config object and noticeW if necessary | 17 | /// deletes the m_config Config object and noticeW if necessary |
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 | ||
24 | /// Simply return its name (Notice plugin) | 24 | /// Simply return its name (Notice plugin) |
25 | QString NoticePlugin::pluginName() const { | 25 | QString NoticePlugin::pluginName() const { |
26 | return "Notice plugin"; | 26 | return "Notice plugin"; |
27 | } | 27 | } |
28 | 28 | ||
29 | /// return the Notice widget configuration widget | 29 | /// return the Notice widget configuration widget |
30 | /** | 30 | /** |
31 | * \return noticeW, the NoticeConfigWidget | 31 | * \return noticeW, the NoticeConfigWidget |
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 | ||
39 | /// return the path of the small tab icon | 39 | /// return the path of the small tab icon |
40 | QString NoticePlugin::pixmapNameConfig() const { | 40 | QString NoticePlugin::pixmapNameConfig() const { |
41 | return "security/noticeplugin_small"; | 41 | return "security/noticeplugin_small"; |
42 | } | 42 | } |
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 | |||
@@ -53,12 +53,12 @@ public: | |||
53 | int authenticate(); | 53 | int authenticate(); |
54 | Opie::Security::MultiauthConfigWidget * configWidget(QWidget * parent); | 54 | Opie::Security::MultiauthConfigWidget * configWidget(QWidget * parent); |
55 | QString pixmapNameConfig() const; | 55 | QString pixmapNameConfig() const; |
56 | QString pixmapNameWidget() const; | 56 | QString pixmapNameWidget() const; |
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(); |
62 | }; | 62 | }; |
63 | 63 | ||
64 | #endif | 64 | #endif |