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/historyimageitem.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'klipper/historyimageitem.h') diff --git a/klipper/historyimageitem.h b/klipper/historyimageitem.h index 2518e0a4c..f9a79d89c 100644 --- a/klipper/historyimageitem.h +++ b/klipper/historyimageitem.h @@ -22,8 +22,8 @@ #define _HISTORYIMAGEITEM_H_ #include "historyitem.h" -#include -#include +#include +#include /** * A image entry in the clipboard history. @@ -31,29 +31,29 @@ class HistoryImageItem : public HistoryItem { public: - HistoryImageItem( const QPixmap& data ); + HistoryImageItem( const TQPixmap& data ); virtual ~HistoryImageItem() {} - virtual QString text() const; + virtual TQString text() const; virtual bool operator==( const HistoryItem& rhs) const { if ( const HistoryImageItem* casted_rhs = dynamic_cast( &rhs ) ) { return &casted_rhs->m_data == &m_data; // Not perfect, but better than nothing. } return false; } - virtual const QPixmap& image() const { return m_data; } - virtual QMimeSource* mimeSource() const { return new QImageDrag( m_data.convertToImage()) ; } + virtual const TQPixmap& image() const { return m_data; } + virtual TQMimeSource* mimeSource() const { return new TQImageDrag( m_data.convertToImage()) ; } - virtual void write( QDataStream& stream ) const; + virtual void write( TQDataStream& stream ) const; private: /** * */ - const QPixmap m_data; + const TQPixmap m_data; /** * Cache for m_data's string representation */ - mutable QString m_text; + mutable TQString m_text; }; -- cgit v1.2.1