From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- klipper/historystringitem.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'klipper/historystringitem.h') 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 -#include +#include +#include #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( &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 -- cgit v1.2.1