summaryrefslogtreecommitdiffstats
path: root/xparts/xpart_notepad/shell_xparthost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xparts/xpart_notepad/shell_xparthost.cpp')
-rw-r--r--xparts/xpart_notepad/shell_xparthost.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/xparts/xpart_notepad/shell_xparthost.cpp b/xparts/xpart_notepad/shell_xparthost.cpp
index 666c16a6..c5eb937b 100644
--- a/xparts/xpart_notepad/shell_xparthost.cpp
+++ b/xparts/xpart_notepad/shell_xparthost.cpp
@@ -8,7 +8,7 @@
#include <kstdaction.h>
#include <tdeaction.h>
#include <tdemainwindow.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tdeparts/mainwindow.h>
#include <kdebug.h>
@@ -19,20 +19,20 @@ ShellWindow::ShellWindow()
setCentralWidget( m_host->widget() );
- connect(m_host, TQT_SIGNAL( actionsInitialized() ), this, TQT_SLOT( mergeGUI() ) );
+ connect(m_host, TQ_SIGNAL( actionsInitialized() ), this, TQ_SLOT( mergeGUI() ) );
// Launch our XPart child.
m_partProcess = new TDEProcess;
*m_partProcess << "./xp_notepad"
- << kapp->dcopClient()->appId() << m_host->objId();
+ << tdeApp->dcopClient()->appId() << m_host->objId();
m_partProcess->start();
// Init our Gui
- (void) new TDEAction( "Hop", 0, this, TQT_SLOT(hop()), actionCollection(), "hop" );
- KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() );
+ (void) new TDEAction( "Hop", 0, this, TQ_SLOT(hop()), actionCollection(), "hop" );
+ KStdAction::quit( this, TQ_SLOT( close() ), actionCollection() );
TDESelectAction *s = new TDESelectAction( "http://www.kde.org" , 0,
actionCollection(), "location" );
- connect( s, TQT_SIGNAL(activated( const TQString& ) ), this, TQT_SLOT( slotOpenUrl( const TQString & ) ) );
+ connect( s, TQ_SIGNAL(activated( const TQString& ) ), this, TQ_SLOT( slotOpenUrl( const TQString & ) ) );
s->setEditable(true);
kdDebug() << "KShell window created" << endl;
@@ -66,7 +66,7 @@ void ShellWindow::mergeGUI()
int main( int argc, char **argv )
{
- TDEApplication app( argc, argv, "xparthost_shell" );
+ TDEApplication app( argc, argv, TQCString("xparthost_shell") );
app.dcopClient()->registerAs("xparthost_shell");