mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
generic: misc cleanups
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
66d83b1ba9
commit
9615cc4fe3
4 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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 );
|
||||
|
|
|
@ -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..." ));
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue