summaryrefslogtreecommitdiffstats
path: root/kmail/kmmsgpartdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/kmmsgpartdlg.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmmsgpartdlg.cpp')
-rw-r--r--kmail/kmmsgpartdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/kmmsgpartdlg.cpp b/kmail/kmmsgpartdlg.cpp
index e87fbd8a..386f4af6 100644
--- a/kmail/kmmsgpartdlg.cpp
+++ b/kmail/kmmsgpartdlg.cpp
@@ -21,7 +21,7 @@
#include <kcombobox.h>
#include <kdebug.h>
-// other Qt includes:
+// other TQt includes:
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqwhatsthis.h>
@@ -44,10 +44,10 @@ static const int numEncodingTypes =
sizeof encodingTypes / sizeof *encodingTypes;
KMMsgPartDialog::KMMsgPartDialog( const TQString & caption,
- TQWidget * parent, const char * name )
+ TQWidget * tqparent, const char * name )
: KDialogBase( Plain,
caption.isEmpty() ? i18n("Message Part Properties") : caption,
- Ok|Cancel|Help, Ok, parent, name, true, true)
+ Ok|Cancel|Help, Ok, tqparent, name, true, true)
{
// tmp vars:
TQGridLayout * glay;
@@ -331,8 +331,8 @@ void KMMsgPartDialog::slotMimeTypeChanged( const TQString & mimeType ) {
-KMMsgPartDialogCompat::KMMsgPartDialogCompat( TQWidget * parent, const char *, bool readOnly)
- : KMMsgPartDialog(TQString::null, parent ), mMsgPart( 0 )
+KMMsgPartDialogCompat::KMMsgPartDialogCompat( TQWidget * tqparent, const char *, bool readOnly)
+ : KMMsgPartDialog(TQString(), tqparent ), mMsgPart( 0 )
{
setShownEncodings( SevenBit|EightBit|QuotedPrintable|Base64 );
if (readOnly)
@@ -370,7 +370,7 @@ void KMMsgPartDialogCompat::setMsgPart( KMMessagePart * aMsgPart )
setMimeType( mMsgPart->typeStr(), mMsgPart->subtypeStr() );
setSize( mMsgPart->decodedSize() );
setInline( mMsgPart->contentDisposition()
- .find( TQRegExp("^\\s*inline", false) ) >= 0 );
+ .tqfind( TQRegExp("^\\s*inline", false) ) >= 0 );
}
@@ -408,7 +408,7 @@ void KMMsgPartDialogCompat::applyChanges()
// apply Content-Type:
TQCString type = mimeType().latin1();
TQCString subtype;
- int idx = type.find('/');
+ int idx = type.tqfind('/');
if ( idx < 0 )
subtype = "";
else {