summaryrefslogtreecommitdiffstats
path: root/xparts/xpart_notepad
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/xpart_notepad
parent43e3dc950c8050c2ba850b5707077790870aa734 (diff)
downloadtdebindings-72a82366e0b94a52125683f3ee3a8ffd3691294b.tar.gz
tdebindings-72a82366e0b94a52125683f3ee3a8ffd3691294b.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'xparts/xpart_notepad')
-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
4 files changed, 6 insertions, 6 deletions
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