summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnu Mittal <anu22mittal@gmail.com>2015-03-15 03:45:30 (GMT)
committerAnu Mittal <anu22mittal@gmail.com>2015-03-15 03:45:30 (GMT)
commit8c21b13bc9a231bc25ff084434e7bd51558ad732 (patch)
tree7c8a02040e6783aab98138f4c4fec3ff85386653
parent3c8c3678a03a4b4eaaf1ec2ff4af2c73e87d7c04 (diff)
removing warnings from kalziumdataobject.cpp
-rw-r--r--src/kalziumdataobject.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kalziumdataobject.cpp b/src/kalziumdataobject.cpp
index 356a1a6..b527991 100644
--- a/src/kalziumdataobject.cpp
+++ b/src/kalziumdataobject.cpp
@@ -28,12 +28,12 @@
#include <QFile>
#include <QPainter>
-#include <klocale.h>
+#include <QLocale>
#include <kdebug.h>
-#include <kurl.h>
+#include <QUrl>
#include <kstandarddirs.h>
-#include <kpixmapcache.h>
-#include <kglobal.h>
+#include <QPixmapCache>
+#include <QGlobal>
#include <kunitconversion/converter.h>
struct StaticKalziumDataObject
@@ -192,11 +192,11 @@ void KalziumDataObject::cleanup()
void KalziumDataObject::loadIconSet()
{
- KPixmapCache cache("kalzium");
+ QPixmapCache cache("kalzium");
//FIXME in case we ever get more than one theme we need
//a settings-dialog where we can select the different iconsets...
const QString setname = "school";
- const QString pathname = KGlobal::dirs()->findResourceDir("appdata", "data/iconsets/") + "data/iconsets/";
+ const QString pathname = QGlobal::dirs()->findResourceDir("appdata", "data/iconsets/") + "data/iconsets/";
for (int i = 0; i < m_numOfElements; ++i)
{