diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/kmatmlistview.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmatmlistview.h')
-rw-r--r-- | kmail/kmatmlistview.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kmail/kmatmlistview.h b/kmail/kmatmlistview.h index f50d4e398..e42f2628e 100644 --- a/kmail/kmatmlistview.h +++ b/kmail/kmatmlistview.h @@ -5,38 +5,38 @@ #ifndef __KMAIL_KMATMLISTVIEW_H__ #define __KMAIL_KMATMLISTVIEW_H__ -#include <qlistview.h> -#include <qcstring.h> +#include <tqlistview.h> +#include <tqcstring.h> 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; }; |