diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-16 01:11:33 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-16 01:11:33 +0000 |
commit | 037217ba8b879294a199df3846e47c52746d23cc (patch) | |
tree | 53585121053a0a9b746ee8b23316be34fd0c0392 /kdm/kfrontend/kfdialog.cpp | |
parent | c1d059ab57cfcc43d0c6052fdb5e6782ce23dac5 (diff) | |
download | tdebase-037217ba8b879294a199df3846e47c52746d23cc.tar.gz tdebase-037217ba8b879294a199df3846e47c52746d23cc.zip |
Add preliminary SAK support to KDM
Unify the various system modal dialogs a bit
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253872 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/kfrontend/kfdialog.cpp')
-rw-r--r-- | kdm/kfrontend/kfdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdm/kfrontend/kfdialog.cpp b/kdm/kfrontend/kfdialog.cpp index 3d790f9f2..b834ca450 100644 --- a/kdm/kfrontend/kfdialog.cpp +++ b/kdm/kfrontend/kfdialog.cpp @@ -61,7 +61,7 @@ FDialog::FDialog( TQWidget *parent, bool framed ) } else winFrame = 0; - setCaption(i18n("Trinity Desktop Environment")); + setCaption(KDM_LOGIN_SCREEN_BASE_TITLE); if (framed) { if (m_wmTitle) setFixedSize(sizeHint()); @@ -158,11 +158,11 @@ FDialog::box( TQWidget *parent, TQMessageBox::Icon type, const TQString &text ) KFMsgBox::KFMsgBox( TQWidget *parent, TQMessageBox::Icon type, const TQString &text ) : inherited( parent, !is_themed ) { - if (type == TQMessageBox::NoIcon) setCaption(i18n("TDE")); - if (type == TQMessageBox::Question) setCaption(i18n("TDE") + " - " + i18n("Question")); - if (type == TQMessageBox::Information) setCaption(i18n("TDE") + " - " + i18n("Information")); - if (type == TQMessageBox::Warning) setCaption(i18n("TDE") + " - " + i18n("Warning")); - if (type == TQMessageBox::Critical) setCaption(i18n("TDE") + " - " + i18n("Error")); + if (type == TQMessageBox::NoIcon) setCaption(KDM_LOGIN_SCREEN_BASE_TITLE); + if (type == TQMessageBox::Question) setCaption(KDM_LOGIN_SCREEN_BASE_TITLE + " - " + i18n("Question")); + if (type == TQMessageBox::Information) setCaption(KDM_LOGIN_SCREEN_BASE_TITLE + " - " + i18n("Information")); + if (type == TQMessageBox::Warning) setCaption(KDM_LOGIN_SCREEN_BASE_TITLE + " - " + i18n("Warning")); + if (type == TQMessageBox::Critical) setCaption(KDM_LOGIN_SCREEN_BASE_TITLE + " - " + i18n("Error")); TQLabel *label1 = new TQLabel( this ); label1->setPixmap( TQMessageBox::standardIcon( type ) ); |