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


Public Member Functions | |
| NoticeConfigWidget (QWidget *parent, const char *name) | |
| constructs the widget, filling the noticeMLE QMultiLineEdit with the "noticeText" entry | |
| virtual | ~NoticeConfigWidget () |
| nothing to do | |
| virtual void | writeConfig () |
| write the notice text in the multiauth.conf Config file | |
Private Slots | |
| void | resetNotice () |
| reset the notice text to the hard-coded example defaultNoticeText | |
Private Member Functions | |
| QString | getNoticeText () |
| get the notice text from the config file (with true new lines) | |
| void | setNoticeText (QString noticeText) |
| set the notice text in our m_config config file (escaping new lines) | |
Private Attributes | |
| QMultiLineEdit * | noticeMLE |
| QPushButton * | resetNoticeButton |
| Config * | m_config |
|
||||||||||||
|
constructs the widget, filling the noticeMLE QMultiLineEdit with the "noticeText" entry
Definition at line 14 of file noticeConfigWidget.cpp. References Qt::AlignHCenter, Qt::AlignTop, getNoticeText(), noticeMLE, resetNotice(), resetNoticeButton, tr, and Qt::Vertical. |
|
|
nothing to do
Definition at line 45 of file noticeConfigWidget.cpp. |
|
|
get the notice text from the config file (with true new lines) if no text has been defined yet returns defaultNoticeText Definition at line 67 of file noticeConfigWidget.cpp. References Config::readEntry(), Config::setGroup(), and tr. Referenced by NoticeConfigWidget(). |
|
|
reset the notice text to the hard-coded example defaultNoticeText
Definition at line 58 of file noticeConfigWidget.cpp. References defaultNoticeText, noticeMLE, and tr. Referenced by NoticeConfigWidget(). |
|
|
set the notice text in our m_config config file (escaping new lines)
Definition at line 76 of file noticeConfigWidget.cpp. References QString::replace(), Config::setGroup(), and Config::writeEntry(). Referenced by writeConfig(). |
|
|
write the notice text in the multiauth.conf Config file
Implements Opie::Security::MultiauthConfigWidget. Definition at line 49 of file noticeConfigWidget.cpp. References noticeMLE, odebug, oendl, and setNoticeText(). |
|
|
Definition at line 66 of file noticeConfigWidget.h. |
|
|
Definition at line 61 of file noticeConfigWidget.h. Referenced by NoticeConfigWidget(), resetNotice(), and writeConfig(). |
|
|
Definition at line 62 of file noticeConfigWidget.h. Referenced by NoticeConfigWidget(). |
1.4.2