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/kmmsgpartdlg.h | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'kmail/kmmsgpartdlg.h') diff --git a/kmail/kmmsgpartdlg.h b/kmail/kmmsgpartdlg.h index c913799cf..601d2ca3b 100644 --- a/kmail/kmmsgpartdlg.h +++ b/kmail/kmmsgpartdlg.h @@ -41,23 +41,23 @@ class KMMsgPartDialog: public KDialogBase Q_OBJECT public: - KMMsgPartDialog( const QString & caption=QString::null, - QWidget * parent=0, const char * name=0 ); + KMMsgPartDialog( const TQString & caption=TQString::null, + TQWidget * parent=0, const char * name=0 ); virtual ~KMMsgPartDialog(); /** Get the currently selected mimetype */ - QString mimeType() const; + TQString mimeType() const; /** Sets the mime type to be displayed. */ - void setMimeType( const QString & type, const QString & subtype ); + void setMimeType( const TQString & type, const TQString & subtype ); /** This is an overloaded member function, provided for convenience. It behaves essentially like the above function. Sets the mime type to be displayed, but only if @p mimeType passes KMimeTypeValidator's test. */ - void setMimeType( const QString & mimeType ); + void setMimeType( const TQString & mimeType ); /** Sets the initial list of mime types to be displayed in the combobox. The items are @em not validated. */ - void setMimeTypeList( const QStringList & mimeTypes ); + void setMimeTypeList( const TQStringList & mimeTypes ); /** Sets the size of the file to be attached in bytes. This is strictly informational and thus can't be queried. If @p approx @@ -67,18 +67,18 @@ public: /** Returns the current file name of the attachment. Note that this doesn't define which file is being attached. It only defines what the attachment's filename parameter should contain. */ - QString fileName() const; + TQString fileName() const; /** Sets the file name of the attachment. Note that this doesn't define which file is being attached. It only defines what the attachment's filename parameter should contain. */ - void setFileName( const QString & fileName ); + void setFileName( const TQString & fileName ); /** Returns the content of the Content-Description header field. This field is only informational. */ - QString description() const; + TQString description() const; /** Sets the description of the attachment, ie. the content of the Content-Description header field. */ - void setDescription( const QString & description ); + void setDescription( const TQString & description ); /** The list of supported encodings */ enum Encoding { @@ -119,19 +119,19 @@ public: void setCanSign( bool enable ); protected slots: - void slotMimeTypeChanged( const QString & mimeType ); + void slotMimeTypeChanged( const TQString & mimeType ); protected: KComboBox *mMimeType; - QLabel *mIcon; - QLabel *mSize; - QLineEdit *mFileName; - QLineEdit *mDescription; - QComboBox *mEncoding; - QCheckBox *mInline; - QCheckBox *mEncrypted; - QCheckBox *mSigned; - QStringList mI18nizedEncodings; + TQLabel *mIcon; + TQLabel *mSize; + TQLineEdit *mFileName; + TQLineEdit *mDescription; + TQComboBox *mEncoding; + TQCheckBox *mInline; + TQCheckBox *mEncrypted; + TQCheckBox *mSigned; + TQStringList mI18nizedEncodings; }; /** @short The attachment dialog with convenience backward compatible methods @@ -140,7 +140,7 @@ protected: class KMMsgPartDialogCompat : public KMMsgPartDialog { Q_OBJECT public: - KMMsgPartDialogCompat( QWidget * parent=0, const char * caption=0, bool=FALSE ); + KMMsgPartDialogCompat( TQWidget * parent=0, const char * caption=0, bool=FALSE ); virtual ~KMMsgPartDialogCompat(); /** Display information about this message part. */ -- cgit v1.2.1