From 357ddeb8afd82d69ef871c146f4fc8f2c67fb17e Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Wed, 13 Jan 2021 19:30:17 +0200 Subject: Conversion Qt3->TQt Signed-off-by: Mavridis Philippe --- src/pageviewer.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/pageviewer.h') diff --git a/src/pageviewer.h b/src/pageviewer.h index 1b28e4f..80a4ff5 100644 --- a/src/pageviewer.h +++ b/src/pageviewer.h @@ -11,8 +11,8 @@ #include using std::abs; -#include -#include +#include +#include #include "viewer.h" @@ -28,13 +28,13 @@ namespace KlamAV struct PageViewerHistoryEntry { KURL url; - QString title; + TQString title; int id; PageViewerHistoryEntry() {} - PageViewerHistoryEntry(const KURL& u, const QString& t=QString::null): url(u), title(t) + PageViewerHistoryEntry(const KURL& u, const TQString& t=TQString::null): url(u), title(t) { - id = abs( QTime::currentTime().msecsTo( QTime() ) ); // nasty, but should provide a reasonably unique number + id = abs( TQTime::currentTime().msecsTo( TQTime() ) ); // nasty, but should provide a reasonably unique number } }; @@ -43,7 +43,7 @@ namespace KlamAV { Q_OBJECT public: - PageViewer(QWidget* parent, const char* name); + PageViewer(TQWidget* parent, const char* name); virtual bool openURL(const KURL &url); @@ -52,7 +52,7 @@ namespace KlamAV void slotForward(); void slotReload(); void slotStop(); - void slotSetCaption(const QString& cap); + void slotSetCaption(const TQString& cap); virtual void slotPaletteOrFontChanged(); protected: @@ -62,11 +62,11 @@ namespace KlamAV protected slots: void slotStarted(KIO::Job *); void slotCompleted(); - void slotCancelled(const QString &errMsg); + void slotCancelled(const TQString &errMsg); void slotBackAboutToShow(); void slotForwardAboutToShow(); void slotPopupActivated( int id ); - virtual void slotPopupMenu(KXMLGUIClient*, const QPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t); + virtual void slotPopupMenu(KXMLGUIClient*, const TQPoint&, const KURL&, const KParts::URLArgs&, KParts::BrowserExtension::PopupFlags, mode_t); void slotGlobalBookmarkArticle(); void formClicked(const KURL& url, const KParts::URLArgs& args); @@ -74,11 +74,11 @@ namespace KlamAV virtual void slotOpenURLRequest(const KURL& url, const KParts::URLArgs& args); signals: - void setTabIcon(const QPixmap&); + void setTabIcon(const TQPixmap&); private: - QValueList m_history; - QValueList::Iterator m_current; + TQValueList m_history; + TQValueList::Iterator m_current; KToolBarPopupAction* m_backAction; KToolBarPopupAction* m_forwardAction; @@ -86,7 +86,7 @@ namespace KlamAV KAction* m_stopAction; bool m_restoring; - QString m_caption; + TQString m_caption; }; -- cgit v1.2.1