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/historyitem.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/historyitem.h')
-rw-r--r-- | klipper/historyitem.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/klipper/historyitem.h b/klipper/historyitem.h index 04ab542ed..05b2de641 100644 --- a/klipper/historyitem.h +++ b/klipper/historyitem.h @@ -19,7 +19,7 @@ */ #ifndef _HISTORYITEM_H_ #define _HISTORYITEM_H_ -#include <qpixmap.h> +#include <tqpixmap.h> class QString; class QMimeSource; @@ -39,24 +39,24 @@ public: * An image would be returned as a descriptive * text, such as 32x43 image. */ - virtual QString text() const = 0; + virtual TQString text() const = 0; /** * Return the current item as text * A text would be returned as a null pixmap, * which is also the default implementation */ - inline virtual const QPixmap& image() const; + inline virtual const TQPixmap& image() const; /** - * Returns QMimeSource suitable for QClipboard::setData(). + * Returns TQMimeSource suitable for QClipboard::setData(). */ - virtual QMimeSource* mimeSource() const = 0; + virtual TQMimeSource* mimeSource() const = 0; /** * Write object on datastream */ - virtual void write( QDataStream& stream ) const = 0; + virtual void write( TQDataStream& stream ) const = 0; /** * Equality. @@ -67,24 +67,24 @@ public: * Create an HistoryItem from MimeSources (i.e., clipboard data) * returns null if create fails (e.g, unsupported mimetype) */ - static HistoryItem* create( const QMimeSource& aSource ); + static HistoryItem* create( const TQMimeSource& aSource ); /** * Create an HistoryItem from MimeSources (i.e., clipboard data) * returns null if creation fails. In this case, the datastream * is left in an undefined state. */ - static HistoryItem* create( QDataStream& aSource ); + static HistoryItem* create( TQDataStream& aSource ); }; inline -const QPixmap& HistoryItem::image() const { - static QPixmap nullPixmap; +const TQPixmap& HistoryItem::image() const { + static TQPixmap nullPixmap; return nullPixmap; } inline -QDataStream& operator<<( QDataStream& lhs, HistoryItem const * const rhs ) { +TQDataStream& operator<<( TQDataStream& lhs, HistoryItem const * const rhs ) { if ( rhs ) { rhs->write( lhs ); } |