summaryrefslogtreecommitdiffstats
path: root/src/kde/kchmdcopiface.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 19:00:37 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 19:00:37 +0000
commit25794f504692e5a36c490438814e9dfda8aaa2dd (patch)
tree8061e6d27b5bc9042afdff177872779c4e8c9015 /src/kde/kchmdcopiface.cpp
parent35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff)
downloadkchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.tar.gz
kchmviewer-25794f504692e5a36c490438814e9dfda8aaa2dd.zip
TQt4 port kchmviewer
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1234150 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kde/kchmdcopiface.cpp')
-rw-r--r--src/kde/kchmdcopiface.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/kde/kchmdcopiface.cpp b/src/kde/kchmdcopiface.cpp
index 967380e..2054d69 100644
--- a/src/kde/kchmdcopiface.cpp
+++ b/src/kde/kchmdcopiface.cpp
@@ -26,8 +26,8 @@
#include "kchmsearchwindow.h"
-KCHMDCOPIface::KCHMDCOPIface(QObject *parent, const char *name)
- : QObject(parent, name), DCOPObject( "KCHMDCOPIface" )
+KCHMDCOPIface::KCHMDCOPIface(TQObject *tqparent, const char *name)
+ : TQObject(tqparent, name), DCOPObject( "KCHMDCOPIface" )
{
}
@@ -37,50 +37,50 @@ KCHMDCOPIface::~KCHMDCOPIface()
}
-void KCHMDCOPIface::loadHelpFile( const QString & filename, const QString & page2open )
+void KCHMDCOPIface::loadHelpFile( const TQString & filename, const TQString & page2open )
{
- QStringList args;
+ TQStringList args;
args.push_back( filename );
args.push_back( page2open );
- qApp->postEvent( ::mainWindow, new KCHMUserEvent( "loadAndOpen", args ) );
+ tqApp->postEvent( ::mainWindow, new KCHMUserEvent( "loadAndOpen", args ) );
}
-void KCHMDCOPIface::openPage( const QString & page2open )
+void KCHMDCOPIface::openPage( const TQString & page2open )
{
- QStringList args;
+ TQStringList args;
args.push_back( page2open );
- qApp->postEvent( ::mainWindow, new KCHMUserEvent( "openPage", args ) );
+ tqApp->postEvent( ::mainWindow, new KCHMUserEvent( "openPage", args ) );
}
-void KCHMDCOPIface::guiFindInIndex( const QString & word )
+void KCHMDCOPIface::guiFindInIndex( const TQString & word )
{
- QStringList args;
+ TQStringList args;
args.push_back( word );
- qApp->postEvent( ::mainWindow, new KCHMUserEvent( "findInIndex", args ) );
+ tqApp->postEvent( ::mainWindow, new KCHMUserEvent( "findInIndex", args ) );
}
-void KCHMDCOPIface::guiSearchQuery( const QString & query )
+void KCHMDCOPIface::guiSearchQuery( const TQString & query )
{
- QStringList args;
+ TQStringList args;
args.push_back( query );
- qApp->postEvent( ::mainWindow, new KCHMUserEvent( "searchQuery", args ) );
+ tqApp->postEvent( ::mainWindow, new KCHMUserEvent( "searchQuery", args ) );
}
-QStringList KCHMDCOPIface::searchQuery( const QString & query )
+TQStringList KCHMDCOPIface::searchQuery( const TQString & query )
{
- QStringList results;
+ TQStringList results;
if ( ::mainWindow->searchWindow()->searchQuery( query, &results ) )
return results;
else
- return QStringList();
+ return TQStringList();
}