--- scribus15/scribus/canvasmode_framelinks.cpp-	2014-08-08 03:22:06.271835423 +0200
+++ scribus15/scribus/canvasmode_framelinks.cpp	2014-09-05 23:12:19.708786185 +0200
@@ -188,9 +188,8 @@
 				{
 					if (bb->prevInChain() != NULL)
 					{
-						QMessageBox msgBox(QMessageBox::Question, tr("Linking Text Frames"),
+						ScribusMessageBox msgBox(QMessageBox::Question, tr("Linking Text Frames"),
 										   "<qt>" + ScribusView::tr("You are trying to insert a frame into an existing text chain, where would you like to insert it?") + "<qt>");
-						//QMessageBox msgBox;
 						QPushButton *cancelButton = msgBox.addButton(CommonStrings::tr_Cancel, QMessageBox::RejectRole);
 						QPushButton *beforeButton = msgBox.addButton(tr("Before"), QMessageBox::AcceptRole);
 						QPushButton *afterButton = msgBox.addButton(tr("After"), QMessageBox::AcceptRole);
@@ -248,14 +247,14 @@
 				{
 					//CB Mouse is released when this messagebox takes focus
 					m_canvas->m_viewMode.m_MouseButtonPressed = false;
-					QMessageBox::warning(m_view, ScribusView::tr("Linking Text Frames"),
+					ScribusMessageBox::warning(m_view, ScribusView::tr("Linking Text Frames"),
 											 "<qt>" + ScribusView::tr("You are trying to link a frame to itself.") + "</qt>");
 				}
 				else
 				{
 					//CB Mouse is released when this messagebox takes focus
 					m_canvas->m_viewMode.m_MouseButtonPressed = false;
-					QMessageBox::warning(m_view, ScribusView::tr("Linking Text Frames"),
+					ScribusMessageBox::warning(m_view, ScribusView::tr("Linking Text Frames"),
 										 "<qt>" + ScribusView::tr("You are trying to link a non-empty frame to frame which is already linked.") + "</qt>");
 				}
 			}
--- scribus15/scribus/canvasmode_normal.cpp-	2014-09-02 01:46:39.031628634 +0200
+++ scribus15/scribus/canvasmode_normal.cpp	2014-09-05 22:06:35.568274728 +0200
@@ -1543,18 +1543,18 @@
 		else
 		{
 			QString message = tr("Page %1 does not exist!").arg(currItem->annotation().Ziel() + 1);
-			QMessageBox::warning(m_view, CommonStrings::trWarning, message, CommonStrings::tr_OK);
+			ScribusMessageBox::warning(m_view, CommonStrings::trWarning, message);
 		}
 	}
 	else if (currItem->annotation().ActionType() == Annotation::Action_URI)
 	{
 		QString message = tr("Link Target is Web URL.\nURL: %1").arg(currItem->annotation().Extern());
-		QMessageBox::information(m_view, tr("Information"), message, CommonStrings::tr_OK);
+		ScribusMessageBox::information(m_view, tr("Information"), message);
 	}
 	else if ((currItem->annotation().ActionType() == Annotation::Action_GoToR_FileAbs) || (currItem->annotation().ActionType() == Annotation::Action_GoToR_FileRel))
 	{
 		QString message = tr("Link Target is external File.\nFile: %1\nPage: %2").arg(currItem->annotation().Extern()).arg(currItem->annotation().Ziel() + 1);
-		QMessageBox::information(m_view, tr("Information"), message, CommonStrings::tr_OK);
+		ScribusMessageBox::information(m_view, tr("Information"), message);
 	}
 }
 
--- scribus15/scribus/collect4output.cpp-	2014-08-08 03:22:06.613837956 +0200
+++ scribus15/scribus/collect4output.cpp	2014-09-05 23:12:19.708786185 +0200
@@ -99,9 +99,8 @@
 		bool created = dir.mkpath(directories[i]);
 		if (!created)
 		{
-			QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
-			                     "<qt>" + tr("Cannot create directory:\n%1").arg(directories[i]) + "</qt>",
-			                     CommonStrings::tr_OK);
+			ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
+			                     "<qt>" + tr("Cannot create directory:\n%1").arg(directories[i]) + "</qt>");
 			return false;
 		}
 	}
@@ -120,9 +119,8 @@
 	if (!collectItems())
 	{
 		QString errorMsg( tr("Cannot collect all files for output for file:\n%1").arg(newName) );
-		QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
-							 "<qt>" + errorMsg + "</qt>",
-							 CommonStrings::tr_OK);
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
+							 "<qt>" + errorMsg + "</qt>");
 		return errorMsg;
 	}
 
@@ -135,7 +133,7 @@
 	if (!collectDocument())
 	{
 		QString errorMsg( tr("Cannot collect the file: \n%1").arg(newName) );
-		QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, "<qt>" + errorMsg + "</qt>", CommonStrings::tr_OK);
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, "<qt>" + errorMsg + "</qt>");
 		return errorMsg;
 	}
 
--- scribus15/scribus/fileloader.cpp-	2014-08-14 19:53:53.261452577 +0200
+++ scribus15/scribus/fileloader.cpp	2014-09-05 22:06:35.568274728 +0200
@@ -481,7 +481,7 @@
 		{
 			mess += it.key() + tr(" was replaced by: ")+ it.value() +"\n";
 		}
-		QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, mess, 1, 0, 0);
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, mess);
 	}
 }
 
--- scribus15/scribus/latexhelpers.cpp-	2014-08-08 03:22:05.823832106 +0200
+++ scribus15/scribus/latexhelpers.cpp	2014-09-05 22:06:35.568274728 +0200
@@ -30,7 +30,7 @@
 
 #include "prefsmanager.h"
 #include "scpaths.h"
-
+#include "scribus.h"
 
 LatexHighlighter::LatexHighlighter(QTextDocument *document)
 	: QSyntaxHighlighter(document)
@@ -101,10 +101,10 @@
 	QFile f(fn);
 	if (!f.open(QIODevice::ReadOnly))
 	{
-		QMessageBox::critical(0, QObject::tr("Error"), "<qt>" + 
+		ScribusMessageBox::critical(0, QObject::tr("Error"), "<qt>" + 
 				QObject::tr("Opening the configfile %1 failed! %2").arg(
 						fn, f.errorString())
-				+ "</qt>", 1, 0, 0);
+				+ "</qt>");
 	}
 	xml.setDevice(&f);
 	
@@ -428,11 +428,11 @@
 	error[filename] = hasError;
 	if (hasError)
 	{
-		QMessageBox::critical(0, QObject::tr("Error"), "<qt>" + 
+		ScribusMessageBox::critical(0, QObject::tr("Error"), "<qt>" + 
 				QObject::tr("Parsing the configfile %1 failed! Depending on the type of the error "
 						"render frames might not work correctly!\n%2").arg(
 						filename, parser->error())
-						+ "</qt>", 1, 0, 0);
+						+ "</qt>");
 	}
 }
 
--- scribus15/scribus/loadsaveplugin.cpp-	2014-08-08 03:22:06.619838000 +0200
+++ scribus15/scribus/loadsaveplugin.cpp	2014-09-05 22:06:35.568274728 +0200
@@ -443,8 +443,7 @@
 		{
 			if (ScCore->usingGUI())
 			{
-				QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
-				                     plug->lastError(), CommonStrings::tr_OK);
+				ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, plug->lastError());
 			}
 			else
 			{
@@ -510,8 +509,7 @@
 		{
 			if (ScCore->usingGUI())
 			{
-				QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
-				                     plug->lastError(), CommonStrings::tr_OK);
+				ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, plug->lastError());
 			}
 			else
 			{
--- scribus15/scribus/main_nix.cpp-	2014-09-05 22:06:35.565274706 +0200
+++ scribus15/scribus/main_nix.cpp	2014-09-05 22:06:35.568274728 +0200
@@ -133,7 +133,7 @@
 		if (ScribusQApp::useGUI)
 		{
 			ScCore->closeSplash();
-			QMessageBox::critical(ScMW, sigHdr, sigMsg, QObject::tr("&OK"));
+			ScribusMessageBox::critical(ScMW, sigHdr, sigMsg);
 			ScMW->emergencySave();
 			ScMW->close();
 		}
--- scribus15/scribus/main_win32.cpp-	2014-09-05 22:06:35.565274706 +0200
+++ scribus15/scribus/main_win32.cpp	2014-09-05 22:06:35.568274728 +0200
@@ -287,7 +287,7 @@
 		if (ScribusQApp::useGUI)
 		{
 			ScCore->closeSplash();
-			QMessageBox::critical(ScMW, expHdr, expMsg, QObject::tr("&OK"));
+			ScribusMessageBox::critical(ScMW, expHdr, expMsg, QObject::tr("&OK"));
 			ScMW->emergencySave();
 			ScMW->close();
 		}
@@ -325,7 +325,7 @@
 			ScCore->closeSplash();
 			QString expHdr = QObject::tr("Scribus Crash");
 			QString expMsg = msg;
-			QMessageBox::critical(ScMW, expHdr, expMsg, QObject::tr("&OK"));
+			ScribusMessageBox::critical(ScMW, expHdr, expMsg, QObject::tr("&OK"));
 			ScMW->emergencySave();
 			ScMW->close();
 		}
--- scribus15/scribus/pageitem_latexframe.cpp-	2014-08-08 03:22:06.624838037 +0200
+++ scribus15/scribus/pageitem_latexframe.cpp	2014-09-05 22:06:35.569274735 +0200
@@ -158,7 +158,7 @@
 		if (firstWarning && !killed)
 		{
 			bool editorRunning = internalEditor && internalEditor->isVisible();
-			QMessageBox msgBox;
+			ScribusMessageBox msgBox;
 			msgBox.setText(tr("Running the external application failed!"));
 			QString informativeText = tr("This is usually a problem with your input. Please check the program's output.");
 			if (!editorRunning) {
@@ -240,9 +240,9 @@
 		update(); //Show error marker
 		if (firstWarningTmpfile)
 		{
-			QMessageBox::critical(0, tr("Error"), "<qt>" +
+			ScribusMessageBox::critical(0, tr("Error"), "<qt>" +
 								  tr("Could not create a temporary file to run the application!") 
-								  + "</qt>", 1, 0, 0);
+								  + "</qt>");
 			firstWarningTmpfile = false;
 		}
 		qCritical() << "RENDER FRAME:" << tr("Could not create a temporary file to run the application!");
@@ -260,9 +260,9 @@
 		update(); //Show error marker
 		if (firstWarningLatexMissing)
 		{
-			QMessageBox::critical(0, tr("Error"),
+			ScribusMessageBox::critical(0, tr("Error"),
 									 "<qt>" + tr("The config file didn't specify a executable path!") +
-									 "</qt>",1, 0, 0);
+									 "</qt>");
 			firstWarningLatexMissing = false;
 		}
         qCritical() << "RENDER FRAME:" << tr("The config file didn't specify a executable path!");
@@ -408,14 +408,14 @@
 	if (firstWarning)
 	{
 		if (latex->error() == QProcess::FailedToStart) {
-			QMessageBox::critical(0, tr("Error"), "<qt>" +
+			ScribusMessageBox::critical(0, tr("Error"), "<qt>" +
 								  tr("The application \"%1\" failed to start! Please check the path: ").
 								  arg(config->executable())
-								  + "</qt>", 1, 0, 0);
+								  + "</qt>");
 		} else {
-			QMessageBox::critical(0, tr("Error"), "<qt>" +
+			ScribusMessageBox::critical(0, tr("Error"), "<qt>" +
 					tr("The application \"%1\" crashed!").arg(config->executable())
-					+ "</qt>", 1, 0, 0);
+					+ "</qt>");
 		}
 		firstWarning = false;
 	}
--- scribus15/scribus/pluginmanager.cpp-	2014-08-08 03:22:05.310828307 +0200
+++ scribus15/scribus/pluginmanager.cpp	2014-09-05 22:06:35.569274735 +0200
@@ -228,11 +228,10 @@
 			failedStr += "</ul>";
 			if (splashShown)
 				ScCore->showSplash(false);
-			QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
+			ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
 								 "<qt>" + tr("There is a problem loading %1 of %2 plugins. %3 This is probably caused by some kind of dependency issue or old plugins existing in your install directory. If you clean out your install directory and reinstall and this still occurs, please report it on bugs.scribus.net."
 										).arg(allPlugs.count()-loaded).arg(allPlugs.count()).arg(failedStr)
-									 + "</qt>",
-							 CommonStrings::tr_OK);
+									 + "</qt>");
 			if (splashShown)
 				ScCore->showSplash(true);
 		}
--- scribus15/scribus/plugins/colorwheel/cwdialog.cpp-	2014-08-08 03:22:06.846839681 +0200
+++ scribus15/scribus/plugins/colorwheel/cwdialog.cpp	2014-09-06 05:59:16.116822527 +0200
@@ -338,7 +338,7 @@
 	status += "<p>" + tr("Now opening the color manager.") + "</p></qt>";
 	if (err)
 	{
-		QMessageBox::information(this, tr("Color Merging"), status);
+		ScribusMessageBox::information(this, tr("Color Merging"), status);
 		m_Doc->scMW()->managePaints();
 		return;
 	}
@@ -486,7 +486,7 @@
 	else
 	{
 		colorList->clear();
-		QMessageBox::information(this, windowTitle(),
+		ScribusMessageBox::information(this, windowTitle(),
 								 "<qt>" + tr("Unable to find the requested color. "
 										 "You have probably selected black, gray or white. "
 										 "There is no way to process this color.") + "</qt>");
--- scribus15/scribus/plugins/export/pixmapexport/export.cpp-	2014-08-08 03:22:07.763846472 +0200
+++ scribus15/scribus/plugins/export/pixmapexport/export.cpp	2014-09-06 06:13:32.402619411 +0200
@@ -120,13 +120,13 @@
 		QFileInfo fi(ex->exportDir);
 		if (!fi.isDir())
 		{
-			QMessageBox::warning(doc->scMW(), tr("Save as Image"),
+			ScribusMessageBox::warning(doc->scMW(), tr("Save as Image"),
 			                     tr("The target location %1 must be an existing directory").arg(ex->exportDir));
 			return false;
 		}
 		if (!fi.isWritable())
 		{
-			QMessageBox::warning(doc->scMW(), tr("Save as Image"),
+			ScribusMessageBox::warning(doc->scMW(), tr("Save as Image"),
 			                     tr("The target location %1 must be writable").arg(ex->exportDir));
 			return false;
 		}
@@ -191,7 +191,7 @@
 	QImage im(doc->view()->PageToPixmap(pageNr, qRound(pixmapSize * enlargement * (pageDPI / 72.0) / 100.0), false, background));
 	if (im.isNull())
 	{
-		QMessageBox::warning(doc->scMW(), tr("Save as Image"), tr("Insufficient memory for this image size."));
+		ScribusMessageBox::warning(doc->scMW(), tr("Save as Image"), tr("Insufficient memory for this image size."));
 		doc->scMW()->setStatusBarInfoText( tr("Insufficient memory for this image size."));
 		return false;
 	}
@@ -204,7 +204,7 @@
 		QString fn = QDir::toNativeSeparators(fileName);
 //		QApplication::restoreOverrideCursor();
 		QApplication::changeOverrideCursor(Qt::ArrowCursor);
-		over = QMessageBox::question(doc->scMW(), tr("File exists. Overwrite?"),
+		over = ScribusMessageBox::question(doc->scMW(), tr("File exists. Overwrite?"),
 				fn +"\n"+ tr("exists already. Overwrite?"),
 				// hack for multiple overwriting (petr) 
 				(single == true) ? QMessageBox::Yes | QMessageBox::No : QMessageBox::Yes | QMessageBox::No | QMessageBox::YesToAll);
@@ -218,7 +218,7 @@
 		saved = im.save(fileName, bitmapType.toLocal8Bit().constData(), quality);
 	if (!saved && doFileSave)
 	{
-		QMessageBox::warning(doc->scMW(), tr("Save as Image"), tr("Error writing the output file(s)."));
+		ScribusMessageBox::warning(doc->scMW(), tr("Save as Image"), tr("Error writing the output file(s)."));
 		doc->scMW()->setStatusBarInfoText( tr("Error writing the output file(s)."));
 	}
 	return saved;
--- scribus15/scribus/plugins/export/svgexplugin/svgexplugin.cpp-	2014-08-08 03:22:07.735846265 +0200
+++ scribus15/scribus/plugins/export/svgexplugin/svgexplugin.cpp	2014-09-06 06:14:11.853933272 +0200
@@ -45,6 +45,7 @@
 #include "qtiocompressor.h"
 #include "scpage.h"
 #include "scpattern.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "sctextstruct.h"
 #include "tableutils.h"
@@ -169,7 +170,7 @@
 		QFile f(fileName);
 		if (f.exists())
 		{
-			int exit = QMessageBox::warning(doc->scMW(), CommonStrings::trWarning,
+			int exit = ScribusMessageBox::warning(doc->scMW(), CommonStrings::trWarning,
 				QObject::tr("Do you really want to overwrite the file:\n%1 ?").arg(fileName),
 				QMessageBox::Yes | QMessageBox::No);
 			if (exit == QMessageBox::No)
--- scribus15/scribus/plugins/export/xpsexport/xpsexplugin.cpp-	2014-08-08 03:22:07.751846383 +0200
+++ scribus15/scribus/plugins/export/xpsexport/xpsexplugin.cpp	2014-09-06 06:14:52.441255912 +0200
@@ -46,6 +46,7 @@
 #include "prefscontext.h"
 #include "scpage.h"
 #include "scpattern.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "scribusdoc.h"
 #include "scribusview.h"
@@ -183,7 +184,7 @@
 		QFile f(fileName);
 		if (f.exists())
 		{
-			int exit = QMessageBox::warning(doc->scMW(), CommonStrings::trWarning,
+			int exit = ScribusMessageBox::warning(doc->scMW(), CommonStrings::trWarning,
 				QObject::tr("Do you really want to overwrite the file:\n%1 ?").arg(fileName),
 				QMessageBox::Yes | QMessageBox::No);
 			if (exit == QMessageBox::No)
--- scribus15/scribus/plugins/fileloader/scribus12format/scribus12format.cpp-	2014-08-08 03:22:06.873839881 +0200
+++ scribus15/scribus/plugins/fileloader/scribus12format/scribus12format.cpp	2014-09-06 05:51:02.675924813 +0200
@@ -17,6 +17,7 @@
 #include "qtiocompressor.h"
 #include "scconfig.h"
 #include "scclocale.h"
+#include "scribus.h"
 #include "scribusdoc.h"
 #include "scribusview.h"
 #include "scribuscore.h"
@@ -1364,7 +1365,7 @@
 	if (m_mwProgressBar!=0)
 		m_mwProgressBar->setValue(DOC.childNodes().count());
 
-	QMessageBox::warning(ScCore->primaryMainWindow(),
+	ScribusMessageBox::warning(ScCore->primaryMainWindow(),
 						  CommonStrings::trWarning,
 						  tr("You have opened a file produced by Scribus 1.2.x.\n"
 						     "If you save it in this version, it will no longer be readable by older Scribus versions."));
--- scribus15/scribus/plugins/fileloader/scribus13format/scribus13format.cpp-	2014-08-08 03:22:06.901840089 +0200
+++ scribus15/scribus/plugins/fileloader/scribus13format/scribus13format.cpp	2014-09-06 05:51:39.238215791 +0200
@@ -27,6 +27,7 @@
 #include "util_math.h"
 #include "util_text.h"
 #include "scclocale.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include <QCursor>
 // #include <QDebug>
@@ -1186,7 +1187,7 @@
 	if (m_mwProgressBar!=0)
 		m_mwProgressBar->setValue(DOC.childNodes().count());
 
-	QMessageBox::warning(ScCore->primaryMainWindow(),
+	ScribusMessageBox::warning(ScCore->primaryMainWindow(),
 						  CommonStrings::trWarning,
 						  tr("You have opened a file produced by Scribus 1.3.3.x.\n"
 						     "If you save it in this version, it will no longer be readable by older Scribus versions."));
--- scribus15/scribus/plugins/gettext/docim/docim.cpp-	2014-08-08 03:22:08.247850056 +0200
+++ scribus15/scribus/plugins/gettext/docim/docim.cpp	2014-09-06 06:17:53.696694717 +0200
@@ -8,6 +8,7 @@
 #include "docim.h"
 #include "gtwriter.h"
 #include "scpaths.h"
+#include "scribus.h"
 #include "scribusstructs.h"
 #include <QObject>
 #include <QByteArray>
@@ -177,7 +178,7 @@
 	if (failed)
 	{
 		QString error = codec->toUnicode( errorBuffer.data() ); 
-		QMessageBox::information(0, tr("Importing failed"),
+		ScribusMessageBox::information(0, tr("Importing failed"),
 		                         tr("Importing Word document failed \n%1").arg(error),
 		                         QMessageBox::Ok);
 		return;
--- scribus15/scribus/plugins/gettext/pdbim/pdbim.cpp-	2014-08-08 03:22:08.252850093 +0200
+++ scribus15/scribus/plugins/gettext/pdbim/pdbim.cpp	2014-09-06 05:54:06.765380273 +0200
@@ -17,6 +17,7 @@
 #include "pdbim.h"
 #include "gtwriter.h"
 #include "gtparagraphstyle.h"
+#include "scribus.h"
 #include "scribusstructs.h"
 #include "scribuscore.h"
 
@@ -91,7 +92,7 @@
 
 	if (!m_pdfp)
 	{
-		QMessageBox::warning(ScCore->primaryMainWindow(), QObject::tr("PDB Import", "PDB Importer"),
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), QObject::tr("PDB Import", "PDB Importer"),
 							 "<qt>" + QObject::tr("Could not open file %1", "PDB Importer").arg(fname) + "</qt>",
 							 QMessageBox::Ok, QMessageBox::NoButton);
 		return;
@@ -100,7 +101,7 @@
 	if (strncmp(m_header.type, DOC_TYPE, sizeof(m_header.type) ) ||
 		strncmp( m_header.creator, DOC_CREATOR, sizeof(m_header.creator)))
 	{
-		QMessageBox::warning(ScCore->primaryMainWindow(), QObject::tr("PDB Import", "PDB Importer"),
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), QObject::tr("PDB Import", "PDB Importer"),
 							 "<qt>" + QObject::tr("This file is not recognized as a PDB document. Please, report this as a bug if you are sure it is one.", "PDB Importer") + "</qt>",
 							 QMessageBox::Ok, QMessageBox::NoButton);
 		return;
--- scribus15/scribus/plugins/gettext/xtgim/xtgscanner.cpp-	2014-08-08 03:22:08.196849679 +0200
+++ scribus15/scribus/plugins/gettext/xtgim/xtgscanner.cpp	2014-09-06 05:52:23.931569669 +0200
@@ -32,6 +32,7 @@
 #include <QMessageBox>
 
 #include "fonts/scface.h"
+#include "scribus.h"
 #include "scribusdoc.h"
 #include "text/specialchars.h"
 
@@ -1290,7 +1291,7 @@
 
 void XtgScanner::showWarning(QString &name)
 {
-	QMessageBox msgBox;
+	ScribusMessageBox msgBox;
 	msgBox.setWindowTitle("Message");
 	QString message = "Style " + name + " is not defined, falling back to Scribus Default";
 	msgBox.setText(message);
--- scribus15/scribus/plugins/import/ai/importaiplugin.cpp-	2014-09-05 22:06:31.441245659 +0200
+++ scribus15/scribus/plugins/import/ai/importaiplugin.cpp	2014-09-06 06:06:08.169092591 +0200
@@ -15,6 +15,7 @@
 #include "scconfig.h"
 #include "scpage.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "undomanager.h"
 #include "util_formats.h"
@@ -162,7 +163,7 @@
 			if (tempBuf.startsWith("%PDF"))
 			{
 				qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
-				QMessageBox msgBox(ScCore->primaryMainWindow());
+				ScribusMessageBox msgBox(ScCore->primaryMainWindow());
 				msgBox.setText( tr("This file contains 2 versions of the data."));
 				msgBox.setInformativeText( tr("Choose which one should be imported"));
 				msgBox.setIcon(QMessageBox::Question);
@@ -176,7 +177,7 @@
 					const FileFormat *fmt = LoadSavePlugin::getFormatByExt("pdf");
 					if (!fmt)
 					{
-						QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The PDF Import plugin could not be found"), 1, 0, 0);
+						ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The PDF Import plugin could not be found"));
 						return false;
 					}
 					qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
@@ -186,7 +187,7 @@
 					if (emptyDoc || !(flags & lfInteractive) || !(flags & lfScripted))
 						UndoManager::instance()->setUndoEnabled(true);
 					if (!success)
-						QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The file could not be imported"), 1, 0, 0);
+						ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The file could not be imported"));
 					return success;
 				}
 				qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
@@ -197,7 +198,7 @@
 				const FileFormat *fmt = LoadSavePlugin::getFormatByExt("eps");
 				if (!fmt)
 				{
-					QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The EPS Import plugin could not be found"), 1, 0, 0);
+					ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The EPS Import plugin could not be found"));
 					return false;
 				}
 				qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
@@ -207,7 +208,7 @@
 				if (emptyDoc || !(flags & lfInteractive) || !(flags & lfScripted))
 					UndoManager::instance()->setUndoEnabled(true);
 				if (!success)
-					QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The file could not be imported"), 1, 0, 0);
+					ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The file could not be imported"));
 				return success;
 			}
 		}
@@ -221,7 +222,7 @@
 	if (emptyDoc || !(flags & lfInteractive) || !(flags & lfScripted))
 		UndoManager::instance()->setUndoEnabled(true);
 	if (!success)
-		QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The file could not be imported"), 1, 0, 0);
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The file could not be imported"));
 	delete dia;
 	return success;
 }
--- scribus15/scribus/plugins/import/cdr/importcdr.cpp-	2014-08-08 03:22:07.159841999 +0200
+++ scribus15/scribus/plugins/import/cdr/importcdr.cpp	2014-09-06 06:12:18.298026226 +0200
@@ -362,7 +362,7 @@
 			{
 				ScribusMainWindow* mw=(m_Doc==0) ? ScCore->primaryMainWindow() : m_Doc->scMW();
 				qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
-				QMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"), 1, 0, 0);
+				ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"));
 				qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
 			}*/
 			return false;
@@ -385,7 +385,7 @@
 			{
 				ScribusMainWindow* mw=(m_Doc==0) ? ScCore->primaryMainWindow() : m_Doc->scMW();
 				qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
-				QMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"), 1, 0, 0);
+				ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"));
 				qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
 			}
 			return false;
--- scribus15/scribus/plugins/import/cdr/importcdrplugin.cpp-	2014-08-14 19:53:53.224452314 +0200
+++ scribus15/scribus/plugins/import/cdr/importcdrplugin.cpp	2014-09-06 06:12:18.298026226 +0200
@@ -13,6 +13,7 @@
 #include "prefsmanager.h"
 #include "scpage.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "undomanager.h"
 #include "util_formats.h"
@@ -155,7 +156,7 @@
 		const FileFormat *fmt = LoadSavePlugin::getFormatByExt("cdt");
 		if (!fmt)
 		{
-			QMessageBox::warning(mw, CommonStrings::trWarning, tr("The Uniconverter Import plugin could not be found"), 1, 0, 0);
+			ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("The Uniconverter Import plugin could not be found"));
 			return false;
 		}
 		flags &= ~LoadSavePlugin::lfCreateDoc;
@@ -164,7 +165,7 @@
 		{
 			if (flags & LoadSavePlugin::lfCreateDoc)
 			{
-				QMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"), 1, 0, 0);
+				ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"));
 			}
 			return false;
 		}
--- scribus15/scribus/plugins/import/oodraw/oodrawimp.cpp-	2014-08-14 19:53:53.181452008 +0200
+++ scribus15/scribus/plugins/import/oodraw/oodrawimp.cpp	2014-09-06 06:07:40.830826516 +0200
@@ -33,6 +33,7 @@
 #include "sccolorengine.h"
 #include "scmimedata.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribusXml.h"
 #include "scribuscore.h"
 #include "scribusdoc.h"
@@ -203,9 +204,9 @@
 	if (dia.importCanceled)
 	{
 		if ((!importDone) || (dia.importFailed))
-			QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The file could not be imported"), 1, 0, 0);
+			ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The file could not be imported"));
 		else if (dia.unsupported)
-			QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("This file contains some unsupported features"), 1, 0, 0);
+			ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("This file contains some unsupported features"));
 	}
 	return importDone;
 }
@@ -415,7 +416,7 @@
 		drawPage = offDraw.namedItem( "draw:page" );
 		if (drawPage.isNull())
 		{
-			QMessageBox::warning( m_Doc->scMW(), CommonStrings::trWarning, tr("This document does not seem to be an OpenOffice Draw file.") );
+			ScribusMessageBox::warning( m_Doc->scMW(), CommonStrings::trWarning, tr("This document does not seem to be an OpenOffice Draw file.") );
 			return false;
 		}
 		else
--- scribus15/scribus/plugins/import/pdf/importpdfplugin.cpp-	2014-08-14 19:53:53.230452356 +0200
+++ scribus15/scribus/plugins/import/pdf/importpdfplugin.cpp	2014-09-06 06:10:16.659067139 +0200
@@ -17,6 +17,7 @@
 #include "scpage.h"
 #include "scpaths.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "undomanager.h"
 #include "util_formats.h"
@@ -211,7 +212,7 @@
 		else
 		{
 			qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
-			QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The Import plugin cannot handle Postscript files"), 1, 0, 0);
+			ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, tr("The Import plugin cannot handle Postscript files"));
 			qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
 			return false;
 		}
--- scribus15/scribus/plugins/import/pm/importpm.cpp-	2014-09-02 01:46:38.905627525 +0200
+++ scribus15/scribus/plugins/import/pm/importpm.cpp	2014-09-06 06:03:25.345796411 +0200
@@ -348,7 +348,7 @@
 		{
 			ScribusMainWindow* mw=(m_Doc==0) ? ScCore->primaryMainWindow() : m_Doc->scMW();
 			qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
-			QMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"), 1, 0, 0);
+			ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"));
 			qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
 		}
 		return false;
--- scribus15/scribus/plugins/import/ps/importps.cpp-	2014-08-08 03:22:07.284842925 +0200
+++ scribus15/scribus/plugins/import/ps/importps.cpp	2014-09-06 06:02:21.273290002 +0200
@@ -31,6 +31,7 @@
 #include "scconfig.h"
 #include "scmimedata.h"
 #include "scpaths.h"
+#include "scribus.h"
 #include "scribusXml.h"
 #include "scribuscore.h"
 #include "scribusdoc.h"
@@ -425,7 +426,7 @@
 		if (progressDialog)
 			progressDialog->close();
 		QString mess = tr("Importing File:\n%1\nfailed!").arg(fn);
-		QMessageBox::critical(0, tr("Fatal Error"), mess, 1, 0, 0);
+		ScribusMessageBox::critical(0, tr("Fatal Error"), mess);
 		return false;
 	}
 	if(progressDialog && !cancel) {
@@ -764,7 +765,7 @@
 	if (failedImages > 0)
 	{
 		QString mess = tr("Converting of %1 images failed!").arg(failedImages);
-		QMessageBox::critical(0, tr("Error"), mess, 1, 0, 0);
+		ScribusMessageBox::critical(0, tr("Error"), mess);
 	}
 }
 
--- scribus15/scribus/plugins/import/pub/importpub.cpp-	2014-08-08 03:22:07.351843421 +0200
+++ scribus15/scribus/plugins/import/pub/importpub.cpp	2014-09-06 06:02:55.229557953 +0200
@@ -356,7 +356,7 @@
 		{
 			ScribusMainWindow* mw=(m_Doc==0) ? ScCore->primaryMainWindow() : m_Doc->scMW();
 			qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
-			QMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"), 1, 0, 0);
+			ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"));
 			qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
 		}
 		return false;
--- scribus15/scribus/plugins/import/svg/svgplugin.cpp-	2014-08-14 19:53:53.210452214 +0200
+++ scribus15/scribus/plugins/import/svg/svgplugin.cpp	2014-09-06 06:01:38.503950434 +0200
@@ -35,6 +35,7 @@
 #include "scpaths.h"
 #include "scpattern.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribusXml.h"
 #include "scribuscore.h"
 #include "scribusdoc.h"
@@ -195,9 +196,9 @@
 	if (dia->importCanceled)
 	{
 		if (dia->importFailed)
-			QMessageBox::warning(mw, CommonStrings::trWarning, tr("The file could not be imported"), 1, 0, 0);
+			ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("The file could not be imported"));
 	//	else if (dia->unsupported)
-	//		QMessageBox::warning(mw, CommonStrings::trWarning, tr("SVG file contains some unsupported features"), 1, 0, 0);
+	//		ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("SVG file contains some unsupported features"));
 	}
 
 	delete dia;
--- scribus15/scribus/plugins/import/uniconvertor/uniconvplugin.cpp-	2014-08-08 03:22:07.508844584 +0200
+++ scribus15/scribus/plugins/import/uniconvertor/uniconvplugin.cpp	2014-09-06 06:18:26.954958832 +0200
@@ -27,6 +27,7 @@
 #include <cmath>
 
 #include "commonstrings.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "undomanager.h"
 
@@ -153,7 +154,7 @@
 	if (!uniconv.waitForStarted(120000)) {
 		qWarning() << "Uniconvertor failed:" <<
 			PrefsManager::instance()->uniconvExecutable() << arguments;
-		QMessageBox::warning(mw, CommonStrings::trWarning,
+		ScribusMessageBox::warning(mw, CommonStrings::trWarning,
 			tr("Starting Uniconvertor failed! The executable name in "
 			"File->Preferences->External Tools may be incorrect or the "
 			"software has been uninstalled since preferences "
@@ -163,7 +164,7 @@
 	}
 	if (!uniconv.waitForFinished(120000)) {
 		qDebug() << "Uniconv exit code:" << uniconv.exitCode();
-		QMessageBox::warning(mw, CommonStrings::trWarning,
+		ScribusMessageBox::warning(mw, CommonStrings::trWarning,
 			tr("Uniconvertor did not exit correctly: %1").arg(
 			uniconv.errorString()).arg(QString(uniconv.readAll())));
 		delete tempFile;
@@ -171,7 +172,7 @@
 	}
 	if (uniconv.exitCode()) {
 		qDebug() << "Uniconv exit code:" << uniconv.exitCode();
-		QMessageBox::warning(mw, CommonStrings::trWarning,
+		ScribusMessageBox::warning(mw, CommonStrings::trWarning,
 			tr("Uniconvertor failed to convert the file: %1").arg(
 				QString(uniconv.readAll())));
 		delete tempFile;
@@ -181,7 +182,7 @@
 	//Import SVG
 	const FileFormat *fmt = LoadSavePlugin::getFormatByExt("svg");
 	if (!fmt) {
-		QMessageBox::warning(mw, CommonStrings::trWarning, tr("The SVG Import plugin could not be found"), 1, 0, 0);
+		ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("The SVG Import plugin could not be found"));
 		delete tempFile;
 		return false;
 	}
--- scribus15/scribus/plugins/import/vsd/importvsd.cpp-	2014-08-08 03:22:07.485844413 +0200
+++ scribus15/scribus/plugins/import/vsd/importvsd.cpp	2014-09-06 06:03:55.355036490 +0200
@@ -358,7 +358,7 @@
 			{
 				ScribusMainWindow* mw=(m_Doc==0) ? ScCore->primaryMainWindow() : m_Doc->scMW();
 				qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
-				QMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"), 1, 0, 0);
+				ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("Parsing failed!\n\nPlease submit your file (if possible) to the\nDocument Liberation Project http://www.documentliberation.org"));
 				qApp->changeOverrideCursor(QCursor(Qt::WaitCursor));
 			}
 		}
--- scribus15/scribus/plugins/import/wmf/wmfimportplugin.cpp-	2014-08-14 19:53:53.170451929 +0200
+++ scribus15/scribus/plugins/import/wmf/wmfimportplugin.cpp	2014-09-06 06:09:39.202763970 +0200
@@ -24,6 +24,7 @@
 #include "prefsmanager.h"
 #include "pageitem.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "scribusdoc.h"
 #include "selection.h"
@@ -172,9 +173,9 @@
 	if (dia->importCanceled)
 	{
 		if (dia->importFailed)
-			QMessageBox::warning(mw, CommonStrings::trWarning, tr("The file could not be imported"), 1, 0, 0);
+			ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("The file could not be imported"));
 		else if (dia->unsupported)
-			QMessageBox::warning(mw, CommonStrings::trWarning, tr("WMF file contains some unsupported features"), 1, 0, 0);
+			ScribusMessageBox::warning(mw, CommonStrings::trWarning, tr("WMF file contains some unsupported features"));
 	}
 
 	bool success = !dia->importFailed;
--- scribus15/scribus/plugins/myplugin/mypluginimpl.cpp-	2014-08-08 03:22:06.851839718 +0200
+++ scribus15/scribus/plugins/myplugin/mypluginimpl.cpp	2014-09-06 05:55:16.050927226 +0200
@@ -5,6 +5,7 @@
 for which a new license (GPL+exception) is in place.
 */
 #include "mypluginimpl.h"
+#include "scribus.h"
 #include "scribusdoc.h"
 
 #include <QString>
@@ -18,7 +19,7 @@
 bool MyPluginImpl::run(const QString & target, ScribusDoc* doc)
 {
 	// Do the bulk of your work here
-	QMessageBox::information(
+	ScribusMessageBox::information(
 			(QWidget*)doc->scMW(),
 			tr("Scribus - My Plugin"),
 			tr("The plugin worked!"),
--- scribus15/scribus/plugins/picbrowser/picturebrowser.cpp-	2014-08-08 03:22:07.709846072 +0200
+++ scribus15/scribus/plugins/picbrowser/picturebrowser.cpp	2014-09-06 06:00:45.882532534 +0200
@@ -12,6 +12,7 @@
 #include "findimage.h"
 #include "previewimage.h"
 #include "loadimage.h"
+#include "scribus.h"
 
 #include "fileloader.h"
 #include "loadsaveplugin.h"
@@ -405,7 +406,7 @@
 
 	if ( ( previewIconIndex < 0 ) || ( previewIconIndex > pImages->previewImagesList.size() ) )
 	{
-		QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "No Image(s) Selected" ) );
+		ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "No Image(s) Selected" ) );
 		return;
 	}
 
@@ -728,7 +729,7 @@
 	switch ( crt->type )
 	{
 		case 0:
-// 			QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "File not found or file is not a collection file" ) );
+// 			ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "File not found or file is not a collection file" ) );
 			break;
 
 		case 1:
@@ -751,7 +752,7 @@
 
 					if ( !currItem )
 					{
-						QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "You have to create a category first" ) );
+						ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "You have to create a category first" ) );
 						return;
 					}
 				}
@@ -831,7 +832,7 @@
 
 			if ( !tmpCrt->type )
 			{
-				QMessageBox::warning ( this, tr ( "Picture Browser Error" ), QString ( "A collection was not found:\n%1\nit will be created" ).arg ( tmpCrt->xmlFile ) );
+				ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), QString ( "A collection was not found:\n%1\nit will be created" ).arg ( tmpCrt->xmlFile ) );
 				tmpCollection = new imageCollection;
 				tmpCollection->imageFiles = tmpCrt->addImages;
 			}
@@ -915,7 +916,7 @@
 {
 	if ( ( previewIconIndex < 0 ) || ( previewIconIndex > pModel->modelItemsList.size() ) )
 	{
-		QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "No image(s) selected" ) );
+		ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "No image(s) selected" ) );
 		return;
 	}
 
@@ -960,7 +961,7 @@
 
 		if ( pageList.isEmpty() )
 		{
-			QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "No page/image frame selected" ) );
+			ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "No page/image frame selected" ) );
 			return;
 		}
 
@@ -1066,7 +1067,7 @@
 
 		if ( !dir.exists() )
 		{
-			QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "Directory does not exist" ) );
+			ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "Directory does not exist" ) );
 			return;
 		}
 
@@ -1261,7 +1262,7 @@
 
 		if ( !currItem )
 		{
-			QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "You have to create a category first" ) );
+			ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "You have to create a category first" ) );
 			return;
 		}
 	}
@@ -1331,7 +1332,7 @@
 
 	if ( !currItem )
 	{
-		QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "You have to select something you want to export" ) );
+		ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "You have to select something you want to export" ) );
 		return;
 	}
 
@@ -1440,7 +1441,7 @@
 	}
 	else
 	{
-		QMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "No tag entered" ) );
+		ScribusMessageBox::warning ( this, tr ( "Picture Browser Error" ), tr ( "No tag entered" ) );
 	}
 }
 
--- scribus15/scribus/plugins/scripter/api_dialogs.cpp-	2014-08-08 03:22:08.922855055 +0200
+++ scribus15/scribus/plugins/scripter/api_dialogs.cpp	2014-09-06 05:58:44.062569717 +0200
@@ -8,6 +8,7 @@
 #include <QMessageBox>
 
 #include "api_dialogs.h"
+#include "scribus.h"
 
 DialogsAPI::DialogsAPI() : QObject(SCRIPTER)
 {
@@ -28,7 +29,7 @@
  */
 void DialogsAPI::alert(const QString & message)
 {
-    QMessageBox::information(
+    ScribusMessageBox::information(
         0, //(QWidget*)doc->scMW(),
         tr("Alert - Scribus"),
         message,
--- scribus15/scribus/plugins/scripter/scripterimpl.cpp-	2014-08-08 03:22:08.883854766 +0200
+++ scribus15/scribus/plugins/scripter/scripterimpl.cpp	2014-09-06 05:58:44.062569717 +0200
@@ -11,6 +11,7 @@
 #include <QtDebug>
 #include <QApplication>
 
+#include "scribus.h"
 #include "scripterimpl.h"
 
 
@@ -325,7 +326,7 @@
  */
 void ScripterImpl::aboutScripter()
 {
-	QMessageBox::information(
+	ScribusMessageBox::information(
 	    0, //(QWidget*)doc->scMW(),
 	    tr("Scribus - Scripter Plugin"),
 	    tr("If you see this box, Scripter probably works :)"),
--- scribus15/scribus/plugins/scriptplugin/cmddialog.cpp-	2014-08-08 03:22:08.003848249 +0200
+++ scribus15/scribus/plugins/scriptplugin/cmddialog.cpp	2014-09-05 23:54:38.533865070 +0200
@@ -6,6 +6,7 @@
 */
 #include "cmddialog.h"
 #include "cmdutil.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "ui/customfdialog.h"
 #include "ui/stylemanager.h"
@@ -85,7 +86,9 @@
 	if (!PyArg_ParseTupleAndKeywords(args, kw, "eses|iiii", kwargs, "utf-8", &caption, "utf-8", &message, &ico, &butt1, &butt2, &butt3))
 		return NULL;
 	QApplication::changeOverrideCursor(QCursor(Qt::ArrowCursor));
-	QMessageBox mb(QString::fromUtf8(caption), QString::fromUtf8(message), ico, butt1, butt2, butt3, ScCore->primaryMainWindow());
+	// ScribusMessageBox mb(ico, butt1, butt2, butt3, ScCore->primaryMainWindow());
+	ScribusMessageBox mb(ico, QString::fromUtf8(caption), QString::fromUtf8(message), QMessageBox::Ok, ScCore->primaryMainWindow());
+	mb.setDefaultButton(QMessageBox::Ok);
 	result = mb.exec();
 //	QApplication::restoreOverrideCursor();
 	return PyInt_FromLong(static_cast<long>(result));
--- scribus15/scribus/plugins/scriptplugin/scriptercore.cpp-	2014-09-05 22:06:35.565274706 +0200
+++ scribus15/scribus/plugins/scriptplugin/scriptercore.cpp	2014-09-05 23:47:35.005409591 +0200
@@ -27,6 +27,7 @@
 #include "ui/scmwmenumanager.h"
 #include "pconsole.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "scribusdoc.h"
 #include "scribusview.h"
@@ -330,7 +331,7 @@
 				cp->setText(errorMsg);
 				ScCore->closeSplash();
 				qApp->changeOverrideCursor(QCursor(Qt::ArrowCursor));
-				QMessageBox::warning(ScCore->primaryMainWindow(),
+				ScribusMessageBox::warning(ScCore->primaryMainWindow(),
 									tr("Script error"),
 									"<qt><p>"
 									+ tr("If you are running an official script report it at <a href=\"http://bugs.scribus.net\">bugs.scribus.net</a> please.")
@@ -427,7 +428,7 @@
 		if (result == NULL)
 		{
 			PyErr_Print();
-			QMessageBox::warning(ScCore->primaryMainWindow(), tr("Script error"),
+			ScribusMessageBox::warning(ScCore->primaryMainWindow(), tr("Script error"),
 					"<qt>" + tr("There was an internal error while trying the "
 					   "command you entered. Details were printed to "
 					   "stderr. ") + "</qt>");
@@ -590,7 +591,7 @@
 	if (PyRun_SimpleString(cmd.data()))
 	{
 		PyErr_Print();
-		QMessageBox::warning(ScCore->primaryMainWindow(), tr("Script error"),
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), tr("Script error"),
 				tr("Setting up the Python plugin failed. "
 				   "Error details were printed to stderr. "));
 		return false;
--- scribus15/scribus/plugins/short-words/prefs_shortwords.cpp-	2014-08-08 03:22:08.360850893 +0200
+++ scribus15/scribus/plugins/short-words/prefs_shortwords.cpp	2014-09-06 06:16:29.642025237 +0200
@@ -12,6 +12,7 @@
 #include "swsyntaxhighlighter.h"
 #include "version.h"
 #include "scpaths.h"
+#include "scribus.h"
 #include "commonstrings.h"
 
 Prefs_ShortWords::Prefs_ShortWords(QWidget* parent)
@@ -67,7 +68,7 @@
 {
 	if (cfgEdit->document()->isModified() && QFile::exists(RC_PATH_USR))
 	{
-		if ((QMessageBox::warning(this, tr("Short Words"),
+		if ((ScribusMessageBox::warning(this, tr("Short Words"),
 				"<qt>" + tr("User configuration exists already. "
 						"Do you really want to overwrite it?") + "</qt>",
 				QMessageBox::Yes|QMessageBox::No)
@@ -78,9 +79,8 @@
 	QFile f(RC_PATH_USR);
 	if (!f.open(QIODevice::WriteOnly))
 	{
-		QMessageBox::warning(this, tr("Short Words"),
-			 "<qt>" + tr("Cannot write file %1.").arg(RC_PATH_USR) + "</qt>",
-			 CommonStrings::tr_OK);
+		ScribusMessageBox::warning(this, tr("Short Words"),
+			 "<qt>" + tr("Cannot write file %1.").arg(RC_PATH_USR) + "</qt>");
 	}
 	QTextStream stream(&f);
 	stream.setCodec("UTF-8");
--- scribus15/scribus/plugins/short-words/swprefsgui.cpp-	2014-08-08 03:22:08.363850915 +0200
+++ scribus15/scribus/plugins/short-words/swprefsgui.cpp	2014-09-06 06:16:30.899036121 +0200
@@ -8,6 +8,7 @@
 #include "swsyntaxhighlighter.h"
 #include "version.h"
 #include "scpaths.h"
+#include "scribus.h"
 #include "commonstrings.h"
 
 #include <QDir>
@@ -106,7 +107,7 @@
 {
 	if (cfgEdit->document()->isModified() && QFile::exists(RC_PATH_USR))
 	{
-		if ((QMessageBox::warning(this, tr("Short Words"),
+		if ((ScribusMessageBox::warning(this, tr("Short Words"),
 				"<qt>" + tr("User configuration exists already. "
 						"Do you really want to overwrite it?") + "</qt>",
 				QMessageBox::Yes|QMessageBox::No)
@@ -117,9 +118,8 @@
 	QFile f(RC_PATH_USR);
 	if (!f.open(QIODevice::WriteOnly))
 	{
-		QMessageBox::warning(this, tr("Short Words"),
-			 "<qt>" + tr("Cannot write file %1.").arg(RC_PATH_USR) + "</qt>",
-			 CommonStrings::tr_OK);
+		ScribusMessageBox::warning(this, tr("Short Words"),
+			 "<qt>" + tr("Cannot write file %1.").arg(RC_PATH_USR) + "</qt>");
 	}
 	QTextStream stream(&f);
 	stream.setCodec("UTF-8");
--- scribus15/scribus/plugins/tools/pathcut/pathcut.cpp-	2014-08-08 03:22:06.761839052 +0200
+++ scribus15/scribus/plugins/tools/pathcut/pathcut.cpp	2014-09-06 05:56:25.329474119 +0200
@@ -25,6 +25,7 @@
 ****************************************************************************/
 
 #include "pathcut.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "scribusdoc.h"
 #include "appmodes.h"
@@ -123,7 +124,7 @@
 	QString vers = QString(qVersion()).left(5);
 	if (vers < "4.3.3")
 	{
-		QMessageBox::information(doc->scMW(), tr("Qt Version too old"), tr("This plugin requires at least version 4.3.3 of the Qt library"));
+		ScribusMessageBox::information(doc->scMW(), tr("Qt Version too old"), tr("This plugin requires at least version 4.3.3 of the Qt library"));
 		return true;
 	}
 	ScribusDoc* currDoc = doc;
@@ -154,7 +155,7 @@
 		QPainterPath objekt = mm.map(Item2->PoLine.toQPainterPath(true));
 		if ((objekt.contains(QPointF(start.x(), start.y()))) || (objekt.contains(QPointF(end.x(), end.y()))))
 		{
-			QMessageBox::information(doc->scMW(), tr("Error"), tr("The cutting line must cross the polygon and\nboth end points must lie outside of the polygon"));
+			ScribusMessageBox::information(doc->scMW(), tr("Error"), tr("The cutting line must cross the polygon and\nboth end points must lie outside of the polygon"));
 			return true;
 		}
 		QPainterPath result = objekt.subtracted(cutter);
--- scribus15/scribus/plugins/tools/spellcheck/aspellplugin.cpp-	2014-08-08 03:22:06.824839519 +0200
+++ scribus15/scribus/plugins/tools/spellcheck/aspellplugin.cpp	2014-09-06 05:57:26.480956935 +0200
@@ -101,7 +101,7 @@
 	{
 		doc->scMW()->scrActions[m_actionInfo.name]->setEnabled(false);
 		doc->scMW()->scrActions[m_actionInfo.name]->setVisible(false);
-		QMessageBox::warning(doc->scMW(), tr("Aspell Plugin Error"), aspellPluginImpl->errorMessage());
+		ScribusMessageBox::warning(doc->scMW(), tr("Aspell Plugin Error"), aspellPluginImpl->errorMessage());
 	}
 	delete aspellPluginImpl;
 	return true;
--- scribus15/scribus/plugins/tools/spellcheck/aspellpluginimpl.cpp-	2014-08-08 03:22:06.822839504 +0200
+++ scribus15/scribus/plugins/tools/spellcheck/aspellpluginimpl.cpp	2014-09-06 05:57:26.480956935 +0200
@@ -265,7 +265,7 @@
 	// Called once all words in the current text, i.e., in 'fcontent'
 	// have been spell-checked. Pops up an information dialog.
 	QString completeMsg(tr("Spelling check complete"));
-	QMessageBox::information(fdoc->scMW(), tr("Spell Checker"), completeMsg);
+	ScribusMessageBox::information(fdoc->scMW(), tr("Spell Checker"), completeMsg);
 	if( fFrame && fFrame->asTextFrame() )
 		fFrame->asTextFrame()->invalidateLayout();
 // 	if( fnchanges.fntot > 0 )
@@ -456,7 +456,7 @@
 		// the dictionary is to open the spell checker dialog. However,
 		// changing the dictionary does not recheck first word
 		// --- ask user if he wants to restart spellchecker with new lang
-		if (QMessageBox::question(this,
+		if (ScribusMessageBox::question(this,
 								  tr("Spell Checker"),
 								  tr("Do you want start from the beginning of the selection "
 								     "with new language selected?"),
--- scribus15/scribus/prefsmanager.cpp-	2014-08-08 03:22:09.018855766 +0200
+++ scribus15/scribus/prefsmanager.cpp	2014-09-05 22:06:35.569274735 +0200
@@ -829,10 +829,9 @@
 			bool splashShown=ScCore->splashShowing();
 			if (splashShown)
 				ScCore->showSplash(false);
-			if ( (QMessageBox::question( ScCore->primaryMainWindow(), tr("Migrate Old Scribus Settings?"),
+			if ( ScribusMessageBox::question( ScCore->primaryMainWindow(), tr("Migrate Old Scribus Settings?"),
 				tr("Scribus has detected existing Scribus 1.3.5 preferences files.\n"
-						"Do you want to migrate them to the new Scribus version?"),
-				QMessageBox::Yes | QMessageBox::Default, QMessageBox::No, QMessageBox::NoButton))==QMessageBox::Yes )
+						"Do you want to migrate them to the new Scribus version?"))==QMessageBox::Yes )
 			{
 				for (uint i=0;i<4;++i)
 				{
@@ -2684,16 +2683,14 @@
 // triggered by a signal sent from here and displayed by ScribusMainWindow.
 void PrefsManager::alertSavePrefsFailed() const
 {
-	QMessageBox::critical(ScCore->primaryMainWindow(), tr("Error Writing Preferences"),
+	ScribusMessageBox::critical(ScCore->primaryMainWindow(), tr("Error Writing Preferences"),
 			"<qt>" +
 			tr("Scribus was not able to save its preferences:<br>"
 			   "%1<br>"
 			   "Please check file and directory permissions and "
 			   "available disk space.", "scribus app error")
 			   .arg(lastError())
-			+ "</qt>",
-			QMessageBox::Ok|QMessageBox::Default|QMessageBox::Escape,
-			QMessageBox::NoButton);
+			+ "</qt>");
 }
 
 // It's hard to say whether this should be here and called from ReadPrefs, or
@@ -2703,15 +2700,13 @@
 	bool splashShowing = ScCore->splashShowing();
 	if (splashShowing)
 		ScCore->showSplash(false);
-	QMessageBox::critical(ScCore->primaryMainWindow(), tr("Error Loading Preferences"),
+	ScribusMessageBox::critical(ScCore->primaryMainWindow(), tr("Error Loading Preferences"),
 			"<qt>" +
 			tr("Scribus was not able to load its preferences:<br>"
 			   "%1<br>"
 			   "Default settings will be loaded.")
 			   .arg(lastError())
-			+ "</qt>",
-			QMessageBox::Ok|QMessageBox::Default|QMessageBox::Escape,
-			QMessageBox::NoButton);
+			+ "</qt>");
 	ScCore->showSplash(splashShowing);
 }
 
--- scribus15/scribus/scimage.cpp-	2014-08-08 03:22:05.950833046 +0200
+++ scribus15/scribus/scimage.cpp	2014-09-05 22:06:35.569274735 +0200
@@ -2319,7 +2319,7 @@
 	{
 		if	(ScCore->usingGUI() && pDataLoader->issuedErrorMsg() && showMsg)
 		{
-			QMessageBox::critical(ScCore->primaryMainWindow(), CommonStrings::trWarning, pDataLoader->getMessage(), 1, 0, 0);
+			ScribusMessageBox::critical(ScCore->primaryMainWindow(), CommonStrings::trWarning, pDataLoader->getMessage());
 		}
 		else if (pDataLoader->issuedErrorMsg())
 		{
@@ -2698,7 +2698,7 @@
 		imgInfo.isEmbedded = false;
 	if	(ScCore->usingGUI() && pDataLoader->issuedWarningMsg() && showMsg)
 	{
-		QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, pDataLoader->getMessage(), 1, 0, 0);
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, pDataLoader->getMessage());
 	}
 	else if (pDataLoader->issuedErrorMsg())
 	{
--- scribus15/scribus/scribus.cpp-	2014-09-02 01:46:38.858627113 +0200
+++ scribus15/scribus/scribus.cpp	2014-09-05 23:42:18.645805602 +0200
@@ -736,7 +736,7 @@
 bool ScribusMainWindow::warningVersion(QWidget *parent)
 {
 	bool retval = false;
-	int t = QMessageBox::warning(parent, QObject::tr("Scribus Development Version"), "<qt>" +
+	int t = ScribusMessageBox::warning(parent, QObject::tr("Scribus Development Version"), "<qt>" +
 								 QObject::tr("You are running a development version of Scribus 1.5.x. The document you are working with was created in Scribus 1.2.x.  Saving the current file under 1.5.x renders it unable to be edited in Scribus 1.2.x versions. To preserve the ability to edit in 1.2.x, save this file under a different name and further edit the newly named file and the original will be untouched. Are you sure you wish to proceed with this operation?") + "</qt>",
 								 QMessageBox::Ok | QMessageBox::Cancel, QMessageBox::Cancel);
 	if (t == QMessageBox::Ok)
@@ -3733,7 +3733,8 @@
 			if (nrToImport > (doc->DocPages.count() - doc->currentPage()->pageNr()))
 			{
 				qApp->setOverrideCursor(QCursor(Qt::ArrowCursor));
-				int scmReturn=ScMessageBox::information(this, tr("Import Page(s)"), "<qt>" +
+				int scmReturn=0;
+				if (ScribusQApp::useGUI) scmReturn=ScMessageBox::information(this, tr("Import Page(s)"), "<qt>" +
 				QObject::tr("<p>You are trying to import more pages than there are available in the current document counting from the active page.</p>Choose one of the following:"
 				"<ul><li><b>Create</b> missing pages</li>"
 				"<li><b>Import</b> pages until the last page</li>"
@@ -3866,8 +3867,8 @@
 	QFileInfo fi(fileName);
 	if (!fi.exists())
 	{
-		QMessageBox::warning(this, CommonStrings::trWarning, tr("File does not exist on the specified path :\n%1").arg(QDir::toNativeSeparators(fileName)), 
-		                           CommonStrings::tr_OK);
+		ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("File does not exist on the specified path :\n%1").arg(QDir::toNativeSeparators(fileName)),
+		                           QMessageBox::Ok);
 		return false;
 	}
 	
@@ -3897,7 +3898,7 @@
 		if (docNameUnmodified == platfName)
 		{
 			qApp->restoreOverrideCursor();
-			QMessageBox::information(this, tr("Document is already opened"),
+			ScribusMessageBox::information(this, tr("Document is already opened"),
 			                         tr("This document is already in use."
 			                            "You'll be switched into its window now."));
 			windowsMenuActivated(i);
@@ -3918,7 +3919,7 @@
 			QString title = tr("Fatal Error") ;
 			QString msg = "<qt>"+ tr("File %1 is not in an acceptable format").arg(FName)+"</qt>";
 			QString infoMsg = "<qt>" + tr("The file may be damaged or may have been produced in a later version of Scribus.") + "</qt>";
-			QMessageBox msgBox(QMessageBox::Critical, title, msg, QMessageBox::Ok | QMessageBox::Help, this);
+			ScribusMessageBox msgBox(QMessageBox::Critical, title, msg, QMessageBox::Ok | QMessageBox::Help, this);
 			msgBox.setInformativeText(infoMsg);
 			int i=msgBox.exec();
 			if (i==QMessageBox::Help)
@@ -4116,7 +4117,7 @@
 				{
 					mess += missing[m] + tr(" was replaced by: ")+replacement[m]+"\n";
 				}
-				QMessageBox::warning(this, CommonStrings::trWarning, mess, 1, 0, 0);
+				ScribusMessageBox::warning(this, CommonStrings::trWarning, mess);
 			}
 			doc->SoftProofing = doc->cmsSettings().SoftProofOn;
 			doc->Gamut        = doc->cmsSettings().GamutCheck;
@@ -4344,7 +4345,7 @@
 			{
 				if (currItem->itemText.length() != 0)
 				{
-					int t = QMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to clear all your text?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
+					int t = ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to clear all your text?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 					if (t == QMessageBox::No)
 						return;
 				}
@@ -4400,7 +4401,7 @@
 		{
 			int t = QMessageBox::Yes;
 			if (currItem->PictureIsAvailable)
-				t = QMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to replace your existing image?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
+				t = ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to replace your existing image?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 			if (t == QMessageBox::Yes)
 			{
 				QImage img = QApplication::clipboard()->image();
@@ -4524,7 +4525,7 @@
 	if ((doc->hasName) && (doc->isModified()) && (!doc->masterPageMode()) && (!doc->isConverted))
 	{
 		ScribusWin* tw = ActWin;
-		int t = QMessageBox::warning(this, CommonStrings::trWarning, "<qt>" +
+		int t = ScribusMessageBox::warning(this, CommonStrings::trWarning, "<qt>" +
 								 QObject::tr("The changes to your document have not been saved and you have requested to revert them. Do you wish to continue?") + "</qt>",
 								 QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 		if (t == QMessageBox::No)
@@ -4561,9 +4562,9 @@
 		QString fn(doc->DocName), savedFileName;
 		ret = DoFileSave(fn, &savedFileName);
 		if (!ret && !savedFileName.isEmpty())
-			QMessageBox::warning(this, CommonStrings::trWarning, tr("Your document was saved to a temporary file and could not be moved: \n%1").arg( QDir::toNativeSeparators(savedFileName) ), CommonStrings::tr_OK);
+			ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Your document was saved to a temporary file and could not be moved: \n%1").arg( QDir::toNativeSeparators(savedFileName) ));
 		else if (!ret)
-			QMessageBox::warning(this, CommonStrings::trWarning, tr("Cannot write the file: \n%1").arg( QDir::toNativeSeparators(fn) ), CommonStrings::tr_OK);
+			ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Cannot write the file: \n%1").arg( QDir::toNativeSeparators(fn) ));
 	}
 	else
 		ret = slotFileSaveAs();
@@ -4627,9 +4628,9 @@
 			QString savedFileName;
 			ret = DoFileSave(fna, &savedFileName);
 			if (!ret && !savedFileName.isEmpty())
-				QMessageBox::warning(this, CommonStrings::trWarning, tr("Your document was saved to a temporary file and could not be moved: \n%1").arg( QDir::toNativeSeparators(savedFileName) ), CommonStrings::tr_OK);
+				ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Your document was saved to a temporary file and could not be moved: \n%1").arg( QDir::toNativeSeparators(savedFileName) ));
 			else if (!ret)
-				QMessageBox::warning(this, CommonStrings::trWarning, tr("Cannot write the file: \n%1").arg( QDir::toNativeSeparators(fn) ), CommonStrings::tr_OK);
+				ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Cannot write the file: \n%1").arg( QDir::toNativeSeparators(fn) ));
 			else
 				doc->pdfOptions().fileName = ""; // #1482 reset the pdf file name
 		}
@@ -4771,7 +4772,7 @@
 		{
 			if (doc->checkerProfiles()[doc->curCheckProfile()].ignoreErrors)
 			{
-				int t = QMessageBox::warning(this, CommonStrings::trWarning,
+				int t = ScribusMessageBox::warning(this, CommonStrings::trWarning,
 											"<qt>"+ tr("Scribus has detected some errors. Consider using the Preflight Verifier to correct them")+"</qt>",
 											QMessageBox::Abort | QMessageBox::Ignore);
 				if (t == QMessageBox::Abort)
@@ -4855,7 +4856,7 @@
 			QString message = tr("Printing failed!");
 			if (!printError.isEmpty())
 				message += QString("\n%1").arg(printError);
-			QMessageBox::warning(this, CommonStrings::trWarning, message, CommonStrings::tr_OK);
+			ScribusMessageBox::warning(this, CommonStrings::trWarning, message);
 		}
 		else
 			doc->Print_Options.firstUse = false;
@@ -4943,7 +4944,7 @@
 			currItem=doc->m_Selection->itemAt(i);
 			if ((currItem->asTextFrame() || currItem->asPathText()) && currItem==storyEditor->currentItem() && doc==storyEditor->currentDocument())
 			{
-					QMessageBox::critical(this, tr("Cannot Cut In-Use Item"), tr("The item %1 is currently being edited by Story Editor. The cut operation will be cancelled").arg(currItem->itemName()), QMessageBox::Ok, QMessageBox::NoButton, QMessageBox::NoButton);
+					ScribusMessageBox::critical(this, tr("Cannot Cut In-Use Item"), tr("The item %1 is currently being edited by Story Editor. The cut operation will be cancelled").arg(currItem->itemName()));
 					return;
 			}
 		}
@@ -5525,7 +5526,7 @@
 
 void ScribusMainWindow::slotHelpAboutQt()
 {
-	QMessageBox::aboutQt(this, tr("About Qt"));
+	ScribusMessageBox::aboutQt(this, tr("About Qt"));
 }
 
 void ScribusMainWindow::slotHelpCheckUpdates()
@@ -6328,7 +6329,7 @@
 
 	if (newMode==modeDrawLatex && !prefsManager->renderFrameConfigured())
 	{
-		QMessageBox::critical(this, "Render Frames Not Configured", "Your Render Frame configuration seems to be invalid. Please check the settings in the External Tools section of the Preferences dialog.");
+		ScribusMessageBox::critical(this, "Render Frames Not Configured", "Your Render Frame configuration seems to be invalid. Please check the settings in the External Tools section of the Preferences dialog.");
 		return;
 	}
 
@@ -7352,7 +7353,7 @@
 				prefsManager->setNewPrefs(newPrefs);
 				QString message = tr("An error occurred while opening monitor profile.\nFormer monitor profile will be used." );
 				if (ScCore->usingGUI())
-					QMessageBox::warning(this, CommonStrings::trWarning, message, QMessageBox::Ok, 0, 0);
+					ScribusMessageBox::warning(this, CommonStrings::trWarning, message);
 				else
 					qWarning( "%s", message.toLocal8Bit().data() );
 			}
@@ -7434,7 +7435,7 @@
 	/*
 	if (!ScCore->haveGS())
 	{
-		QMessageBox mb(this);
+		ScribusMessageBox mb(this);
 		QString msg = tr("Ghostscript is not installed on your system, or Scribus is not configured with the path to the software.");
 		QString msg2("<qt>");
 #ifndef _WIN32
@@ -7444,7 +7445,7 @@
 #endif
 		//msg2 += tr("Please read our <a href=\"http://wiki.scribus.net/index.php/Ghostscript\">help and installation instructions</a>.") + "</qt>";
 		msg2 += tr("Click the Help button to read Scribus-related Ghostscript help and installation instructions.") + "</qt>";
-		QMessageBox msgBox;
+		ScribusMessageBox msgBox;
 		msgBox.addButton(QMessageBox::Ok);
 		msgBox.addButton(QMessageBox::Help);
 		msgBox.setIcon(QMessageBox::Warning);
@@ -7513,7 +7514,7 @@
 		if ( PPreview::usePostscriptPreview(currentPrinter, currentEngine) && ( !ScCore->haveGS() ) )
 		{
 			QString mess = tr("Ghostscript is missing : PostScript Print Preview is not available")+"\n\n";
-			QMessageBox::warning(this, CommonStrings::trWarning, mess, 1, 0, 0);
+			ScribusMessageBox::warning(this, CommonStrings::trWarning, mess);
 			return;
 		}
 		PPreview *dia = new PPreview(this, view, doc, currentPrinter, currentEngine);
@@ -7565,7 +7566,7 @@
 		{
 			if (doc->checkerProfiles()[doc->curCheckProfile()].ignoreErrors)
 			{
-				int t = QMessageBox::warning(this, CommonStrings::trWarning,
+				int t = ScribusMessageBox::warning(this, CommonStrings::trWarning,
 											"<qt>"+ tr("Scribus has detected some errors. Consider using the Preflight Verifier to correct them")+"</qt>",
 											QMessageBox::Abort | QMessageBox::Ignore);
 				if (t == QMessageBox::Abort)
@@ -7650,7 +7651,7 @@
 		{
 			if (doc->checkerProfiles()[doc->curCheckProfile()].ignoreErrors)
 			{
-				int t = QMessageBox::warning(this, CommonStrings::trWarning,
+				int t = ScribusMessageBox::warning(this, CommonStrings::trWarning,
 											tr("Scribus detected some errors.\nConsider using the Preflight Verifier  to correct them."),
 											QMessageBox::Abort | QMessageBox::Ignore);
 				if (t == QMessageBox::Abort)
@@ -7717,7 +7718,7 @@
 				QString message = tr("Cannot write the file: \n%1").arg(fn);
 				if (!epsError.isEmpty())
 					message += QString("\n%1").arg(epsError);
-				QMessageBox::warning(this, CommonStrings::trWarning, message, CommonStrings::tr_OK);
+				ScribusMessageBox::warning(this, CommonStrings::trWarning, message);
 			}
 		}
 	}
@@ -7747,7 +7748,7 @@
 		{
 			if (doc->checkerProfiles()[doc->curCheckProfile()].ignoreErrors)
 			{
-				int t = QMessageBox::warning(this, CommonStrings::trWarning,
+				int t = ScribusMessageBox::warning(this, CommonStrings::trWarning,
 											tr("Detected some errors.\nConsider using the Preflight Verifier to correct them"),
 											QMessageBox::Abort | QMessageBox::Ignore);
 				if (t == QMessageBox::Abort)
@@ -7851,7 +7852,7 @@
 					QString message = tr("Cannot write the file: \n%1").arg(doc->pdfOptions().fileName);
 					if (!errorMsg.isEmpty())
 						message = QString("%1\n%2").arg(message).arg(errorMsg);
-					QMessageBox::warning(this, CommonStrings::trWarning, message, CommonStrings::tr_OK);
+					ScribusMessageBox::warning(this, CommonStrings::trWarning, message);
 					return;
 				}
 				aa++;
@@ -7873,7 +7874,7 @@
 				QString message = tr("Cannot write the file: \n%1").arg(doc->pdfOptions().fileName);
 				if (!errorMsg.isEmpty())
 					message = QString("%1\n%2").arg(message).arg(errorMsg);
-				QMessageBox::warning(this, CommonStrings::trWarning, message, CommonStrings::tr_OK);
+				ScribusMessageBox::warning(this, CommonStrings::trWarning, message);
 			}
 		}
 		if (doc->pdfOptions().useDocBleeds)
@@ -8407,7 +8408,7 @@
 			}
 			if (lockedCount!=0 && lockedCount!=selectedItemCount)
 			{
-				QMessageBox msgBox;
+				ScribusMessageBox msgBox;
 				QPushButton *abortButton = msgBox.addButton(QMessageBox::Cancel);
 				QPushButton *lockButton = msgBox.addButton(tr("&Lock All"), QMessageBox::AcceptRole);
 				msgBox.addButton(tr("&Unlock All"), QMessageBox::AcceptRole);
@@ -9100,7 +9101,7 @@
 	if (ExternalApp != 0)
 	{
 		QString ieExe = QDir::toNativeSeparators(imageEditorExecutable);
-		QMessageBox::information(this, tr("Information"), "<qt>" + tr("The program %1 is already running!").arg(ieExe) + "</qt>", 1, 0, 0);
+		ScribusMessageBox::information(this, tr("Information"), "<qt>" + tr("The program %1 is already running!").arg(ieExe) + "</qt>");
 		return;
 	}
 	if (currItem->PictureIsAvailable)
@@ -9139,7 +9140,7 @@
 		{
 			delete ExternalApp;
 			ExternalApp = 0;
-			QMessageBox::critical(this, CommonStrings::trWarning, "<qt>" + tr("The program %1 is missing!").arg(imageEditorExecutable) + "</qt>", 1, 0, 0);
+			ScribusMessageBox::critical(this, CommonStrings::trWarning, "<qt>" + tr("The program %1 is missing!").arg(imageEditorExecutable) + "</qt>");
 			return;
 		}
 		connect(ExternalApp, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(imageEditorExited(int, QProcess::ExitStatus)));
@@ -9478,7 +9479,7 @@
 	PageItem_ImageFrame* imageItem=currItem->asImageFrame();
 	int t=QMessageBox::Yes;
 	if (imageItem->PictureIsAvailable)
-		t = QMessageBox::warning(this, CommonStrings::trWarning,
+		t = ScribusMessageBox::warning(this, CommonStrings::trWarning,
 								tr("Do you really want to replace your existing image?"),
 								QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 	if (t != QMessageBox::Yes)
@@ -10834,3 +10835,143 @@
 	doc->allItems_ChangePreviewResolution(index);
 	doc->view()->DrawNew();
 }
+
+/*
+** ScribusMessageBox
+*/
+
+ScribusMessageBox::ScribusMessageBox(QWidget *parent):
+			QMessageBox(parent)
+{
+}
+
+ScribusMessageBox::ScribusMessageBox(Icon icon, const QString &title, const QString &text, StandardButtons buttons, QWidget *parent, Qt::WindowFlags flags):
+			QMessageBox(icon, title, text, buttons, parent, flags)
+{
+	messageIcon = icon;
+	messageTitle = title;
+}
+
+QMessageBox::StandardButton ScribusMessageBox::findDefaultButton(QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton)
+{
+	QMessageBox::StandardButton result = defaultButton;
+
+	if (result == QMessageBox::NoButton) {
+		QMessageBox::StandardButton buttonList[] = { QMessageBox::Ok, QMessageBox::Cancel, QMessageBox::Close, QMessageBox::Discard,
+					QMessageBox::Yes, QMessageBox::No, QMessageBox::Abort, QMessageBox::Ignore, QMessageBox::NoButton };
+		for (int i = 0; buttonList[ i ] != QMessageBox::NoButton; i++)
+		{
+			if ((buttons & buttonList[ i ]) != 0)
+			{
+				result = buttonList[ i ];
+				break;
+			}
+		}
+	}
+
+	return result;
+}
+
+QMessageBox::StandardButton ScribusMessageBox::information(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
+{
+	if (ScribusQApp::useGUI)
+	{
+		return QMessageBox::information(parent, title, text, buttons, defaultButton);
+	}
+
+	qDebug() << title << " " << text;
+
+	return findDefaultButton(buttons, defaultButton);
+}
+
+QMessageBox::StandardButton ScribusMessageBox::question(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
+{
+	if (ScribusQApp::useGUI)
+	{
+		return QMessageBox::question(parent, title, text, buttons, defaultButton);
+	}
+
+	qDebug() << title << " " << text;
+
+	return findDefaultButton(buttons, defaultButton);
+}
+
+QMessageBox::StandardButton ScribusMessageBox::warning(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
+{
+	if (ScribusQApp::useGUI)
+	{
+		return QMessageBox::warning(parent, title, text, buttons, defaultButton);
+	}
+
+	qWarning() << title << " " << text;
+
+	return findDefaultButton(buttons, defaultButton);
+}
+
+QMessageBox::StandardButton ScribusMessageBox::critical(QWidget *parent, const QString &title, const QString &text, StandardButtons buttons, StandardButton defaultButton)
+{
+	if (ScribusQApp::useGUI)
+	{
+		return QMessageBox::critical(parent, title, text, buttons, defaultButton);
+	}
+
+	qCritical() << title << " " << text;
+
+	return findDefaultButton(buttons, defaultButton);
+}
+
+int ScribusMessageBox::exec()
+{
+	if (ScribusQApp::useGUI)
+	{
+		return QMessageBox::exec();
+	}
+
+	QString msg = messageTitle + text() + " " + informativeText() + " " + detailedText();
+
+	if (messageIcon == QMessageBox::Critical)
+	{
+		qCritical() << msg;
+	}
+	else if (messageIcon == QMessageBox::Warning)
+	{
+		qWarning() << msg;
+	}
+	else
+	{
+		qDebug() << msg;
+	}
+
+	return static_cast<int>(findDefaultButton(QMessageBox::standardButtons(), QMessageBox::NoButton));
+}
+
+QAbstractButton *ScribusMessageBox::clickedButton() const
+{
+	if (ScribusQApp::useGUI)
+	{
+		return QMessageBox::clickedButton();
+	}
+
+	return QMessageBox::defaultButton();	
+}
+
+void ScribusMessageBox::about(QWidget *parent, const QString &title, const QString &text)
+{
+	if (ScribusQApp::useGUI)
+	{
+		QMessageBox::about(parent, title, text);
+	}
+
+	qDebug() << title << " " << text;
+}
+
+void ScribusMessageBox::aboutQt(QWidget *parent, const QString &title)
+{
+	if (ScribusQApp::useGUI)
+	{
+		QMessageBox::aboutQt(parent, title);
+	}
+
+	qDebug() << title;
+}
+
--- scribus15/scribus/scribus.h-	2014-08-08 03:22:06.620838008 +0200
+++ scribus15/scribus/scribus.h	2014-09-05 22:06:35.571274748 +0200
@@ -36,6 +36,7 @@
 #include <QKeyEvent>
 #include <QMainWindow>
 #include <QMap>
+#include <QMessageBox>
 #include <QMultiHash>
 #include <QPixmap>
 #include <QPointer>
@@ -670,4 +671,43 @@
 	QQuickView *qqview;
 };
 
+/**
+  * \brief This class is provides alternate versions of QMessageBox functions
+  * that write to log files when Scribus does not have a GUI.
+  */
+class ScribusMessageBox : public QMessageBox
+{
+public:
+	ScribusMessageBox(QWidget *parent = 0);
+
+	ScribusMessageBox(QMessageBox::Icon icon, const QString &title, const QString &text,
+		QMessageBox::StandardButtons buttons = QMessageBox::NoButton, QWidget *parent = 0,
+		Qt::WindowFlags flags = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint);
+
+	int exec();
+
+	QAbstractButton *clickedButton() const;
+
+	static QMessageBox::StandardButton information(QWidget *parent, const QString &title, const QString &text,
+			StandardButtons buttons = Ok, StandardButton defaultButton = NoButton);
+
+	static QMessageBox::StandardButton question(QWidget *parent, const QString &title, const QString &text,
+			StandardButtons buttons = StandardButtons(Yes | No), StandardButton defaultButton = NoButton);
+
+	static QMessageBox::StandardButton warning(QWidget *parent, const QString &title, const QString &text,
+			StandardButtons buttons = Ok, StandardButton defaultButton = NoButton);
+
+	static QMessageBox::StandardButton critical(QWidget *parent, const QString &title, const QString &text,
+			StandardButtons buttons = Ok, StandardButton defaultButton = NoButton);
+
+	static void about(QWidget *parent, const QString &title, const QString &text);
+	static void aboutQt(QWidget *parent, const QString &title = QString());
+
+private:
+	QMessageBox::Icon messageIcon;
+	QString messageTitle;
+
+	static QMessageBox::StandardButton findDefaultButton(QMessageBox::StandardButtons buttons, QMessageBox::StandardButton defaultButton);
+};
+
 #endif
--- scribus15/scribus/scribuscore.cpp-	2014-09-05 22:06:35.566274713 +0200
+++ scribus15/scribus/scribuscore.cpp	2014-09-05 22:06:35.571274748 +0200
@@ -321,7 +321,7 @@
 		closeSplash();
 		QString mess = tr("There are no fonts found on your system.");
 		mess += "\n" + tr("Exiting now.");
-		QMessageBox::critical(0, tr("Fatal Error"), mess, 1, 0, 0);
+		ScribusMessageBox::critical(0, tr("Fatal Error"), mess);
 	}
 	else
 		setSplashStatus( tr("Font System Initialized") );
--- scribus15/scribus/scribusdoc.cpp-	2014-09-05 22:06:31.474245889 +0200
+++ scribus15/scribus/scribusdoc.cpp	2014-09-05 22:06:35.574274770 +0200
@@ -1035,7 +1035,7 @@
 		docPrefsData.colorPrefs.DCMSset.CMSinUse = false;
 		QString message = tr("An error occurred while opening ICC profiles, color management is not enabled." );
 		if (ScCore->usingGUI())
-			QMessageBox::warning(m_ScMW, CommonStrings::trWarning, message, QMessageBox::Ok, 0, 0);
+			ScribusMessageBox::warning(m_ScMW, CommonStrings::trWarning, message);
 		else
 			qWarning( "%s", message.toLocal8Bit().data() );
 	}
@@ -11524,7 +11524,8 @@
 		return;
 	if (ScCore->usingGUI() && useWarning)
 	{
-		int t = QMessageBox::warning(m_ScMW, CommonStrings::trWarning, tr("Do you really want to clear the content of all selected frames?"),  QMessageBox::Yes, QMessageBox::No | QMessageBox::Default);
+		int t = ScribusMessageBox::warning(m_ScMW, CommonStrings::trWarning, tr("Do you really want to clear the content of all selected frames?"),
+							QMessageBox::StandardButtons(QMessageBox::Yes | QMessageBox::No), QMessageBox::No);
 		if (t == QMessageBox::No)
 			return;
 	}
@@ -11615,7 +11616,7 @@
 				m_ScMW->storyEditor->setCurrentDocumentAndItem(this, NULL);
 			else
 			{
-				QMessageBox::critical(m_ScMW, tr("Cannot Delete In-Use Item"), tr("The item %1 is currently being edited by Story Editor. The delete operation will be cancelled").arg(currItem->itemName()), QMessageBox::Ok, QMessageBox::NoButton, QMessageBox::NoButton);
+				ScribusMessageBox::critical(m_ScMW, tr("Cannot Delete In-Use Item"), tr("The item %1 is currently being edited by Story Editor. The delete operation will be cancelled").arg(currItem->itemName()));
 				itemSelection->delaySignalsOff();
 				return;
 			}
@@ -12247,7 +12248,7 @@
 	int t = 2;
 	if (oneLocked)
 	{
-		QMessageBox msgBox;
+		ScribusMessageBox msgBox;
 		QPushButton *abortButton = msgBox.addButton(QMessageBox::Cancel);
 		QPushButton *lockButton = msgBox.addButton(tr("&Unlock All"), QMessageBox::AcceptRole);
 		QPushButton *unlockButton = msgBox.addButton(tr("&Skip locked objects"), QMessageBox::AcceptRole);
@@ -18589,7 +18590,7 @@
 
 	if (!errStr.isEmpty() && ScCore->usingGUI())
 	{
-		QMessageBox::warning(this->scMW(), QObject::tr("Unacceptable settings for note style"), "<qt>"+ errStr +"</qt>", QMessageBox::Ok, QMessageBox::Abort | QMessageBox::Default);
+		ScribusMessageBox::warning(this->scMW(), QObject::tr("Unacceptable settings for note style"), "<qt>"+ errStr +"</qt>");
 		return false;
 	}
 	return true;
--- scribus15/scribus/scribusview.cpp-	2014-09-02 01:46:38.855627086 +0200
+++ scribus15/scribus/scribusview.cpp	2014-09-05 22:06:35.574274770 +0200
@@ -311,9 +311,8 @@
 		// warning popping up in case colour management and out-of-gamut-display are active
 		// as from #4346: Add a preview for daltonian - PV
 		if (Doc->HasCMS && Doc->Gamut)
-			QMessageBox::information(m_ScMW, tr("Preview Mode"),
-						"<qt>" + tr("CMS is active. Therefore the color display may not match the perception by visually impaired") + "</qt>",
-						QMessageBox::Ok);
+			ScribusMessageBox::information(m_ScMW, tr("Preview Mode"),
+						"<qt>" + tr("CMS is active. Therefore the color display may not match the perception by visually impaired") + "</qt>");
 	}
 	else
 	{
@@ -3131,7 +3130,7 @@
 				cont=true;
 			if (currItem==m_ScMW->storyEditor->currentItem() && Doc==m_ScMW->storyEditor->currentDocument())
 			{
-				QMessageBox::information(m_ScMW, tr("Cannot Convert In-Use Item"), "<qt>" + tr("The item %1 is currently being edited by Story Editor. The convert to outlines operation for this item will be skipped").arg(currItem->itemName()) + "</qt>", QMessageBox::Ok, QMessageBox::NoButton, QMessageBox::NoButton);
+				ScribusMessageBox::information(m_ScMW, tr("Cannot Convert In-Use Item"), "<qt>" + tr("The item %1 is currently being edited by Story Editor. The convert to outlines operation for this item will be skipped").arg(currItem->itemName()) + "</qt>");
 				cont=true;
 			}
 			//Deselect();
--- scribus15/scribus/scribuswin.cpp-	2014-08-08 03:22:03.256813096 +0200
+++ scribus15/scribus/scribuswin.cpp	2014-09-05 22:06:35.574274770 +0200
@@ -68,7 +68,7 @@
 	m_MainWindow->newActWin(getSubWin());
 	if (m_Doc->isModified() && (m_Doc->viewCount == 1))
 	{
-		int exit = QMessageBox::information(m_MainWindow, CommonStrings::trWarning, tr("Document:")+" "+
+		int exit = ScribusMessageBox::information(m_MainWindow, CommonStrings::trWarning, tr("Document:")+" "+
 											QDir::toNativeSeparators(m_Doc->DocName)+"\n"+
 											tr("has been changed since the last save."),
 											QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel,
--- scribus15/scribus/ui/charselect.cpp-	2014-08-08 03:22:04.751824167 +0200
+++ scribus15/scribus/ui/charselect.cpp	2014-09-05 23:16:58.596037862 +0200
@@ -16,6 +16,7 @@
 #include "pageitem_textframe.h"
 #include "prefsmanager.h"
 #include "scpaths.h"
+#include "scribus.h"
 #include "scribusdoc.h"
 #include "scribusview.h"
 #include "util.h"
@@ -259,7 +260,7 @@
 				m_userTableModel->addCharacter(line);
 			else
 			{
-				QMessageBox::warning(this, tr("Error"),
+				ScribusMessageBox::warning(this, tr("Error"),
 				                     "<qt>" + tr("Error reading file %1 - file is corrupted propably.").arg(f) + "</qt>",
 				                     QMessageBox::Ok, QMessageBox::NoButton);
 				break;
@@ -301,7 +302,7 @@
 		file.close();
 	}
 	else
-		QMessageBox::warning(this, tr("Error"),
+		ScribusMessageBox::warning(this, tr("Error"),
 		                     "<qt>" + tr("Cannot write file %1").arg(f) + "</qt>",
 		                     QMessageBox::Ok, QMessageBox::NoButton);
 }
@@ -310,10 +311,9 @@
 {
 	if (m_userTableModel->characters().count() > 0
 	        &&
-	        !QMessageBox::question(this, tr("Empty the Palette?"),
+	        ScribusMessageBox::question(this, tr("Empty the Palette?"),
 	                               "<qt>" + tr("You will remove all characters from this palette. Are you sure?") + "</qt>",
-	                               CommonStrings::trYesKey, CommonStrings::trNoKey,
-	                               QString::null, 0, 1 )
+	                               QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes) == QMessageBox::Yes
 	   )
 	{
 		m_userTableModel->setCharacters(CharClassDef());
--- scribus15/scribus/ui/cmykfw.cpp-	2014-08-08 03:22:03.780816977 +0200
+++ scribus15/scribus/ui/cmykfw.cpp	2014-09-05 23:16:58.596037862 +0200
@@ -40,6 +40,7 @@
 #include "sccombobox.h"
 #include "scconfig.h"
 #include "scpaths.h"
+#include "scribus.h"
 #include "scribusdoc.h"
 #include "scrspinbox.h"
 #include "swatchcombo.h"
@@ -935,14 +936,14 @@
 	// if condition 10/21/2004 pv #1191 - just be sure that user cannot create "None" color
 	if (ColorName->text().isEmpty())
 	{
-		QMessageBox::information(this, CommonStrings::trWarning, tr("You cannot create a color without a name.\nPlease give it a name"), 0);
+		ScribusMessageBox::information(this, CommonStrings::trWarning, tr("You cannot create a color without a name.\nPlease give it a name"));
 		ColorName->setFocus();
 		ColorName->selectAll();
 		return;
 	}
 	if (ColorName->text() == CommonStrings::None || ColorName->text() == CommonStrings::tr_NoneColor)
 	{
-		QMessageBox::information(this, CommonStrings::trWarning, tr("You cannot create a color named \"%1\".\nIt is a reserved name for transparent color").arg(ColorName->text()), 0);
+		ScribusMessageBox::information(this, CommonStrings::trWarning, tr("You cannot create a color named \"%1\".\nIt is a reserved name for transparent color").arg(ColorName->text()));
 		ColorName->setFocus();
 		ColorName->selectAll();
 		return;
@@ -951,7 +952,7 @@
 	{
 		if (EColors->contains(ColorName->text()))
 		{
-			QMessageBox::information(this, CommonStrings::trWarning, tr("The name of the color already exists.\nPlease choose another one."), CommonStrings::tr_OK, 0, 0, 0, QMessageBox::Ok);
+			ScribusMessageBox::information(this, CommonStrings::trWarning, tr("The name of the color already exists.\nPlease choose another one."));
 			ColorName->selectAll();
 			ColorName->setFocus();
 			return;
--- scribus15/scribus/ui/collectforoutput_ui.cpp-	2014-08-08 03:22:03.756816799 +0200
+++ scribus15/scribus/ui/collectforoutput_ui.cpp	2014-09-05 23:08:25.837913851 +0200
@@ -89,9 +89,8 @@
 	if (!collectItems())
 	{
 		QString errorMsg( tr("Cannot collect all files for output for file:\n%1").arg(newName) );
-		QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
-							 "<qt>" + errorMsg + "</qt>",
-							 CommonStrings::tr_OK);
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning,
+							 "<qt>" + errorMsg + "</qt>");
 		return errorMsg;
 	}
 	progressDialog->setOverallProgress(itemCount+patternCount);
@@ -112,7 +111,7 @@
 	if (!collectDocument())
 	{
 		QString errorMsg( tr("Cannot collect the file: \n%1").arg(newName) );
-		QMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, "<qt>" + errorMsg + "</qt>", CommonStrings::tr_OK);
+		ScribusMessageBox::warning(ScCore->primaryMainWindow(), CommonStrings::trWarning, "<qt>" + errorMsg + "</qt>");
 		return errorMsg;
 	}
 
--- scribus15/scribus/ui/curvewidget.cpp-	2014-08-08 03:22:04.831824760 +0200
+++ scribus15/scribus/ui/curvewidget.cpp	2014-09-05 23:28:53.329106985 +0200
@@ -27,6 +27,7 @@
 #include "prefsfile.h"
 #include "prefsmanager.h"
 #include "scclocale.h"
+#include "scribus.h"
 #include "util.h"
 #include "util_color.h"
 #include "util_icon.h"
@@ -475,7 +476,7 @@
 				fx.close();
 			}
 			else
-				QMessageBox::warning(this, CommonStrings::trWarning, tr("Cannot write the file: \n%1").arg(fileName), CommonStrings::tr_OK);
+				ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Cannot write the file: \n%1").arg(fileName));
 		}
 	}
 }
--- scribus15/scribus/ui/gradientaddedit.cpp-	2014-08-08 03:22:04.773824330 +0200
+++ scribus15/scribus/ui/gradientaddedit.cpp	2014-09-05 23:28:53.330106951 +0200
@@ -25,6 +25,7 @@
 ***************************************************************************/
 
 #include "gradientaddedit.h"
+#include "scribus.h"
 #include <QMessageBox>
 
 gradientEditDialog::gradientEditDialog(QWidget* parent, QString name, VGradient gradient, ColorList doco, ScribusDoc *doc, QHash<QString, VGradient> *gradients, bool newFlag) : QDialog(parent)
@@ -55,7 +56,7 @@
 {
 	if (gradientName->text().isEmpty())
 	{
-		QMessageBox::information(this, CommonStrings::trWarning, tr("You cannot create a gradient without a name\nPlease give it a name"), 0);
+		ScribusMessageBox::information(this, CommonStrings::trWarning, tr("You cannot create a gradient without a name\nPlease give it a name"));
 		gradientName->setFocus();
 		gradientName->selectAll();
 		return;
@@ -64,7 +65,7 @@
 	{
 		if (m_gradients->contains(gradientName->text()))
 		{
-			QMessageBox::information(this, CommonStrings::trWarning, tr("The name of the gradient already exists,\nplease choose another one."), CommonStrings::tr_OK, 0, 0, 0, QMessageBox::Ok);
+			ScribusMessageBox::information(this, CommonStrings::trWarning, tr("The name of the gradient already exists,\nplease choose another one."));
 			gradientName->selectAll();
 			gradientName->setFocus();
 			return;
--- scribus15/scribus/ui/javadocs.cpp-	2014-08-08 03:22:03.777816954 +0200
+++ scribus15/scribus/ui/javadocs.cpp	2014-09-05 23:28:53.330106951 +0200
@@ -20,6 +20,7 @@
 #include "editor.h"
 #include "query.h"
 #include "scpage.h"
+#include "scribus.h"
 #include "scribusdoc.h"
 #include "util_icon.h"
 
@@ -112,7 +113,7 @@
 
 void JavaDocs::slotDelete()
 {
-	int exit = QMessageBox::warning(this,
+	int exit = ScribusMessageBox::warning(this,
 	                               CommonStrings::trWarning,
 	                               tr("Do you really want to delete this script?"),
 	                               QMessageBox::Yes | QMessageBox::No);
--- scribus15/scribus/ui/latexeditor.cpp-	2014-08-08 03:22:03.773816925 +0200
+++ scribus15/scribus/ui/latexeditor.cpp	2014-09-05 23:28:53.330106951 +0200
@@ -22,6 +22,7 @@
 #include "latexhelpers.h"
 #include "pageitem_latexframe.h"
 #include "prefsmanager.h"
+#include "scribus.h"
 
 #include <QDebug>
 #include <QFile>
@@ -119,17 +120,17 @@
 void LatexEditor::extEditorClicked()
 {
 	if (extEditor->state() != QProcess::NotRunning) {
-		QMessageBox::information(0, tr("Information"),
+		ScribusMessageBox::information(0, tr("Information"),
 		"<qt>" + tr("An editor for this frame is already running!") +
-		"</qt>", 1, 0, 0);
+		"</qt>");
 		return;
 	}
 	
 	QString full_command = PrefsManager::instance()->latexEditorExecutable();
 	if (full_command.isEmpty()) {
-		QMessageBox::information(0, tr("Information"),
+		ScribusMessageBox::information(0, tr("Information"),
 		"<qt>" + tr("Please specify an editor in the preferences!") +
-		"</qt>",1, 0, 0);
+		"</qt>");
 		return;
 	}
 
@@ -162,9 +163,9 @@
 		QTemporaryFile *editortempfile = new QTemporaryFile(
 			QDir::tempPath() + "/scribus_temp_editor_XXXXXX");
 		if (!editortempfile->open()) {
-			QMessageBox::critical(0, tr("Error"), "<qt>" + 
+			ScribusMessageBox::critical(0, tr("Error"), "<qt>" + 
 				tr("Could not create a temporary file to run the external editor!")
-				+ "</qt>", 1, 0, 0);
+				+ "</qt>");
 		}
 		extEditorFile = getLongPathName(editortempfile->fileName());
 		editortempfile->setAutoRemove(false);
@@ -203,9 +204,9 @@
 	if (exitCode && extEditor) {
 		qCritical() << "RENDER FRAME: Editor failed. Output was: " << 
 			qPrintable(QString(extEditor->readAllStandardOutput()));
-		QMessageBox::critical(0, tr("Error"), "<qt>" +
+		ScribusMessageBox::critical(0, tr("Error"), "<qt>" +
 			tr("Running the editor failed with exitcode %d!").arg(exitCode) +
-			"</qt>", 1, 0, 0);
+			"</qt>");
 		return;
 	}
 }
@@ -220,10 +221,10 @@
 {
 	externalEditorPushButton->setEnabled(true);
 	externalEditorPushButton->setText( tr("Run External Editor...") );
-	QMessageBox::critical(0, tr("Error"), "<qt>" +
+	ScribusMessageBox::critical(0, tr("Error"), "<qt>" +
 		tr("Running the editor \"%1\" failed!").
 		arg(PrefsManager::instance()->latexEditorExecutable()) +
-		"</qt>", 1, 0, 0);
+		"</qt>");
 }
 
 void LatexEditor::exitEditor()
@@ -381,9 +382,9 @@
 	QFileInfo fi(currentConfigFile);
 	
 	if (!fi.exists() || !fi.isReadable()) {
-		QMessageBox::critical(0, QObject::tr("Error"), "<qt>" + 
+		ScribusMessageBox::critical(0, QObject::tr("Error"), "<qt>" + 
 				QObject::tr("Configfile %1 not found or the file is not readable").
-				arg(currentConfigFile) + "</qt>", 1, 0, 0);
+				arg(currentConfigFile) + "</qt>");
 		return;
 	}
 
--- scribus15/scribus/ui/layers.cpp-	2014-08-14 19:53:53.263452591 +0200
+++ scribus15/scribus/ui/layers.cpp	2014-09-05 23:09:12.471287193 +0200
@@ -309,7 +309,7 @@
 	bool delToo = false;
 	if (m_Doc->layerContainsItems(layerID))
 	{
-		int scmReturn = QMessageBox::warning(this, tr("Delete Layer"),
+		int scmReturn = ScribusMessageBox::warning(this, tr("Delete Layer"),
 									tr("Do you want to delete all objects on this layer too?"),
 									QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, QMessageBox::No);
 		if (scmReturn == QMessageBox::Cancel)
--- scribus15/scribus/ui/masterpagepalette.cpp-	2014-08-14 19:53:53.265452605 +0200
+++ scribus15/scribus/ui/masterpagepalette.cpp	2014-09-05 22:38:57.652553815 +0200
@@ -141,7 +141,7 @@
 				if (m_doc->DocPages[i]->MPageNam == m_masterPage)
 					extraWarn = tr("This master page is used at least once in the document.");
 			}
-			int exit = QMessageBox::warning(this,
+			int exit = ScribusMessageBox::warning(this,
 										CommonStrings::trWarning,
 										tr("Do you really want to delete master page \"%1\"?").arg(m_masterPage)+"\n"+extraWarn,
 										QMessageBox::Yes | QMessageBox::YesToAll | QMessageBox::No | QMessageBox::Cancel);
@@ -488,7 +488,7 @@
 	QString oldName(item->text());
 	if ((oldName == CommonStrings::masterPageNormal) || (oldName == CommonStrings::trMasterPageNormal) || (oldName == CommonStrings::trMasterPageNormalLeft) || (oldName == CommonStrings::trMasterPageNormalMiddle) || (oldName == CommonStrings::trMasterPageNormalRight))
 	{
-		QMessageBox::information( this, tr("Unable to Rename Master Page"), tr("The Normal page is not allowed to be renamed."), QMessageBox::Ok );
+		ScribusMessageBox::information( this, tr("Unable to Rename Master Page"), tr("The Normal page is not allowed to be renamed.") );
 		return;
 	}
 	bool ok;
--- scribus15/scribus/ui/notesstyleseditor.cpp-	2014-08-08 03:22:04.832824767 +0200
+++ scribus15/scribus/ui/notesstyleseditor.cpp	2014-09-05 23:28:53.330106951 +0200
@@ -361,9 +361,9 @@
 void NotesStylesEditor::on_DeleteButton_clicked()
 {
 	QString nsName = NSlistBox->currentText();
-	int t = QMessageBox::warning(m_Doc->scMW(), tr("Warning! Deleting Notes Style"), "<qt>" +
+	int t = ScribusMessageBox::warning(m_Doc->scMW(), tr("Warning! Deleting Notes Style"), "<qt>" +
 								 tr("You are going to delete notes style %1. All notes and marks using that style are also going to be deleted.").arg(nsName) + "</qt>",
-								 QMessageBox::Ok, QMessageBox::Abort | QMessageBox::Default);
+								 QMessageBox::Ok | QMessageBox::Abort, QMessageBox::Abort);
 	if (t == QMessageBox::Ok)
 	{
 		m_Doc->deleteNotesStyle(nsName);
--- scribus15/scribus/ui/outlinepalette.cpp-	2014-08-08 03:22:03.779816969 +0200
+++ scribus15/scribus/ui/outlinepalette.cpp	2014-09-05 23:09:12.472287228 +0200
@@ -661,7 +661,7 @@
 					}
 					if (found)
 					{
-						QMessageBox::warning(this, CommonStrings::trWarning, "<qt>"+ tr("Name \"%1\" isn't unique.<br/>Please choose another.").arg(NameNew)+"</qt>", CommonStrings::tr_OK);
+						ScribusMessageBox::warning(this, CommonStrings::trWarning, "<qt>"+ tr("Name \"%1\" isn't unique.<br/>Please choose another.").arg(NameNew)+"</qt>");
 						ite->setText(col, NameOld);
 					}
 					else
--- scribus15/scribus/ui/pagepalette_masterpages.cpp-	2014-08-08 03:22:04.710823864 +0200
+++ scribus15/scribus/ui/pagepalette_masterpages.cpp	2014-09-05 22:41:38.597032684 +0200
@@ -165,7 +165,7 @@
 				if (m_doc->DocPages[i]->MPageNam == m_currentPage)
 					extraWarn = tr("This master page is used at least once in the document.");
 			}
-			int exit = QMessageBox::warning(this,
+			int exit = ScribusMessageBox::warning(this,
 										CommonStrings::trWarning,
 										tr("Do you really want to delete master page \"%1\"?").arg(m_currentPage)+"\n"+extraWarn,
 										QMessageBox::Yes | QMessageBox::YesToAll | QMessageBox::No | QMessageBox::Cancel);
@@ -523,7 +523,7 @@
 		(newName == CommonStrings::masterPageNormalMiddle) || (newName == CommonStrings::trMasterPageNormalMiddle) ||
 		(newName == CommonStrings::masterPageNormalRight)  || (newName == CommonStrings::trMasterPageNormalRight))
 	{
-		QMessageBox::information( this, tr("Unable to Rename Master Page"), tr("The Normal page is not allowed to be renamed."), QMessageBox::Ok );
+		ScribusMessageBox::information( this, tr("Unable to Rename Master Page"), tr("The Normal page is not allowed to be renamed."), QMessageBox::Ok );
 		success = false;
 	}
 	if (newName.isEmpty())
--- scribus15/scribus/ui/pagepalette_pages.cpp-	2014-08-08 03:22:04.737824064 +0200
+++ scribus15/scribus/ui/pagepalette_pages.cpp	2014-09-05 23:09:12.472287228 +0200
@@ -94,7 +94,7 @@
 		if (currView->Doc->DocPages[i]->MPageNam == tmp)
 			extraWarn = tr("This master page is used at least once in the document.");
 	}
-	int exit = QMessageBox::warning(this,
+	int exit = ScribusMessageBox::warning(this,
 	                              CommonStrings::trWarning,
 	                              tr("Do you really want to delete this master page?")+"\n"+extraWarn,
 	                              QMessageBox::Yes | QMessageBox::No);
--- scribus15/scribus/ui/pagepalette_widgets.cpp-	2014-08-08 03:22:04.812824619 +0200
+++ scribus15/scribus/ui/pagepalette_widgets.cpp	2014-09-05 23:34:05.838748360 +0200
@@ -23,6 +23,7 @@
 #include "pagepalette_widgets.h"
 #include "sccombobox.h"
 #include "scpage.h"
+#include "scribus.h"
 
 
 #include "util_icon.h"
@@ -116,9 +117,9 @@
 		if (currentItem())
 		{
 			e->accept();
-			if (!QMessageBox::question(this, tr("Delete Master Page?"),
+			if (ScribusMessageBox::question(this, tr("Delete Master Page?"),
 				"<qt>" + tr("Are you sure you want to delete this master page?") + "</qt>",
-				CommonStrings::trYesKey, CommonStrings::trNoKey, QString::null, 0, 1 ))
+				QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes) == QMessageBox::Yes)
 			{
 				emit DelMaster(currentItem()->text());
 			}
@@ -390,9 +391,9 @@
 	if (k == Qt::Key_Delete)
 	{
 		e->accept();
-		if (!QMessageBox::question(this, tr("Delete Page?"),
+		if (ScribusMessageBox::question(this, tr("Delete Page?"),
 			 "<qt>" + tr("Are you sure you want to delete this page?") + "</qt>",
-						 CommonStrings::trYesKey, CommonStrings::trNoKey, QString::null, 0, 1 ))
+			QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes) == QMessageBox::Yes)
 		{
 			bool dummy;
 			int pageToDelete=GetPage(currentRow(), currentColumn(), &dummy);
--- scribus15/scribus/ui/paintmanager.cpp-	2014-08-08 03:22:03.760816829 +0200
+++ scribus15/scribus/ui/paintmanager.cpp	2014-09-05 22:49:42.812932381 +0200
@@ -799,7 +799,7 @@
 			{
 				if (it == gradientItems)
 				{
-					int t = QMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to clear all your gradients?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
+					int t = ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to clear all your gradients?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 					if (t == QMessageBox::No)
 						return;
 					replaceMap.clear();
@@ -819,7 +819,7 @@
 			{
 				if (it == colorItems)
 				{
-					int t = QMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to clear all your colors and gradients?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
+					int t = ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to clear all your colors and gradients?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 					if (t == QMessageBox::No)
 						return;
 					replaceMap.clear();
@@ -876,7 +876,7 @@
 			{
 				if (it == patternItems)
 				{
-					int t = QMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to clear all your patterns?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
+					int t = ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to clear all your patterns?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 					if (t == QMessageBox::No)
 						return;
 					replaceMapPatterns.clear();
@@ -1059,7 +1059,7 @@
 			if (!fileName.isEmpty())
 				dirs->set("colors", fileName.left(fileName.lastIndexOf("/")));
 			if (!importColorsFromFile(fileName, m_colorList))
-				QMessageBox::information(this, tr("Information"), "<qt>" + tr("The file %1 does not contain colors which can be imported.\nIf the file was a PostScript-based, try to import it with File -&gt; Import. \nNot all files have DSC conformant comments where the color descriptions are located.\n This prevents importing colors from some files.\nSee the Edit Colors section of the documentation for more details.").arg(fileName) + "</qt>", 1, 0, 0);
+				ScribusMessageBox::information(this, tr("Information"), "<qt>" + tr("The file %1 does not contain colors which can be imported.\nIf the file was a PostScript-based, try to import it with File -&gt; Import. \nNot all files have DSC conformant comments where the color descriptions are located.\n This prevents importing colors from some files.\nSee the Edit Colors section of the documentation for more details.").arg(fileName) + "</qt>");
 			else
 			{
 				updateGradientList();
--- scribus15/scribus/ui/pdfopts.cpp-	2014-08-08 03:22:03.765816866 +0200
+++ scribus15/scribus/ui/pdfopts.cpp	2014-09-05 23:28:53.330106951 +0200
@@ -36,6 +36,7 @@
 #include "prefsfile.h"
 #include "prefsmanager.h"
 #include "scpaths.h"
+#include "scribus.h" 
 #include "scribusdoc.h"
 #include "scribusview.h"
 #include "ui/customfdialog.h"
@@ -161,7 +162,7 @@
 	QString dirPath = QDir::toNativeSeparators(fi.absolutePath());
 	if (!QFile::exists(fi.absolutePath()))
 	{
-		if (QMessageBox::question(this, tr( "Save as PDF" ),
+		if (ScribusMessageBox::question(this, tr( "Save as PDF" ),
 									tr("%1 does not exists and will be created, continue?").arg(dirPath),
 									QMessageBox::Ok | QMessageBox::Cancel)
 				  == QMessageBox::Cancel)
@@ -177,10 +178,9 @@
 	{
 		if (!d.mkpath(fi.absolutePath()))
 		{
-			QMessageBox::warning(this,
+			ScribusMessageBox::warning(this,
 								 CommonStrings::trWarning,
-								 tr("Cannot create directory: \n%1").arg(dirPath),
-								 CommonStrings::tr_OK);
+								 tr("Cannot create directory: \n%1").arg(dirPath));
 			return;
 		}
 	}
--- scribus15/scribus/ui/picsearchoptions.cpp-	2014-08-08 03:22:04.750824160 +0200
+++ scribus15/scribus/ui/picsearchoptions.cpp	2014-09-05 23:28:53.330106951 +0200
@@ -32,6 +32,7 @@
 #include <QLabel>
 #include "picsearchoptions.h"
 #include "filesearch.h"
+#include "scribus.h"
 
 PicSearchOptions::PicSearchOptions(QWidget* parent, const QString & fileName, const QString & searchBase) : QDialog( parent )
 {
@@ -100,7 +101,7 @@
 	QString searchBase = directoryEdit->text();
 	if (searchBase.isEmpty() || !QDir().exists(searchBase))
 	{
-		if (QMessageBox::warning(this, tr("Scribus - Image Search"), tr("Base directory for search does not exist.\nPlease choose another one."),
+		if (ScribusMessageBox::warning(this, tr("Scribus - Image Search"), tr("Base directory for search does not exist.\nPlease choose another one."),
 			QMessageBox::Ok | QMessageBox::Default | QMessageBox::Escape | QMessageBox::Cancel,
 			QMessageBox::NoButton) != QMessageBox::Ok)
 			return;
@@ -137,7 +138,7 @@
 	enableGuiWhileSearching(true);
 	if (!userCancelled)
 		// A running search failed
-		QMessageBox::warning(this, tr("Scribus - Image Search"), tr("The search failed: %1").arg(search->lastError()),
+		ScribusMessageBox::warning(this, tr("Scribus - Image Search"), tr("The search failed: %1").arg(search->lastError()),
 				QMessageBox::Ok|QMessageBox::Default|QMessageBox::Escape,
 				QMessageBox::NoButton);
 	reject();
--- scribus15/scribus/ui/picstatus.cpp-	2014-08-08 03:22:04.720823938 +0200
+++ scribus15/scribus/ui/picstatus.cpp	2014-09-05 22:50:50.607473233 +0200
@@ -447,7 +447,7 @@
 		lastSearchPath = dia->getLastDirSearched();
 		if (dia->getMatches().count() == 0)
 		{
-			QMessageBox::information(this, tr("Scribus - Image Search"), tr("No images named \"%1\" were found.").arg(dia->getFileName()),
+			ScribusMessageBox::information(this, tr("Scribus - Image Search"), tr("No images named \"%1\" were found.").arg(dia->getFileName()),
 					QMessageBox::Ok|QMessageBox::Default|QMessageBox::Escape,
 					QMessageBox::NoButton);
 		}
--- scribus15/scribus/ui/prefs_documentsections.cpp-	2014-08-08 03:22:04.793824478 +0200
+++ scribus15/scribus/ui/prefs_documentsections.cpp	2014-09-05 23:33:02.474221008 +0200
@@ -12,6 +12,7 @@
 #include "prefs_documentsections.h"
 #include "commonstrings.h"
 #include "prefsstructs.h"
+#include "scribus.h"
 #include "scribusdoc.h"
 
 Prefs_DocumentSections::Prefs_DocumentSections(QWidget* parent, ScribusDoc* doc)
@@ -178,7 +179,7 @@
 	if (outOfRange)
 	{
 		updateTable();
-		QMessageBox::warning(parentWidget(), tr("Page Number Out Of Bounds"),"<qt>"+ tr("The value you have entered is outside the range of page numbers in the current document (%1-%2).").arg(1).arg(m_maxpageindex+1)+"</qt>",QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton);
+		ScribusMessageBox::warning(parentWidget(), tr("Page Number Out Of Bounds"),"<qt>"+ tr("The value you have entered is outside the range of page numbers in the current document (%1-%2).").arg(1).arg(m_maxpageindex+1)+"</qt>");
 	}
 }
 
--- scribus15/scribus/ui/prefs_externaltools.cpp-	2014-08-08 03:22:04.795824493 +0200
+++ scribus15/scribus/ui/prefs_externaltools.cpp	2014-09-05 23:28:53.331106912 +0200
@@ -13,6 +13,7 @@
 #include "prefsstructs.h"
 #include "latexhelpers.h"
 #include "commonstrings.h"
+#include "scribus.h"
 #include "util_file.h"
 #include "util_ghostscript.h"
 
@@ -163,7 +164,7 @@
 			uniconvertorLineEdit->setText("uniconv");
 		else
 		{
-			QMessageBox::warning(0, CommonStrings::trWarning, tr("Uniconvertor executable not found!"), 1, 0, 0);
+			ScribusMessageBox::warning(0, CommonStrings::trWarning, tr("Uniconvertor executable not found!"));
 			uniconvertorLineEdit->setText("");
 		}
 	}
@@ -213,7 +214,7 @@
 					if (fInfo.exists())
 					{
 						cmd.append(parms);
-						int ret = QMessageBox::question(this, tr("LaTeX Command"),
+						int ret = ScribusMessageBox::question(this, tr("LaTeX Command"),
 								tr("Scribus has found the following pdflatex command:\n%1\nDo you want to use this?").arg(cmd),
 								QMessageBox::Yes|QMessageBox::No,QMessageBox::No);
 						if (ret==QMessageBox::Yes)
--- scribus15/scribus/ui/prefs_keyboardshortcuts.cpp-	2014-08-08 03:22:03.761816836 +0200
+++ scribus15/scribus/ui/prefs_keyboardshortcuts.cpp	2014-09-05 23:28:53.331106912 +0200
@@ -21,6 +21,7 @@
 #include "scpaths.h"
 #include "scplugin.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "util.h"
 #include "util_icon.h"
 
@@ -496,11 +497,10 @@
 				releaseKeyboard();
 				if (checkKey(keyCode))
 				{
-					QMessageBox::information(this, CommonStrings::trWarning,
+					ScribusMessageBox::information(this, CommonStrings::trWarning,
 											tr("The %1 key sequence is already in use by \"%2\"")
 												.arg(getTrKeyText(keyCode))
-												.arg(getAction(keyCode)),
-											CommonStrings::tr_OK);
+												.arg(getAction(keyCode)));
 					selectedLVI->setText(1,keyMap[lviToActionMap[selectedLVI]].keySequence.toString());
 					keyDisplay->setText(keyMap[lviToActionMap[selectedLVI]].keySequence.toString());
 				}
--- scribus15/scribus/ui/propertiespalette_xyz.cpp-	2014-09-04 16:40:56.943073893 +0200
+++ scribus15/scribus/ui/propertiespalette_xyz.cpp	2014-09-05 22:52:00.493032785 +0200
@@ -1223,7 +1223,7 @@
 	}
 	if (found)
 	{
-		QMessageBox::warning(this, CommonStrings::trWarning, "<qt>"+ tr("Name \"%1\" isn't unique.<br/>Please choose another.").arg(NameNew)+"</qt>", CommonStrings::tr_OK);
+		ScribusMessageBox::warning(this, CommonStrings::trWarning, "<qt>"+ tr("Name \"%1\" isn't unique.<br/>Please choose another.").arg(NameNew)+"</qt>");
 		nameEdit->setText(NameOld);
 		nameEdit->setFocus();
 	}
--- scribus15/scribus/ui/query.cpp-	2014-08-08 03:22:04.790824456 +0200
+++ scribus15/scribus/ui/query.cpp	2014-09-05 23:28:53.331106912 +0200
@@ -14,6 +14,7 @@
 #include <QValidator>
 #include <QRegExpValidator>
 #include "commonstrings.h"
+#include "scribus.h"
 #include "util_icon.h"
 
 Query::Query( QWidget* parent,  const char* name, bool modal, QString text, QString titel ) : QDialog( parent )
@@ -67,7 +68,7 @@
 	{
 		if (forbiddenList.contains(answerEdit->text()))
 		{
-			QMessageBox::warning(this, CommonStrings::trWarning, tr("Name \"%1\" is not allowed.\nPlease choose another.").arg(answerEdit->text()), CommonStrings::tr_OK);
+			ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Name \"%1\" is not allowed.\nPlease choose another.").arg(answerEdit->text()));
 			return;
 		}
 	}
@@ -77,7 +78,7 @@
 		{
 			if (checkMode)
 			{
-				int ret = QMessageBox::warning(this, 
+				int ret = ScribusMessageBox::warning(this, 
 												CommonStrings::trWarning,
 												tr("Name \"%1\" already exists.\nDo you want to replace the current contents?").arg(answerEdit->text()),
 												QMessageBox::Yes | QMessageBox::No,
@@ -89,7 +90,7 @@
 			}
 			else
 			{
-				QMessageBox::warning(this, CommonStrings::trWarning, tr("Name \"%1\" is not unique.\nPlease choose another.").arg(answerEdit->text()), CommonStrings::tr_OK);
+				ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Name \"%1\" is not unique.\nPlease choose another.").arg(answerEdit->text()));
 				return;
 			}
 		}
--- scribus15/scribus/ui/scrapbookpalette.cpp-	2014-08-08 03:22:03.769816895 +0200
+++ scribus15/scribus/ui/scrapbookpalette.cpp	2014-09-05 22:56:43.614296516 +0200
@@ -1363,7 +1363,7 @@
 {
 	if (!activeBView->canWrite)
 		return;
-	int t = QMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to delete all entries?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
+	int t = ScribusMessageBox::warning(this, CommonStrings::trWarning, tr("Do you really want to delete all entries?"), QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 	if (t == QMessageBox::No)
 		return;
 	QMap<QString,BibView::Elem>::Iterator it;
--- scribus15/scribus/ui/search.cpp-	2014-08-08 03:22:04.736824056 +0200
+++ scribus15/scribus/ui/search.cpp	2014-09-05 22:57:03.584455791 +0200
@@ -528,7 +528,7 @@
 			m_item->update();
 			DoReplace->setEnabled(false);
 			AllReplace->setEnabled(false);
-			QMessageBox::information(this, tr("Search/Replace"), tr("Search finished"), CommonStrings::tr_OK);
+			ScribusMessageBox::information(this, tr("Search/Replace"), tr("Search finished"));
 			m_item->itemText.setCursorPosition(0);
 			m_notFound = false;
 		}
@@ -642,9 +642,8 @@
 		}
 		else
 		{
-			QMessageBox::information(this, tr("Search/Replace"),
-					tr("Search finished, found %1 matches").arg(matchesFound),
-					CommonStrings::tr_OK);
+			ScribusMessageBox::information(this, tr("Search/Replace"),
+					tr("Search finished, found %1 matches").arg(matchesFound));
 			matchesFound = 0;
 			m_notFound = false;
 			QTextCursor cursor = storyTextEdit->textCursor();
--- scribus15/scribus/ui/smcellstyle.cpp-	2014-08-08 03:22:04.828824738 +0200
+++ scribus15/scribus/ui/smcellstyle.cpp	2014-09-05 23:28:53.331106912 +0200
@@ -11,6 +11,7 @@
 #include <QMessageBox>
 
 #include "prefsmanager.h"
+#include "scribus.h"
 #include "smcellstyle.h"
 #include "smcellstylewidget.h"
 
@@ -500,7 +501,7 @@
 	}
 
 	if (parentLoop)
-		QMessageBox::warning(this->widget(), CommonStrings::trWarning, tr("Setting that style as parent would create an infinite loop."), CommonStrings::tr_OK);
+		ScribusMessageBox::warning(this->widget(), CommonStrings::trWarning, tr("Setting that style as parent would create an infinite loop."));
 
 	selected(sel);
 
--- scribus15/scribus/ui/smtablestyle.cpp-	2014-08-08 03:22:03.775816940 +0200
+++ scribus15/scribus/ui/smtablestyle.cpp	2014-09-05 23:28:53.331106912 +0200
@@ -11,6 +11,7 @@
 #include <QMessageBox>
 
 #include "prefsmanager.h"
+#include "scribus.h"
 #include "smtablestyle.h"
 #include "smtablestylewidget.h"
 
@@ -502,7 +503,7 @@
 	}
 
 	if (parentLoop)
-		QMessageBox::warning(this->widget(), CommonStrings::trWarning, tr("Setting that style as parent would create an infinite loop."), CommonStrings::tr_OK);
+		ScribusMessageBox::warning(this->widget(), CommonStrings::trWarning, tr("Setting that style as parent would create an infinite loop."));
 
 	selected(sel);
 
--- scribus15/scribus/ui/smtextstyles.cpp-	2014-09-02 01:46:39.033628653 +0200
+++ scribus15/scribus/ui/smtextstyles.cpp	2014-09-05 22:57:57.471884369 +0200
@@ -1776,7 +1776,7 @@
 	}
 
 	if (parentLoop)
-		QMessageBox::warning(this->widget(), CommonStrings::trWarning, tr("Setting that style as parent would create an infinite loop."), CommonStrings::tr_OK);
+		ScribusMessageBox::warning(this->widget(), CommonStrings::trWarning, tr("Setting that style as parent would create an infinite loop."));
 
 	selected(sel);
 
@@ -2703,7 +2703,7 @@
 	}
 
 	if (parentLoop)
-		QMessageBox::warning(this->widget(), CommonStrings::trWarning, tr("Setting that style as parent would create an infinite loop."), CommonStrings::tr_OK);
+		ScribusMessageBox::warning(this->widget(), CommonStrings::trWarning, tr("Setting that style as parent would create an infinite loop."));
 
 	selected(sel);
 
--- scribus15/scribus/ui/storyeditor.cpp-	2014-08-08 03:22:04.818824663 +0200
+++ scribus15/scribus/ui/storyeditor.cpp	2014-09-05 23:28:53.332106872 +0200
@@ -68,6 +68,7 @@
 #include "scfonts.h"
 #include "scplugin.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribuscore.h"
 #include "scribusview.h"
 #include "scrspinbox.h"
@@ -2163,11 +2164,10 @@
 	if (m_textChanged)
 	{
 		m_blockUpdate = true;
-		int t = QMessageBox::warning(this, CommonStrings::trWarning,
+		int t = ScribusMessageBox::warning(this, CommonStrings::trWarning,
 									tr("Do you want to save your changes?"),
-									QMessageBox::Yes|QMessageBox::Default,
-									QMessageBox::No,
-									QMessageBox::Cancel|QMessageBox::Escape);
+									QMessageBox::Yes|QMessageBox::No|QMessageBox::Cancel,
+									QMessageBox::No);
 		qApp->processEvents();
 		if (t == QMessageBox::Yes)
 		{
@@ -2760,9 +2760,9 @@
 	if (m_textChanged)
 	{
 		m_blockUpdate = true;
-		int t = QMessageBox::warning(this, CommonStrings::trWarning,
+		int t = ScribusMessageBox::warning(this, CommonStrings::trWarning,
 									 tr("Do you really want to lose all your changes?"),
-									 QMessageBox::Yes, QMessageBox::No | QMessageBox::Default);
+									 QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 		qApp->processEvents();
 		if (t == QMessageBox::No)
 		{
@@ -2789,9 +2789,9 @@
 	if (!Editor->document()->isEmpty())
 	{
 		m_blockUpdate = true;
-		int t = QMessageBox::warning(this, CommonStrings::trWarning,
+		int t = ScribusMessageBox::warning(this, CommonStrings::trWarning,
 								 tr("Do you really want to clear all your text?"),
-								 QMessageBox::Yes, QMessageBox::No | QMessageBox::Default);
+								 QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
 		qApp->processEvents();
 		if (t == QMessageBox::No)
 		{
--- scribus15/scribus/ui/stylemanager.cpp-	2014-08-08 03:22:04.713823886 +0200
+++ scribus15/scribus/ui/stylemanager.cpp	2014-09-05 23:28:53.332106872 +0200
@@ -16,6 +16,7 @@
 #include "prefsfile.h"
 #include "prefsmanager.h"
 #include "scraction.h"
+#include "scribus.h"
 #include "scribusdoc.h"
 #include "scribusview.h"
 #include "selection.h"
@@ -1061,9 +1062,8 @@
 
 	if (!shortcut.isNull() && shortcutExists(shortcut))
 	{
-		QMessageBox::information(this, CommonStrings::trWarning,
-		                         tr("This key sequence is already in use"),
-		                         CommonStrings::tr_OK);
+		ScribusMessageBox::information(this, CommonStrings::trWarning,
+		                         tr("This key sequence is already in use"));
 		if (m_shortcutWidget)
 			m_shortcutWidget->setShortcut(m_item->shortcut(sitem->text(NAME_COL)));
 		return;
--- scribus15/scribus/urllauncher.cpp-	2014-08-08 03:22:06.280835490 +0200
+++ scribus15/scribus/urllauncher.cpp	2014-09-05 22:06:35.574274770 +0200
@@ -74,7 +74,7 @@
 			int ret=System(extBrowser, args);
 			if (ret!=0)
 			{
-				QMessageBox::StandardButton sb=QMessageBox::critical(p, tr("External Web Browser Failed to Start"), tr("Scribus was not able to start the external web browser application %1. Please check the setting in Preferences.\nWould you like to start the system's default browser instead?").arg(PrefsManager::instance()->extBrowserExecutable()), QMessageBox::Ok|QMessageBox::Cancel, QMessageBox::Ok);
+				QMessageBox::StandardButton sb=ScribusMessageBox::critical(p, tr("External Web Browser Failed to Start"), tr("Scribus was not able to start the external web browser application %1. Please check the setting in Preferences.\nWould you like to start the system's default browser instead?").arg(PrefsManager::instance()->extBrowserExecutable()), QMessageBox::Ok|QMessageBox::Cancel, QMessageBox::Ok);
 				if (sb==QMessageBox::Ok)
 					QDesktopServices::openUrl(link);
 			}
--- scribus15/scribus/util.cpp-	2014-08-08 03:22:03.754816784 +0200
+++ scribus15/scribus/util.cpp	2014-09-05 22:06:35.574274770 +0200
@@ -35,6 +35,7 @@
 #include "pageitem_table.h"
 #include "scribusview.h"
 #include "scribusdoc.h"
+#include "scribus.h"
 #include "scpainter.h"
 
 #include <signal.h>
@@ -361,7 +362,7 @@
 	if (fi.exists())
 	{
 		QString fn = QDir::toNativeSeparators(filename);
-		int t = QMessageBox::warning(parent, QObject::tr("File exists"),
+		int t = ScribusMessageBox::warning(parent, QObject::tr("File exists"),
 									 "<qt>"+ QObject::tr("A file named '%1' already exists.<br/>Do you want to replace it with the file you are saving?").arg(fn) +"</qt>",
 											 QMessageBox::Ok | QMessageBox::Cancel, QMessageBox::Cancel);
 		if (t == QMessageBox::Cancel)
