From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/kmatmlistview.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kmail/kmatmlistview.h') diff --git a/kmail/kmatmlistview.h b/kmail/kmatmlistview.h index f50d4e39..e42f2628 100644 --- a/kmail/kmatmlistview.h +++ b/kmail/kmatmlistview.h @@ -5,38 +5,38 @@ #ifndef __KMAIL_KMATMLISTVIEW_H__ #define __KMAIL_KMATMLISTVIEW_H__ -#include -#include +#include +#include class KMComposeWin; class MessageComposer; class QCheckBox; -class KMAtmListViewItem : public QObject, public QListViewItem +class KMAtmListViewItem : public TQObject, public QListViewItem { Q_OBJECT public: - KMAtmListViewItem( QListView *parent ); + KMAtmListViewItem( TQListView *parent ); virtual ~KMAtmListViewItem(); //A custom compare function is needed because the size column is //human-readable and therefore doesn't sort correctly. - virtual int compare( QListViewItem *i, int col, bool ascending ) const; + virtual int compare( TQListViewItem *i, int col, bool ascending ) const; - virtual void paintCell ( QPainter * p, const QColorGroup & cg, int column, int width, int align ); + virtual void paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align ); - void setUncompressedMimeType( const QCString & type, const QCString & subtype ) { + void setUncompressedMimeType( const TQCString & type, const TQCString & subtype ) { mType = type; mSubtype = subtype; } void setAttachmentSize( int numBytes ) { mAttachmentSize = numBytes; } - void uncompressedMimeType( QCString & type, QCString & subtype ) const { + void uncompressedMimeType( TQCString & type, TQCString & subtype ) const { type = mType; subtype = mSubtype; } - void setUncompressedCodec( const QCString &codec ) { mCodec = codec; } - QCString uncompressedCodec() const { return mCodec; } + void setUncompressedCodec( const TQCString &codec ) { mCodec = codec; } + TQCString uncompressedCodec() const { return mCodec; } void enableCryptoCBs( bool on ); void setEncrypt( bool on ); @@ -57,14 +57,14 @@ private slots: protected: - void updateCheckBox( int headerSection, QCheckBox *cb ); + void updateCheckBox( int headerSection, TQCheckBox *cb ); void updateAllCheckBoxes(); private: - QCheckBox *mCBEncrypt; - QCheckBox *mCBSign; - QCheckBox *mCBCompress; - QCString mType, mSubtype, mCodec; + TQCheckBox *mCBEncrypt; + TQCheckBox *mCBSign; + TQCheckBox *mCBCompress; + TQCString mType, mSubtype, mCodec; int mAttachmentSize; }; -- cgit v1.2.3