summaryrefslogtreecommitdiffstats
path: root/kmail/templatesconfiguration.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kmail/templatesconfiguration.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kmail/templatesconfiguration.cpp')
-rw-r--r--kmail/templatesconfiguration.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/templatesconfiguration.cpp b/kmail/templatesconfiguration.cpp
index 7b80c7c67..b3c05c293 100644
--- a/kmail/templatesconfiguration.cpp
+++ b/kmail/templatesconfiguration.cpp
@@ -24,7 +24,7 @@
#include <kglobal.h>
#include <tqpopupmenu.h>
#include <tqpushbutton.h>
-#include <textedit.h>
+#include <tqtextedit.h>
#include <tqlineedit.h>
#include <tqtoolbox.h>
#include <kdebug.h>
@@ -47,8 +47,8 @@ TemplatesConfiguration::TemplatesConfiguration( TQWidget *parent, const char *na
textEdit_reply_all->setFont( f );
textEdit_forward->setFont( f );
- setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
- sizeHint();
+ tqsetSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Expanding );
+ tqsizeHint();
connect( textEdit_new, TQT_SIGNAL( textChanged() ),
this, TQT_SLOT( slotTextChanged( void ) ) );
@@ -102,7 +102,7 @@ TemplatesConfiguration::TemplatesConfiguration( TQWidget *parent, const char *na
"if they are specified.</p>"
"</qt>" );
}
- mHelp->setText( i18n( "<a href=\"whatsthis:%1\">How does this work?</a>" ).arg( help ) );
+ mHelp->setText( i18n( "<a href=\"whatsthis:%1\">How does this work?</a>" ).tqarg( help ) );
}
void TemplatesConfiguration::slotTextChanged()
@@ -163,7 +163,7 @@ void TemplatesConfiguration::saveToGlobal()
void TemplatesConfiguration::loadFromIdentity( uint id )
{
- Templates t( TQString("IDENTITY_%1").arg( id ) );
+ Templates t( TQString("IDENTITY_%1").tqarg( id ) );
TQString str;
@@ -215,7 +215,7 @@ void TemplatesConfiguration::loadFromIdentity( uint id )
void TemplatesConfiguration::saveToIdentity( uint id )
{
- Templates t( TQString("IDENTITY_%1").arg( id ) );
+ Templates t( TQString("IDENTITY_%1").tqarg( id ) );
t.setTemplateNewMessage( strOrBlank( textEdit_new->text() ) );
t.setTemplateReply( strOrBlank( textEdit_reply->text() ) );
@@ -231,7 +231,7 @@ void TemplatesConfiguration::loadFromFolder( TQString id, uint identity )
Templates* tid = 0;
if ( identity ) {
- tid = new Templates( TQString("IDENTITY_%1").arg( identity ) );
+ tid = new Templates( TQString("IDENTITY_%1").tqarg( identity ) );
}
TQString str;
@@ -344,7 +344,7 @@ void TemplatesConfiguration::loadFromPhrases()
"---------- %1 ----------\n"
"%TEXT\n"
"-------------------------------------------------------\n"
- ) ).arg( convertPhrases( str ) ) );
+ ) ).tqarg( convertPhrases( str ) ) );
}
else {
textEdit_forward->setText( defaultForward() );
@@ -400,7 +400,7 @@ void TemplatesConfiguration::importFromPhrases()
"\n"
"%TEXT\n"
"-------------------------------------------------------\n"
- ) ).arg( convertPhrases( str ) ) );
+ ) ).tqarg( convertPhrases( str ) ) );
}
else {
GlobalSettings::self()->setTemplateForward( defaultForward() );