From 037217ba8b879294a199df3846e47c52746d23cc Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 16 Sep 2011 01:11:33 +0000 Subject: 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 --- kdm/kfrontend/kfdialog.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdm/kfrontend/kfdialog.cpp') 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 ) ); -- cgit v1.2.3