summaryrefslogtreecommitdiffstats
path: root/kmail/kmmsgpartdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmmsgpartdlg.cpp')
-rw-r--r--kmail/kmmsgpartdlg.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmmsgpartdlg.cpp b/kmail/kmmsgpartdlg.cpp
index 31a1e9321..16d188d7c 100644
--- a/kmail/kmmsgpartdlg.cpp
+++ b/kmail/kmmsgpartdlg.cpp
@@ -54,7 +54,7 @@ KMMsgPartDialog::KMMsgPartDialog( const TQString & caption,
TQLabel * label;
TQString msg;
- setHelp( TQString::tqfromLatin1("attachments") );
+ setHelp( TQString::fromLatin1("attachments") );
for ( int i = 0 ; i < numEncodingTypes ; ++i )
mI18nizedEncodings << i18n( encodingTypes[i].displayName );
@@ -73,14 +73,14 @@ KMMsgPartDialog::KMMsgPartDialog( const TQString & caption,
mMimeType->setInsertionPolicy( TQComboBox::NoInsertion );
mMimeType->setValidator( new KMimeTypeValidator( TQT_TQOBJECT(mMimeType) ) );
mMimeType->insertStringList( TQStringList()
- << TQString::tqfromLatin1("text/html")
- << TQString::tqfromLatin1("text/plain")
- << TQString::tqfromLatin1("image/gif")
- << TQString::tqfromLatin1("image/jpeg")
- << TQString::tqfromLatin1("image/png")
- << TQString::tqfromLatin1("application/octet-stream")
- << TQString::tqfromLatin1("application/x-gunzip")
- << TQString::tqfromLatin1("application/zip") );
+ << TQString::fromLatin1("text/html")
+ << TQString::fromLatin1("text/plain")
+ << TQString::fromLatin1("image/gif")
+ << TQString::fromLatin1("image/jpeg")
+ << TQString::fromLatin1("image/png")
+ << TQString::fromLatin1("application/octet-stream")
+ << TQString::fromLatin1("application/x-gunzip")
+ << TQString::fromLatin1("application/zip") );
connect( mMimeType, TQT_SIGNAL(textChanged(const TQString&)),
this, TQT_SLOT(slotMimeTypeChanged(const TQString&)) );
glay->addWidget( mMimeType, 0, 1 );
@@ -210,7 +210,7 @@ void KMMsgPartDialog::setMimeType( const TQString & mimeType ) {
void KMMsgPartDialog::setMimeType( const TQString & type,
const TQString & subtype ) {
- setMimeType( TQString::tqfromLatin1("%1/%2").tqarg(type).tqarg(subtype) );
+ setMimeType( TQString::fromLatin1("%1/%2").tqarg(type).tqarg(subtype) );
}
void KMMsgPartDialog::setMimeTypeList( const TQStringList & mimeTypes ) {