diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:34:09 +0200 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-01-13 19:34:09 +0200 |
commit | 4c04a441814c7d1dda08f6075ab4e09dc05541df (patch) | |
tree | cf8a3dbd77114c416255d3995cd1b047072ef26a /src/schedule.cpp | |
parent | 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e (diff) | |
download | klamav-4c04a441814c7d1dda08f6075ab4e09dc05541df.tar.gz klamav-4c04a441814c7d1dda08f6075ab4e09dc05541df.zip |
Conversion KDE3->TDE
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/schedule.cpp')
-rw-r--r-- | src/schedule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/schedule.cpp b/src/schedule.cpp index 56c03d2..4ad3532 100644 --- a/src/schedule.cpp +++ b/src/schedule.cpp @@ -15,7 +15,7 @@ #include <tqlayout.h> #include <tqlistview.h> //#include <qlistviewitem.h> -#include <kglobalsettings.h> +#include <tdeglobalsettings.h> #include <kdialog.h> #include <dcopclient.h> #include <kstdguiitem.h> @@ -173,7 +173,7 @@ void Schedule::slotAddDateToCombo(TQDate newdate) check_combo->insertItem(newstring); check_combo->setCurrentItem(check_combo->count()-1); - DCOPClient* client = KApplication::dcopClient(); + DCOPClient* client = TDEApplication::dcopClient(); client->attach(); client->registerAs(kapp->name()); @@ -357,7 +357,7 @@ TQString Schedule::createScanScript() if ( file.open( IO_WriteOnly ) ) { TQTextStream ts( &file ); - TQString kdedir = getenv("KDEDIR"); + TQString tdedir = getenv("TDEDIR"); ts << "#!/bin/bash" << "\n"; @@ -403,7 +403,7 @@ TQString Schedule::createScanScript() TQString Schedule::createStartupScript() { - TQString path = KGlobalSettings::autostartPath(); + TQString path = TDEGlobalSettings::autostartPath(); TQDir startupdir(path); if (!startupdir.exists()) return TQString("Error"); |