summaryrefslogtreecommitdiffstats
path: root/kcontrol/kded/kcmkded.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/kded/kcmkded.cpp')
-rw-r--r--kcontrol/kded/kcmkded.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kcontrol/kded/kcmkded.cpp b/kcontrol/kded/kcmkded.cpp
index a560183eb..a6bec1ca8 100644
--- a/kcontrol/kded/kcmkded.cpp
+++ b/kcontrol/kded/kcmkded.cpp
@@ -31,13 +31,13 @@
#include <tdeapplication.h>
#include <kbuttonbox.h>
#include <kdebug.h>
-#include <kdesktopfile.h>
+#include <tdedesktopfile.h>
#include <kdialog.h>
#include <kgenericfactory.h>
#include <tdelistview.h>
#include <tdemessagebox.h>
#include <kservice.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
#include "kcmkded.h"
#include "kcmkded.moc"
@@ -103,9 +103,9 @@ KDEDConfig::KDEDConfig(TQWidget* parent, const char* name, const TQStringList &)
_pbStart->setEnabled( false );
_pbStop->setEnabled( false );
- connect(_pbStart, TQT_SIGNAL(clicked()), TQT_SLOT(slotStartService()));
- connect(_pbStop, TQT_SIGNAL(clicked()), TQT_SLOT(slotStopService()));
- connect(_lvStartup, TQT_SIGNAL(selectionChanged(TQListViewItem*)), TQT_SLOT(slotEvalItem(TQListViewItem*)) );
+ connect(_pbStart, TQ_SIGNAL(clicked()), TQ_SLOT(slotStartService()));
+ connect(_pbStop, TQ_SIGNAL(clicked()), TQ_SLOT(slotStopService()));
+ connect(_lvStartup, TQ_SIGNAL(selectionChanged(TQListViewItem*)), TQ_SLOT(slotEvalItem(TQListViewItem*)) );
load();
}
@@ -156,12 +156,12 @@ void KDEDConfig::load( bool useDefaults ) {
CheckListItem* clitem;
for ( TQStringList::ConstIterator it = files.begin(); it != files.end(); ++it ) {
- if ( KDesktopFile::isDesktopFile( *it ) ) {
- KDesktopFile file( *it, true, "services" );
+ if ( TDEDesktopFile::isDesktopFile( *it ) ) {
+ TDEDesktopFile file( *it, true, "services" );
if ( file.readBoolEntry("X-TDE-Kded-autoload") ) {
clitem = new CheckListItem(_lvStartup, TQString::null);
- connect(clitem, TQT_SIGNAL(changed(TQCheckListItem*)), TQT_SLOT(slotItemChecked(TQCheckListItem*)));
+ connect(clitem, TQ_SIGNAL(changed(TQCheckListItem*)), TQ_SLOT(slotItemChecked(TQCheckListItem*)));
clitem->setOn(autoloadEnabled(&kdedrc, *it));
item = clitem;
item->setText(1, file.readName());
@@ -194,7 +194,7 @@ void KDEDConfig::save() {
for ( TQStringList::ConstIterator it = files.begin(); it != files.end(); ++it ) {
- if ( KDesktopFile::isDesktopFile( *it ) ) {
+ if ( TDEDesktopFile::isDesktopFile( *it ) ) {
TDEConfig file( *it, false, false, "services" );
file.setGroup("Desktop Entry");
@@ -212,7 +212,7 @@ void KDEDConfig::save() {
kdedrc.sync();
DCOPRef( "kded", "kded" ).call( "reconfigure" );
- TQTimer::singleShot(0, this, TQT_SLOT(slotServiceRunningToggled()));
+ TQTimer::singleShot(0, this, TQ_SLOT(slotServiceRunningToggled()));
}
@@ -229,7 +229,7 @@ void KDEDConfig::getServiceStatus()
TQByteArray replyData;
- if (!kapp->dcopClient()->call( "kded", "kded", "loadedModules()", TQByteArray(),
+ if (!tdeApp->dcopClient()->call( "kded", "kded", "loadedModules()", TQByteArray(),
replyType, replyData ) ) {
_lvLoD->setEnabled( false );
@@ -310,7 +310,7 @@ void KDEDConfig::slotStartService()
TQCString replyType;
TQDataStream arg( data, IO_WriteOnly );
arg << service;
- if (kapp->dcopClient()->call( "kded", "kded", "loadModule(TQCString)", data, replyType, replyData ) ) {
+ if (tdeApp->dcopClient()->call( "kded", "kded", "loadModule(TQCString)", data, replyType, replyData ) ) {
TQDataStream reply(replyData, IO_ReadOnly);
if ( replyType == "bool" )
{
@@ -337,7 +337,7 @@ void KDEDConfig::slotStopService()
TQDataStream arg( data, IO_WriteOnly );
arg << service;
- if (kapp->dcopClient()->send( "kded", "kded", "unloadModule(TQCString)", data ) ) {
+ if (tdeApp->dcopClient()->send( "kded", "kded", "unloadModule(TQCString)", data ) ) {
slotServiceRunningToggled();
}
else {