summaryrefslogtreecommitdiffstats
path: root/kmail/managesievescriptsdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-15 15:50:21 -0600
committerTimothy Pearson <[email protected]>2011-12-15 15:50:21 -0600
commit3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (patch)
tree89de88213bd261e4ccaade899ab2d6ec34b3a5a7 /kmail/managesievescriptsdialog.cpp
parent1dad5f662a09dfc5cc041caffe0f674044a4dcec (diff)
downloadtdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.tar.gz
tdepim-3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kmail/managesievescriptsdialog.cpp')
-rw-r--r--kmail/managesievescriptsdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/managesievescriptsdialog.cpp b/kmail/managesievescriptsdialog.cpp
index b65acadf8..ab8675050 100644
--- a/kmail/managesievescriptsdialog.cpp
+++ b/kmail/managesievescriptsdialog.cpp
@@ -15,9 +15,9 @@
#include <kglobalsettings.h>
#include <kmessagebox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlistview.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <tqpopupmenu.h>
#include <cassert>
@@ -54,7 +54,7 @@ KMail::ManageSieveScriptsDialog::ManageSieveScriptsDialog( TQWidget * parent, co
this, TQT_SLOT(slotSelectionChanged(TQListViewItem*)) );
vlay->addWidget( mListView );
- resize( 2 * tqsizeHint().width(), tqsizeHint().height() );
+ resize( 2 * sizeHint().width(), sizeHint().height() );
slotRefresh();
}
@@ -253,7 +253,7 @@ void KMail::ManageSieveScriptsDialog::slotDeleteScript() {
u.setFileName( mContextMenuItem->text( 0 ) );
- if ( KMessageBox::warningContinueCancel( this, i18n( "Really delete script \"%1\" from the server?" ).tqarg( u.fileName() ),
+ if ( KMessageBox::warningContinueCancel( this, i18n( "Really delete script \"%1\" from the server?" ).arg( u.fileName() ),
i18n( "Delete Sieve Script Confirmation" ),
KStdGuiItem::del() )
!= KMessageBox::Continue )
@@ -322,7 +322,7 @@ KMail::SieveEditor::SieveEditor( TQWidget * parent, const char * name )
mTextEdit->setWordWrap( TQTextEdit::NoWrap );
mTextEdit->setFont( KGlobalSettings::fixedFont() );
connect( mTextEdit, TQT_SIGNAL( textChanged () ), TQT_SLOT( slotTextChanged() ) );
- resize( 3 * tqsizeHint() );
+ resize( 3 * sizeHint() );
}
KMail::SieveEditor::~SieveEditor() {}