[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdevelop
From: Stephan Binner <binner () kde ! org>
Date: 2005-02-19 20:41:34
Message-ID: 20050219204134.9BF661D6C2 () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
warningContinueCancel for delete confirmations
M +1 -1 languages/cpp/ccconfigwidget.cpp 1.39
M +2 -2 parts/snippet/snippet_widget.cpp 1.22
M +2 -2 src/profileengine/editor/profileeditor.cpp 1.5
M +3 -4 vcs/cvsservice/cvspartimpl.cpp 1.35
--- kdevelop/languages/cpp/ccconfigwidget.cpp #1.38:1.39
@@ -177,5 +177,5 @@ void CCConfigWidget::slotRemovePCS()
QString dbName = dirs->saveLocation( "data", "kdevcppsupport/pcs" ) + "/" + \
db + ".db";
- if ( KMessageBox::Yes == KMessageBox::questionYesNo( 0, question, \
i18n("Remove Database") ) ) + if ( KMessageBox::Continue == \
KMessageBox::warningContinueCancel( 0, question, i18n("Remove Database"), \
KStdGuiItem::del() ) ) {
m_pPart->removeCatalog( dbName );
--- kdevelop/parts/snippet/snippet_widget.cpp #1.21:1.22
@@ -161,6 +161,6 @@ void SnippetWidget::slotRemove()
if (group) {
if (group->childCount() > 0 &&
- KMessageBox::questionYesNo(this, i18n("Do you really want to remove this \
group and all its snippets?"))
- == KMessageBox::No)
+ KMessageBox::warningContinueCancel(this, i18n("Do you really want to remove \
this group and all its snippets?"),QString::null,KStdGuiItem::del()) + == \
KMessageBox::Cancel) return;
--- kdevelop/src/profileengine/editor/profileeditor.cpp #1.4:1.5
@@ -251,6 +251,6 @@ void ProfileEditor::addProfile()
void ProfileEditor::removeProfile()
{
- if (KMessageBox::questionYesNo(this, i18n("Remove selected profile and all its \
subprofiles?"),
- i18n("Remove Profile")) == KMessageBox::Yes)
+ if (KMessageBox::warningContinueCancel(this, i18n("Remove selected profile and \
all its subprofiles?"), + i18n("Remove Profile"),KStdGuiItem::del()) == \
KMessageBox::Continue) {
Profile *profile = currentProfile();
--- kdevelop/vcs/cvsservice/cvspartimpl.cpp #1.34:1.35
@@ -811,11 +811,10 @@ void CvsServicePartImpl::removedFilesFro
return;
- int s = KMessageBox::questionYesNo( 0,
+ int s = KMessageBox::warningContinueCancel( 0,
i18n("Do you want them to be removed from CVS repository too?\nWarning: They \
will be removed from disk too."), i18n("CVS - Files Removed From Project"),
- KStdGuiItem::yes(),
- KStdGuiItem::no(),
+ KStdGuiItem::del(),
i18n("askWhenRemovingFiles") );
- if (s == KMessageBox::Yes)
+ if (s == KMessageBox::Continue)
{
kdDebug( 9006 ) << "Removing these files: " << filesInCVS.join( ", " ) << \
endl;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic