summaryrefslogtreecommitdiffstats
path: root/xparts
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:44:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:44:04 -0600
commit72a82366e0b94a52125683f3ee3a8ffd3691294b (patch)
tree787ee6497a0bf5e2e730f58d57dcbc9dc5377548 /xparts
parent43e3dc950c8050c2ba850b5707077790870aa734 (diff)
downloadtdebindings-72a82366e0b94a52125683f3ee3a8ffd3691294b.tar.gz
tdebindings-72a82366e0b94a52125683f3ee3a8ffd3691294b.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'xparts')
-rw-r--r--xparts/mozilla/kmozillapart.cpp2
-rw-r--r--xparts/mozilla/kmozillapart.h4
-rw-r--r--xparts/mozilla/kshell.cpp4
-rw-r--r--xparts/xpart_notepad/shell_xparthost.cpp2
-rw-r--r--xparts/xpart_notepad/shell_xparthost.h4
-rw-r--r--xparts/xpart_notepad/xp_notepad_factory.cpp2
-rw-r--r--xparts/xpart_notepad/xp_notepad_factory.h4
7 files changed, 11 insertions, 11 deletions
diff --git a/xparts/mozilla/kmozillapart.cpp b/xparts/mozilla/kmozillapart.cpp
index a853f737..f083d779 100644
--- a/xparts/mozilla/kmozillapart.cpp
+++ b/xparts/mozilla/kmozillapart.cpp
@@ -21,7 +21,7 @@ KMozillaPart::KMozillaPart(TQWidget *parentWidget, const char *widgetName,
{
setInstance( KMozillaPartFactory::instance() );
- m_partProcess = new KProcess;
+ m_partProcess = new TDEProcess;
*m_partProcess << "kmozilla"
<< kapp->dcopClient()->appId() << objId();
m_partProcess->start();
diff --git a/xparts/mozilla/kmozillapart.h b/xparts/mozilla/kmozillapart.h
index 2df5506a..00589d14 100644
--- a/xparts/mozilla/kmozillapart.h
+++ b/xparts/mozilla/kmozillapart.h
@@ -4,7 +4,7 @@
#include "xparthost_kpart.h"
class TDEAboutData;
-class KProcess;
+class TDEProcess;
class KMozillaPart : public XPartHost_KPart
{
@@ -20,7 +20,7 @@ public:
static TDEAboutData *createAboutData();
private:
- KProcess *m_partProcess;
+ TDEProcess *m_partProcess;
};
#endif
diff --git a/xparts/mozilla/kshell.cpp b/xparts/mozilla/kshell.cpp
index dd5986b2..9e83f9a4 100644
--- a/xparts/mozilla/kshell.cpp
+++ b/xparts/mozilla/kshell.cpp
@@ -25,7 +25,7 @@ public:
connect(m_host, TQT_SIGNAL( actionsInitialized() ), this, TQT_SLOT( mergeGUI() ) );
#if 1
- m_partProcess = new KProcess;
+ m_partProcess = new TDEProcess;
*m_partProcess << "./kmozilla"
<< kapp->dcopClient()->appId() << m_host->objId();
m_partProcess->start();
@@ -57,7 +57,7 @@ public slots:
private:
XPartHost_KPart *m_host;
- KProcess *m_partProcess;
+ TDEProcess *m_partProcess;
};
int main( int argc, char **argv )
diff --git a/xparts/xpart_notepad/shell_xparthost.cpp b/xparts/xpart_notepad/shell_xparthost.cpp
index b65819ad..8bb4ce65 100644
--- a/xparts/xpart_notepad/shell_xparthost.cpp
+++ b/xparts/xpart_notepad/shell_xparthost.cpp
@@ -22,7 +22,7 @@ ShellWindow::ShellWindow()
connect(m_host, TQT_SIGNAL( actionsInitialized() ), this, TQT_SLOT( mergeGUI() ) );
// Launch our XPart child.
- m_partProcess = new KProcess;
+ m_partProcess = new TDEProcess;
*m_partProcess << "./xp_notepad"
<< kapp->dcopClient()->appId() << m_host->objId();
m_partProcess->start();
diff --git a/xparts/xpart_notepad/shell_xparthost.h b/xparts/xpart_notepad/shell_xparthost.h
index f65cdf1b..7a0bb1a8 100644
--- a/xparts/xpart_notepad/shell_xparthost.h
+++ b/xparts/xpart_notepad/shell_xparthost.h
@@ -5,7 +5,7 @@
#include <kparts/mainwindow.h>
#include <kdebug.h>
-class KProcess;
+class TDEProcess;
class ShellWindow : public KParts::MainWindow
{
@@ -23,7 +23,7 @@ public slots:
private:
XPartHost_KPart *m_host;
- KProcess *m_partProcess;
+ TDEProcess *m_partProcess;
};
#endif
diff --git a/xparts/xpart_notepad/xp_notepad_factory.cpp b/xparts/xpart_notepad/xp_notepad_factory.cpp
index 799c83f8..7d9b4d12 100644
--- a/xparts/xpart_notepad/xp_notepad_factory.cpp
+++ b/xparts/xpart_notepad/xp_notepad_factory.cpp
@@ -47,7 +47,7 @@ XP_NotepadPart::XP_NotepadPart(TQWidget *parentWidget, const char *widgetName,
TQObject *parent, const char *name)
: XPartHost_KPart(parentWidget, widgetName, parent, name)
{
- m_partProcess = new KProcess;
+ m_partProcess = new TDEProcess;
*m_partProcess << "xnotepard"
<< kapp->dcopClient()->appId() << objId();
m_partProcess->start();
diff --git a/xparts/xpart_notepad/xp_notepad_factory.h b/xparts/xpart_notepad/xp_notepad_factory.h
index c499cd0e..cb3090c6 100644
--- a/xparts/xpart_notepad/xp_notepad_factory.h
+++ b/xparts/xpart_notepad/xp_notepad_factory.h
@@ -30,7 +30,7 @@ class TDEInstance;
class TDEAboutData;
class KHTMLSettings;
class KHTMLPart;
-class KProcess;
+class TDEProcess;
class XP_NotepadFactory : public KParts::Factory
{
@@ -56,7 +56,7 @@ public:
virtual void createActions( const TQCString &xmlActions );
private:
- KProcess *m_partProcess;
+ TDEProcess *m_partProcess;
};
#endif