diff options
Diffstat (limited to 'src/kde/kchmdcopiface.cpp')
-rw-r--r-- | src/kde/kchmdcopiface.cpp | 34 |
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(); } |