summaryrefslogtreecommitdiffstats
path: root/klipper/historyimageitem.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /klipper/historyimageitem.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-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/historyimageitem.h')
-rw-r--r--klipper/historyimageitem.h18
1 files changed, 9 insertions, 9 deletions
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 <qpixmap.h>
-#include <qdragobject.h>
+#include <tqpixmap.h>
+#include <tqdragobject.h>
/**
* 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<const HistoryImageItem*>( &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;
};