From 9f17add4ff251ba790bfcf560efc70cce151f5af Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 7 Nov 2024 22:10:13 +0900 Subject: [PATCH] Don't use obsolete header kapp.h Signed-off-by: Michele Calgaro (cherry picked from commit e6ccae688228e0db559c003c3cf78900217c5b67) --- src/knutanalog.cpp | 2 +- src/knutdock.cpp | 4 +--- src/knutfrontpanel.cpp | 3 +-- src/knutmainwindow.h | 5 +---- src/knutnet.h | 6 +----- src/knutprintupsvar.h | 4 +--- src/knutrwvar.cpp | 5 +---- src/main.cpp | 2 +- 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 #include -#include +#include 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 #include #include -#include +#include #include #include @@ -31,7 +30,6 @@ #include #include - #include #include #include 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 -#include +#include #include #include #include #include #include -//#include #include #include #include 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 +#include #include #include -//#include - #include #include -//#include 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 -#include +#include #include #include #include #include #include - #include 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 -#include +#include #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 -#include +#include #include #include #include - #include #include #include 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 #include #include -#include +#include #include #include "knutclient.h"