diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-29 19:00:37 +0000 |
commit | 25794f504692e5a36c490438814e9dfda8aaa2dd (patch) | |
tree | 8061e6d27b5bc9042afdff177872779c4e8c9015 /src/kde/kchmdcopiface.h | |
parent | 35ff2a942f63b5201c04f41c3097e61cdd7817e9 (diff) | |
download | kchmviewer-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.h')
-rw-r--r-- | src/kde/kchmdcopiface.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/kde/kchmdcopiface.h b/src/kde/kchmdcopiface.h index c062fc8..2c8800f 100644 --- a/src/kde/kchmdcopiface.h +++ b/src/kde/kchmdcopiface.h @@ -22,37 +22,38 @@ #ifndef KCHMDCOPIFACE_H #define KCHMDCOPIFACE_H -#include <qobject.h> +#include <tqobject.h> #include <dcopobject.h> -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> -class KCHMDCOPIface : public QObject, public DCOPObject +class KCHMDCOPIface : public TQObject, public DCOPObject { Q_OBJECT +// TQ_OBJECT K_DCOP public: - KCHMDCOPIface( QObject *parent = 0, const char *name = 0 ); + KCHMDCOPIface( TQObject *tqparent = 0, const char *name = 0 ); ~KCHMDCOPIface(); k_dcop: //! Loads a CHM file \a filename , and opens the URL \a url. Use URL "/" to open default homepage - void loadHelpFile( const QString& filename, const QString& url ); + void loadHelpFile( const TQString& filename, const TQString& url ); //! Opens a specific \a url inside the loaded CHM file - void openPage( const QString& url ); + void openPage( const TQString& url ); //! Tries to find word in index, opening the index window and scrolling it there - void guiFindInIndex( const QString& word ); + void guiFindInIndex( const TQString& word ); //! Executes a search in GUI. \a query contains the complete search query. - void guiSearchQuery( const QString& query ); + void guiSearchQuery( const TQString& query ); //! Executes a search; GUI is not involved and user sees nothing. //! \a query contains the complete search query. //! Returns a list of URLs, or empty array if nothing os - QStringList searchQuery( const QString& query ); + TQStringList searchQuery( const TQString& query ); }; #endif |