From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khelpcenter/view.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'khelpcenter/view.h') diff --git a/khelpcenter/view.h b/khelpcenter/view.h index 9eb1d86b7..3af2a15b8 100644 --- a/khelpcenter/view.h +++ b/khelpcenter/view.h @@ -20,26 +20,26 @@ class View : public KHTMLPart { Q_OBJECT public: - View( QWidget *parentWidget, const char *widgetName, - QObject *parent, const char *name, KHTMLPart::GUIProfile prof, + View( TQWidget *parentWidget, const char *widgetName, + TQObject *parent, const char *name, KHTMLPart::GUIProfile prof, KActionCollection *col ); ~View(); virtual bool openURL( const KURL &url ); - virtual void saveState( QDataStream &stream ); - virtual void restoreState( QDataStream &stream ); + virtual void saveState( TQDataStream &stream ); + virtual void restoreState( TQDataStream &stream ); enum State { Docu, About, Search }; int state() const { return mState; } - QString title() const { return mTitle; } + TQString title() const { return mTitle; } - static QString langLookup( const QString &fname ); + static TQString langLookup( const TQString &fname ); void beginSearchResult(); - void writeSearchResult( const QString & ); + void writeSearchResult( const TQString & ); void endSearchResult(); void beginInternal( const KURL & ); @@ -64,27 +64,27 @@ class View : public KHTMLPart void searchResultCacheAvailable(); protected: - bool eventFilter( QObject *o, QEvent *e ); + bool eventFilter( TQObject *o, TQEvent *e ); private slots: - void setTitle( const QString &title ); - void showMenu( const QString& url, const QPoint& pos); + void setTitle( const TQString &title ); + void showMenu( const TQString& url, const TQPoint& pos); private: void showAboutPage(); KURL urlFromLinkNode( const DOM::Node &n ) const; int mState; - QString mTitle; + TQString mTitle; - QString mSearchResult; + TQString mSearchResult; KURL mInternalUrl; int m_zoomStepping; Formatter *mFormatter; KActionCollection *mActionCollection; - QString mCopyURL; + TQString mCopyURL; }; } -- cgit v1.2.1