diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /klipper/historystringitem.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klipper/historystringitem.h')
-rw-r--r-- | klipper/historystringitem.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/klipper/historystringitem.h b/klipper/historystringitem.h index ccbaa2e63..a142fbe2e 100644 --- a/klipper/historystringitem.h +++ b/klipper/historystringitem.h @@ -20,8 +20,8 @@ #ifndef _HISTORYSTRINGITEM_H_ #define _HISTORYSTRINGITEM_H_ -#include <qstring.h> -#include <qdragobject.h> +#include <tqstring.h> +#include <tqdragobject.h> #include "historyitem.h" @@ -31,27 +31,27 @@ class HistoryStringItem : public HistoryItem { public: - HistoryStringItem( const QString& data ); + HistoryStringItem( const TQString& data ); virtual ~HistoryStringItem() {} - virtual QString text() const; + virtual TQString text() const; virtual bool operator==( const HistoryItem& rhs) const { if ( const HistoryStringItem* casted_rhs = dynamic_cast<const HistoryStringItem*>( &rhs ) ) { return casted_rhs->m_data == m_data; } return false; } - virtual QMimeSource* mimeSource() const { return new QTextDrag( m_data ) ; } + virtual TQMimeSource* mimeSource() const { return new TQTextDrag( m_data ) ; } /** * Write object on datastream */ - virtual void write( QDataStream& stream ) const; + virtual void write( TQDataStream& stream ) const; private: - QString m_data; + TQString m_data; }; -inline QString HistoryStringItem::text() const { return m_data; } +inline TQString HistoryStringItem::text() const { return m_data; } #endif |