summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-11-07 22:10:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-11-07 22:10:13 +0900
commite6ccae688228e0db559c003c3cf78900217c5b67 (patch)
treef3cbde6af1a7d8f04a6b6e43e8f4de37af38f7dd
parent44cfd93d39e1084c1a8f5b5d5726d4924ac74506 (diff)
downloadknutclient-e6ccae688228e0db559c003c3cf78900217c5b67.tar.gz
knutclient-e6ccae688228e0db559c003c3cf78900217c5b67.zip
Don't use obsolete header kapp.h
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--src/knutanalog.cpp2
-rw-r--r--src/knutdock.cpp4
-rw-r--r--src/knutfrontpanel.cpp3
-rw-r--r--src/knutmainwindow.h5
-rw-r--r--src/knutnet.h6
-rw-r--r--src/knutprintupsvar.h4
-rw-r--r--src/knutrwvar.cpp5
-rw-r--r--src/main.cpp2
8 files changed, 8 insertions, 23 deletions
diff --git a/src/knutanalog.cpp b/src/knutanalog.cpp
index 8786e71..2cbbf26 100644
--- a/src/knutanalog.cpp
+++ b/src/knutanalog.cpp
@@ -34,7 +34,7 @@
#include <tqpaintdevice.h>
#include <tqcolor.h>
-#include <kapp.h>
+#include <tdeapplication.h>
diff --git a/src/knutdock.cpp b/src/knutdock.cpp
index b565ec5..c8fd486 100644
--- a/src/knutdock.cpp
+++ b/src/knutdock.cpp
@@ -18,10 +18,9 @@
#include "knutdock.h"
#include "knutnet.h"
-//#include <tdeglobal.h>
#include <kiconloader.h>
#include <tdelocale.h>
-#include <kapp.h>
+#include <tdeapplication.h>
#include <tdeaboutapplication.h>
#include <tdemessagebox.h>
@@ -31,7 +30,6 @@
#include <tqbitmap.h>
#include <tqstring.h>
-
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/src/knutfrontpanel.cpp b/src/knutfrontpanel.cpp
index 9aac1e9..b877d57 100644
--- a/src/knutfrontpanel.cpp
+++ b/src/knutfrontpanel.cpp
@@ -21,14 +21,13 @@
#include "knutnet.h"
#include <tdelocale.h>
-#include <kapp.h>
+#include <tdeapplication.h>
#include <tqtooltip.h>
#include <tqstring.h>
#include <tqpaintdevice.h>
#include <tqlayout.h>
#include <tqlcdnumber.h>
-//#include <tqframe.h>
#include <tqlabel.h>
#include <tqcolor.h>
#include <tqfont.h>
diff --git a/src/knutmainwindow.h b/src/knutmainwindow.h
index 2130112..712c713 100644
--- a/src/knutmainwindow.h
+++ b/src/knutmainwindow.h
@@ -31,15 +31,12 @@
#include "knutanalog.h"
#include "knutpanelmeter.h"
-#include <kapp.h>
+#include <tdeapplication.h>
#include <tdemainwindow.h>
#include <tdeaction.h>
-//#include <kprogress.h>
-
#include <tqwidget.h>
#include <tqdatetime.h>
-//#include <tqprogressbar.h>
class TQString;
diff --git a/src/knutnet.h b/src/knutnet.h
index 393adac..8483e00 100644
--- a/src/knutnet.h
+++ b/src/knutnet.h
@@ -18,17 +18,13 @@
#ifndef KNUTNET_H
#define KNUTNET_H
-//Od verze 3 je kapp jen odkaz na kapplication
-//Since version 3 is kapp pointer on kapplication only
-//#include <tdeapplication.h>
-#include <kapp.h>
+#include <tdeapplication.h>
#include <tqobject.h>
#include <tqsocket.h>
#include <tqsocketdevice.h>
#include <tqnetworkprotocol.h>
#include <tqmutex.h>
-
#include <tqvaluevector.h>
diff --git a/src/knutprintupsvar.h b/src/knutprintupsvar.h
index eb85e39..c8c4a5a 100644
--- a/src/knutprintupsvar.h
+++ b/src/knutprintupsvar.h
@@ -18,9 +18,7 @@
#ifndef KNUTPRINTUPSVAR_H
#define KNUTPRINTUPSVAR_H
-//Od verze 3 je kapp jen odkaz na kapplication
-//#include <tdeapplication.h>
-#include <kapp.h>
+#include <tdeapplication.h>
#include "knutupsdata.h"
#include "knutnet.h"
diff --git a/src/knutrwvar.cpp b/src/knutrwvar.cpp
index 4f9c2f9..53100bd 100644
--- a/src/knutrwvar.cpp
+++ b/src/knutrwvar.cpp
@@ -20,14 +20,11 @@
#include "knutvardata.h"
#include "knutprintupsvar.h"
-//Od verze 3 je kapp jen odkaz na kapplication
-//#include <tdeapplication.h>
-#include <kapp.h>
+#include <tdeapplication.h>
#include <kcombobox.h>
#include <tdemessagebox.h>
#include <tdelocale.h>
-
#include <tqframe.h>
#include <tqlabel.h>
#include <tqstring.h>
diff --git a/src/main.cpp b/src/main.cpp
index fcf30a9..51579aa 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -19,7 +19,7 @@
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <tdelocale.h>
-#include <kapp.h>
+#include <tdeapplication.h>
#include <kuniqueapplication.h>
#include "knutclient.h"