#include </home/clem/local/src/opie/noncore/securityplugins/notice/noticeplugin.h>
Inheritance diagram for NoticePlugin:


Public Member Functions | |
| NoticePlugin () | |
| creates and initializes the m_config Config object | |
| virtual | ~NoticePlugin () |
| deletes the m_config Config object and noticeW if necessary | |
| int | authenticate () |
| Displays the configured message and an 'Accept' button. | |
| Opie::Security::MultiauthConfigWidget * | configWidget (QWidget *parent) |
| return the Notice widget configuration widget | |
| QString | pixmapNameConfig () const |
| return the path of the small tab icon | |
| QString | pixmapNameWidget () const |
| return the path of the big icon for the active/order checklist | |
| QString | pluginName () const |
| Simply return its name (Notice plugin). | |
Private Member Functions | |
| QString | getNoticeText () |
| get the notice text from our m_config config file (with true new lines) | |
Private Attributes | |
| NoticeConfigWidget * | m_noticeW |
The plugin itself, implementing the main authenticate() function.
Definition at line 46 of file noticeplugin.h.
|
|
creates and initializes the m_config Config object
Definition at line 12 of file noticeplugin.cpp. |
|
|
deletes the m_config Config object and noticeW if necessary
Definition at line 16 of file noticeplugin.cpp. References m_noticeW. |
|
|
Displays the configured message and an 'Accept' button.
Implements Opie::Security::MultiauthPluginObject. Definition at line 49 of file noticeplugin.cpp. References getNoticeText(), oApp, tr, Qt::WStyle_Customize, Qt::WStyle_NoBorder, and Qt::WStyle_StaysOnTop. |
|
|
return the Notice widget configuration widget
Implements Opie::Security::MultiauthPluginObject. Definition at line 29 of file noticeplugin.cpp. References m_noticeW. |
|
|
get the notice text from our m_config config file (with true new lines) if no text has been defined yet returns defaultNoticeText Definition at line 78 of file noticeplugin.cpp. References defaultNoticeText, Config::readEntry(), Config::setGroup(), and tr. Referenced by authenticate(). |
|
|
return the path of the small tab icon
Implements Opie::Security::MultiauthPluginObject. Definition at line 36 of file noticeplugin.cpp. |
|
|
return the path of the big icon for the active/order checklist
Implements Opie::Security::MultiauthPluginObject. Definition at line 41 of file noticeplugin.cpp. |
|
|
Simply return its name (Notice plugin).
Implements Opie::Security::MultiauthPluginObject. Definition at line 21 of file noticeplugin.cpp. |
|
|
Definition at line 59 of file noticeplugin.h. Referenced by configWidget(), and ~NoticePlugin(). |
1.4.2