generic: misc cleanups

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2016-03-26 03:21:20 +00:00
parent 66d83b1ba9
commit 9615cc4fe3
4 changed files with 7 additions and 7 deletions

View file

@ -603,7 +603,7 @@ void KRandRSystemTray::slotPrefs()
{
KCMultiDialog *kcm = new KCMultiDialog( associatedWidget() );
kcm->setFaceType( KCMultiDialog::Plain );
kcm->setPlainCaption( i18n( "Configure Display" ) );
kcm->setWindowTitle( i18n( "Configure Display" ) );
kcm->addModule( "display" );
kcm->setAttribute(Qt::WA_DeleteOnClose);
m_kcm = kcm;

View file

@ -560,7 +560,7 @@ KPasswdServer::processRequest()
KDialog* dlg = new KDialog(0, Qt::Dialog);
connect(dlg, SIGNAL(finished(int)), this, SLOT(retryDialogDone(int)));
connect(this, SIGNAL(destroyed(QObject*)), dlg, SLOT(deleteLater()));
dlg->setPlainCaption(i18n("Retry Authentication"));
dlg->setWindowTitle(i18n("Retry Authentication"));
dlg->setWindowIcon(KIcon("dialog-password"));
dlg->setButtons(KDialog::Yes | KDialog::No);
dlg->setObjectName("warningOKCancel");
@ -852,9 +852,9 @@ void KPasswdServer::showPasswordDialog (KPasswdServer::Request* request)
dlg->setPrompt(info.prompt);
dlg->setUsername(username);
if (info.caption.isEmpty())
dlg->setPlainCaption( i18n("Authentication Dialog") );
dlg->setWindowTitle( i18n("Authentication Dialog") );
else
dlg->setPlainCaption( info.caption );
dlg->setWindowTitle( info.caption );
if ( !info.comment.isEmpty() )
dlg->addCommentLine( info.commentLabel, info.comment );

View file

@ -149,7 +149,7 @@ void TopLevel::setLocalProcessController(ProcessController * localProcessControl
void TopLevel::retranslateUi()
{
setPlainCaption( i18n( "System Monitor" ) );
setWindowTitle( i18n( "System Monitor" ) );
mRefreshTabAction->setText(i18n("&Refresh Tab"));
mNewWorksheetAction->setText(i18n( "&New Tab..." ));
mInsertWorksheetAction->setText(i18n( "Import Tab Fr&om File..." ));

View file

@ -51,7 +51,7 @@ SearchProviderDialog::SearchProviderDialog(SearchProvider *provider, QList<Searc
m_dlg.cbCharset->addItems(charsets);
if (m_provider)
{
setPlainCaption(i18n("Modify Web Shortcut"));
setWindowTitle(i18n("Modify Web Shortcut"));
m_dlg.leName->setText(m_provider->name());
m_dlg.leQuery->setText(m_provider->query());
m_dlg.leShortcut->setText(m_provider->keys().join(","));
@ -61,7 +61,7 @@ SearchProviderDialog::SearchProviderDialog(SearchProvider *provider, QList<Searc
}
else
{
setPlainCaption(i18n("New Web Shortcut"));
setWindowTitle(i18n("New Web Shortcut"));
m_dlg.leName->setFocus();
//If the clipboard contains a url copy it to the query lineedit