diff options
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; }; |