summaryrefslogtreecommitdiffstats
path: root/src/pageviewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pageviewer.h')
-rw-r--r--src/pageviewer.h26
1 files changed, 13 insertions, 13 deletions
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 <cstdlib>
using std::abs;
-#include <qdatetime.h>
-#include <qstring.h>
+#include <tqdatetime.h>
+#include <tqstring.h>
#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<PageViewerHistoryEntry> m_history;
- QValueList<PageViewerHistoryEntry>::Iterator m_current;
+ TQValueList<PageViewerHistoryEntry> m_history;
+ TQValueList<PageViewerHistoryEntry>::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;
};