diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /ksirc/ksview.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksirc/ksview.h')
-rw-r--r-- | ksirc/ksview.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/ksirc/ksview.h b/ksirc/ksview.h index 8b26faea..a4ee782e 100644 --- a/ksirc/ksview.h +++ b/ksirc/ksview.h @@ -29,41 +29,41 @@ class KSircView : public KSirc::TextView { Q_OBJECT public: - KSircView(KSircProcess *proc, QWidget *parent, const char *name); + KSircView(KSircProcess *proc, TQWidget *parent, const char *name); virtual ~KSircView(); virtual void clear(); // returns the plain-text string added (for logging) - QString addLine(const QString &pixmap, const QColor &color, const QString &text); - void addRichText(const QString &_text); + TQString addLine(const TQString &pixmap, const TQColor &color, const TQString &text); + void addRichText(const TQString &_text); void enableTimeStamps(bool enable); void setAcceptFiles(bool _acceptFiles) { m_acceptFiles = _acceptFiles; } signals: - void urlsDropped(const QStringList&); - void textDropped(const QString&); + void urlsDropped(const TQStringList&); + void textDropped(const TQString&); protected: - virtual void contentsDragEnterEvent(QDragEnterEvent *); - virtual void contentsDragMoveEvent(QDragMoveEvent *); - virtual void contentsDropEvent(QDropEvent *); + virtual void contentsDragEnterEvent(TQDragEnterEvent *); + virtual void contentsDragMoveEvent(TQDragMoveEvent *); + virtual void contentsDropEvent(TQDropEvent *); private: virtual bool linksEnabled() const { return true; } - void openBrowser( const QString &url ); - void copyLinkToClipboard( const QString &url ); - static QString makeTimeStamp(); + void openBrowser( const TQString &url ); + void copyLinkToClipboard( const TQString &url ); + static TQString makeTimeStamp(); - void saveURL( const QString &url ); + void saveURL( const TQString &url ); private slots: - void anchorClicked(const QMouseEvent *ev, const QString &url); + void anchorClicked(const TQMouseEvent *ev, const TQString &url); - QColor ircColor(int); + TQColor ircColor(int); private: int m_lines; - QStringList m_timeStamps; + TQStringList m_timeStamps; bool m_acceptFiles; bool m_timestamps; KSircProcess *m_proc; |