diff options
Diffstat (limited to 'src/gui/logview.h')
-rw-r--r-- | src/gui/logview.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/gui/logview.h b/src/gui/logview.h index c568da8..a2b9487 100644 --- a/src/gui/logview.h +++ b/src/gui/logview.h @@ -14,7 +14,7 @@ class KTechlab; #include <ktextedit.h> -#include <qmap.h> +#include <tqmap.h> namespace KateMDI { class ToolView; } @@ -22,16 +22,16 @@ class MessageInfo { public: MessageInfo(); - MessageInfo( QString fileURL, int fileLine ); + MessageInfo( TQString fileURL, int fileLine ); - QString fileURL() const { return m_fileURL; } + TQString fileURL() const { return m_fileURL; } int fileLine() const { return m_fileLine; } protected: - QString m_fileURL; + TQString m_fileURL; int m_fileLine; }; -typedef QMap<int,MessageInfo> MessageInfoMap; +typedef TQMap<int,MessageInfo> MessageInfoMap; /** @@ -42,8 +42,9 @@ Base class for logviews (eg GpasmInterface) which output information, warnings, class LogView : public KTextEdit { Q_OBJECT + TQ_OBJECT public: - LogView( KateMDI::ToolView * parent, const char *name = 0 ); + LogView( KateMDI::ToolView * tqparent, const char *name = 0 ); ~LogView(); enum OutputType @@ -59,22 +60,22 @@ class LogView : public KTextEdit /** * Emitted when the user clicks on a paragraph in the log view */ - void paraClicked( const QString &text, MessageInfo messageInfo ); + void paraClicked( const TQString &text, MessageInfo messageInfo ); public slots: virtual void clear(); - void addOutput( QString text, OutputType outputType, MessageInfo messageInfo = MessageInfo() ); + void addOutput( TQString text, OutputType outputType, MessageInfo messageInfo = MessageInfo() ); protected: - virtual QPopupMenu * createPopupMenu( const QPoint & pos ); + virtual TQPopupMenu * createPopupMenu( const TQPoint & pos ); /** * Replaces "&" with &, "<" with <, etc */ - void tidyText( QString &t ); + void tidyText( TQString &t ); /** * Replaces "<" with "<", "&" with "&", etc */ - void untidyText( QString &t ); + void untidyText( TQString &t ); MessageInfoMap m_messageInfoMap; |