From 70553ce8a2784be12d2986673e646f82b45d0e39 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Thu, 1 Aug 2013 19:30:54 +0200 Subject: [PATCH] kmessagebox -> qmessagebox --- clients/oxygen/config/oxygenexceptionlistwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clients/oxygen/config/oxygenexceptionlistwidget.cpp b/clients/oxygen/config/oxygenexceptionlistwidget.cpp index 19ee294607..63c14fd79b 100644 --- a/clients/oxygen/config/oxygenexceptionlistwidget.cpp +++ b/clients/oxygen/config/oxygenexceptionlistwidget.cpp @@ -27,10 +27,10 @@ #include "oxygenexceptionlistwidget.moc" #include "oxygenexceptiondialog.h" +#include #include #include #include -#include //__________________________________________________________ namespace Oxygen @@ -187,7 +187,7 @@ namespace Oxygen { // should use a konfirmation dialog - if( KMessageBox::questionYesNo( this, i18n("Remove selected exception?") ) == KMessageBox::No ) return; + if( QMessageBox::question( this, i18n("Question - Oxygen Settings" ), i18n("Remove selected exception?") ) == QMessageBox::No ) return; // remove model().remove( model().get( ui.exceptionListView->selectionModel()->selectedRows() ) ); @@ -328,7 +328,7 @@ namespace Oxygen while( exception->exceptionPattern().isEmpty() || !QRegExp( exception->exceptionPattern() ).isValid() ) { - KMessageBox::error( this, i18n("Regular Expression syntax is incorrect") ); + QMessageBox::warning( this, i18n( "Warning - Oxygen Settings" ), i18n("Regular Expression syntax is incorrect") ); QPointer dialog( new ExceptionDialog( this ) ); dialog->setException( exception ); if( dialog->exec() == QDialog::Rejected )