summaryrefslogtreecommitdiffstats
path: root/ksim
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:23:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-22 20:23:08 -0600
commit8856e75c203aa69be210b2fee1095ab9761aca7e (patch)
treed59810016bc093e8dd7f2f886f07c45fa25447a5 /ksim
parented70cd1b539ac2e02319b55183a5be7a28f2d116 (diff)
downloadtdeutils-8856e75c203aa69be210b2fee1095ab9761aca7e.tar.gz
tdeutils-8856e75c203aa69be210b2fee1095ab9761aca7e.zip
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'ksim')
-rw-r--r--ksim/ksim.cpp4
-rw-r--r--ksim/ksim.h6
-rw-r--r--ksim/monitors/cpu/ksimcpu.cpp4
-rw-r--r--ksim/monitors/disk/ksimdisk.cpp4
-rw-r--r--ksim/monitors/filesystem/ksimfsystem.cpp4
-rw-r--r--ksim/monitors/i8k/ksimi8k.cpp4
-rw-r--r--ksim/monitors/lm_sensors/ksimsensors.cpp4
-rw-r--r--ksim/monitors/lm_sensors/ksimsensors.h2
-rw-r--r--ksim/monitors/mail/ksimmail.cpp4
-rw-r--r--ksim/monitors/net/ksimnet.cpp4
10 files changed, 20 insertions, 20 deletions
diff --git a/ksim/ksim.cpp b/ksim/ksim.cpp
index e7c963d..e74f768 100644
--- a/ksim/ksim.cpp
+++ b/ksim/ksim.cpp
@@ -55,9 +55,9 @@ KSim::PanelExtension::PanelExtension(const TQString &configFile,
m_dcopClient->registerAs(name, false);
- m_aboutData = new KAboutData(name, I18N_NOOP("KSim"), KSIM_VERSION_STRING,
+ m_aboutData = new TDEAboutData(name, I18N_NOOP("KSim"), KSIM_VERSION_STRING,
I18N_NOOP("A plugin based system monitor for TDE"),
- KAboutData::License_GPL, I18N_NOOP("(C) 2001-2003 Robbie Ward\n(C) 2005 Reuben Sutton"));
+ TDEAboutData::License_GPL, I18N_NOOP("(C) 2001-2003 Robbie Ward\n(C) 2005 Reuben Sutton"));
m_aboutData->addAuthor("Reuben Sutton", I18N_NOOP("Maintainer"),"reuben.sutton@gmail.com");
m_aboutData->addAuthor("Robbie Ward", I18N_NOOP("Original Author"),
"linuxphreak@gmx.co.uk");
diff --git a/ksim/ksim.h b/ksim/ksim.h
index b50cd01..36903fb 100644
--- a/ksim/ksim.h
+++ b/ksim/ksim.h
@@ -24,8 +24,8 @@
#include <kpanelextension.h>
class TQBoxLayout;
-class KAboutData;
-class KInstance;
+class TDEAboutData;
+class TDEInstance;
class DCOPClient;
namespace KSim
@@ -61,7 +61,7 @@ namespace KSim
private:
KSim::MainView * m_view;
TQBoxLayout * m_layout;
- KAboutData * m_aboutData;
+ TDEAboutData * m_aboutData;
DCOPClient * m_dcopClient;
};
}
diff --git a/ksim/monitors/cpu/ksimcpu.cpp b/ksim/monitors/cpu/ksimcpu.cpp
index fc7ccca..aaed602 100644
--- a/ksim/monitors/cpu/ksimcpu.cpp
+++ b/ksim/monitors/cpu/ksimcpu.cpp
@@ -96,10 +96,10 @@ void CpuPlugin::showAbout()
{
TQString version = kapp->aboutData()->version();
- KAboutData aboutData(instanceName(),
+ TDEAboutData aboutData(instanceName(),
I18N_NOOP("KSim CPU Plugin"), version.latin1(),
I18N_NOOP("A cpu monitor plugin for KSim"),
- KAboutData::License_GPL, "(C) 2001 Robbie Ward");
+ TDEAboutData::License_GPL, "(C) 2001 Robbie Ward");
aboutData.addAuthor("Robbie Ward", I18N_NOOP("Author"),
"linuxphreak@gmx.co.uk");
diff --git a/ksim/monitors/disk/ksimdisk.cpp b/ksim/monitors/disk/ksimdisk.cpp
index 7a778fd..cccf0a5 100644
--- a/ksim/monitors/disk/ksimdisk.cpp
+++ b/ksim/monitors/disk/ksimdisk.cpp
@@ -92,10 +92,10 @@ void DiskPlugin::showAbout()
{
TQString version = kapp->aboutData()->version();
- KAboutData aboutData(instanceName(),
+ TDEAboutData aboutData(instanceName(),
I18N_NOOP("KSim Disk Plugin"), version.latin1(),
I18N_NOOP("A disk monitor plugin for KSim"),
- KAboutData::License_GPL, "(C) 2001 Robbie Ward");
+ TDEAboutData::License_GPL, "(C) 2001 Robbie Ward");
aboutData.addAuthor("Robbie Ward", I18N_NOOP("Author"),
"linuxphreak@gmx.co.uk");
diff --git a/ksim/monitors/filesystem/ksimfsystem.cpp b/ksim/monitors/filesystem/ksimfsystem.cpp
index 9b08da9..46edb3c 100644
--- a/ksim/monitors/filesystem/ksimfsystem.cpp
+++ b/ksim/monitors/filesystem/ksimfsystem.cpp
@@ -66,10 +66,10 @@ void PluginModule::showAbout()
{
TQString version = kapp->aboutData()->version();
- KAboutData aboutData(instanceName(),
+ TDEAboutData aboutData(instanceName(),
I18N_NOOP("KSim FileSystem Plugin"), version.latin1(),
I18N_NOOP("A filesystem plugin for KSim"),
- KAboutData::License_GPL, "(C) 2001 Robbie Ward");
+ TDEAboutData::License_GPL, "(C) 2001 Robbie Ward");
aboutData.addAuthor("Robbie Ward", I18N_NOOP("Author"),
"linuxphreak@gmx.co.uk");
diff --git a/ksim/monitors/i8k/ksimi8k.cpp b/ksim/monitors/i8k/ksimi8k.cpp
index 46a96e0..211fd4d 100644
--- a/ksim/monitors/i8k/ksimi8k.cpp
+++ b/ksim/monitors/i8k/ksimi8k.cpp
@@ -61,10 +61,10 @@ void I8KPlugin::showAbout()
{
TQString version = kapp->aboutData()->version();
- KAboutData aboutData(instanceName(),
+ TDEAboutData aboutData(instanceName(),
I18N_NOOP("KSim I8K Plugin"), version.latin1(),
I18N_NOOP("Dell I8K Hardware Monitor plugin"),
- KAboutData::License_GPL, "(C) 2003 Nadeem Hasan");
+ TDEAboutData::License_GPL, "(C) 2003 Nadeem Hasan");
aboutData.addAuthor("Nadeem Hasan", I18N_NOOP("Author"),
"nhasan@kde.org");
diff --git a/ksim/monitors/lm_sensors/ksimsensors.cpp b/ksim/monitors/lm_sensors/ksimsensors.cpp
index eb2614f..c3fcda3 100644
--- a/ksim/monitors/lm_sensors/ksimsensors.cpp
+++ b/ksim/monitors/lm_sensors/ksimsensors.cpp
@@ -60,10 +60,10 @@ void PluginModule::showAbout()
{
TQString version = kapp->aboutData()->version();
- KAboutData aboutData(instanceName(),
+ TDEAboutData aboutData(instanceName(),
I18N_NOOP("KSim Sensors Plugin"), version.latin1(),
I18N_NOOP("An lm_sensors plugin for KSim"),
- KAboutData::License_GPL, "(C) 2001 Robbie Ward");
+ TDEAboutData::License_GPL, "(C) 2001 Robbie Ward");
aboutData.addAuthor("Robbie Ward", I18N_NOOP("Author"),
"linuxphreak@gmx.co.uk");
diff --git a/ksim/monitors/lm_sensors/ksimsensors.h b/ksim/monitors/lm_sensors/ksimsensors.h
index a0c9455..4f66a8b 100644
--- a/ksim/monitors/lm_sensors/ksimsensors.h
+++ b/ksim/monitors/lm_sensors/ksimsensors.h
@@ -26,7 +26,7 @@
class KConfig;
class SensorList;
-class KInstance;
+class TDEInstance;
/**
* This class is the lm_sensors monitor plugin
diff --git a/ksim/monitors/mail/ksimmail.cpp b/ksim/monitors/mail/ksimmail.cpp
index fdda6bd..b2903b6 100644
--- a/ksim/monitors/mail/ksimmail.cpp
+++ b/ksim/monitors/mail/ksimmail.cpp
@@ -57,10 +57,10 @@ KSim::PluginPage* MailPlugin::createConfigPage( const char* name )
void MailPlugin::showAbout()
{
- KAboutData about( instanceName(),
+ TDEAboutData about( instanceName(),
I18N_NOOP( "KSim Mail Plugin" ), "0.1",
I18N_NOOP( "A mail monitor plugin for KSim" ),
- KAboutData::License_GPL, "(c) 2002 Malte Starostik" );
+ TDEAboutData::License_GPL, "(c) 2002 Malte Starostik" );
about.addAuthor( "Malte Starostik", I18N_NOOP( "Author" ), "malte@kde.org" );
KAboutApplication( &about ).exec();
diff --git a/ksim/monitors/net/ksimnet.cpp b/ksim/monitors/net/ksimnet.cpp
index 140d822..2d3bd9c 100644
--- a/ksim/monitors/net/ksimnet.cpp
+++ b/ksim/monitors/net/ksimnet.cpp
@@ -86,10 +86,10 @@ void NetPlugin::showAbout()
{
TQString version = kapp->aboutData()->version();
- KAboutData aboutData(instanceName(),
+ TDEAboutData aboutData(instanceName(),
I18N_NOOP("KSim Net Plugin"), version.latin1(),
I18N_NOOP("A net plugin for KSim"),
- KAboutData::License_GPL, "(C) 2001 Robbie Ward");
+ TDEAboutData::License_GPL, "(C) 2001 Robbie Ward");
aboutData.addAuthor("Robbie Ward", I18N_NOOP("Author"),
"linuxphreak@gmx.co.uk");