From e4e0479220e9e9616b68b2a11e42cff7a8af7b3d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:17:06 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- ksysguard/gui/SensorDisplayLib/ProcessController.h | 2 +- ksysguard/gui/ksysguard.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ksysguard') diff --git a/ksysguard/gui/SensorDisplayLib/ProcessController.h b/ksysguard/gui/SensorDisplayLib/ProcessController.h index 4e2bba034..69445b91e 100644 --- a/ksysguard/gui/SensorDisplayLib/ProcessController.h +++ b/ksysguard/gui/SensorDisplayLib/ProcessController.h @@ -40,7 +40,7 @@ class TQComboBox; class KPushButton; class KListViewSearchLineWidget; -extern KApplication* Kapp; +extern TDEApplication* Kapp; /** * This widget implements a process list page. Besides the process diff --git a/ksysguard/gui/ksysguard.cc b/ksysguard/gui/ksysguard.cc index 8a137d9b4..2dbe1bb5e 100644 --- a/ksysguard/gui/ksysguard.cc +++ b/ksysguard/gui/ksysguard.cc @@ -571,9 +571,9 @@ int main( int argc, char** argv ) TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::addCmdLineOptions( options ); - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); // initialize KDE application - KApplication *app = new KApplication; + TDEApplication *app = new TDEApplication; KSGRD::SensorMgr = new KSGRD::SensorManager(); KSGRD::Style = new KSGRD::StyleEngine(); -- cgit v1.2.1