From 9cc13dcbb01a96c9e60a07ca63c61d24b374f50d Mon Sep 17 00:00:00 2001
From: Timothy Pearson
Date: Fri, 16 Dec 2011 09:59:50 -0600
Subject: Revert "Rename a number of old tq methods that are no longer tq
specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
---
kmail/templatesconfiguration.cpp | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
(limited to 'kmail/templatesconfiguration.cpp')
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
#include
#include
-#include
+#include
#include
#include
#include
@@ -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.
"
"" );
}
- mHelp->setText( i18n( "How does this work?" ).arg( help ) );
+ mHelp->setText( i18n( "How does this work?" ).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() );
--
cgit v1.2.1