Commit 0a6d907e authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Replace some kapp call by qapp call

svn path=/trunk/KDE/kdeedu/kmplot/; revision=654492
parent 4bac9977
......@@ -25,7 +25,6 @@
#include "kmplot.h"
#include <kaction.h>
#include <kapplication.h>
#include <kconfig.h>
#include <kedittoolbar.h>
#include <kshortcutsdialog.h>
......@@ -41,6 +40,7 @@
#include "maindlg.h"
#include <ktoolinvocation.h>
#include <ktogglefullscreenaction.h>
#include <kapplication.h>
#include "kmplotadaptor.h"
#include <QtDBus>
......@@ -82,8 +82,8 @@ KmPlot::KmPlot( KCmdLineArgs* args)
// if we couldn't find our Part, we exit since the Shell by
// itself can't do anything useful
KMessageBox::error(this, i18n("Could not find KmPlot's part."));
kapp->quit();
// we return here, cause kapp->quit() only means "exit the
qApp->quit();
// we return here, cause qApp->quit() only means "exit the
// next time we enter the event loop...
return;
}
......
......@@ -33,10 +33,9 @@
// KDE includes
#include <kaboutdata.h>
#include <kapplication.h>
#include <kcmdlineargs.h>
#include <klocale.h>
#include <kapplication.h>
static const char description[] =
......
......@@ -33,7 +33,6 @@
// KDE includes
#include <kaboutdata.h>
#include <kapplication.h>
#include <kconfigdialog.h>
#include <kconfigdialogmanager.h>
#include <kdebug.h>
......@@ -53,6 +52,7 @@
#include <kactioncollection.h>
#include <kicon.h>
#include <kiconloader.h>
#include <kapplication.h>
// local includes
#include "calculator.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment