From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/foldershortcutdialog.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kmail/foldershortcutdialog.cpp') diff --git a/kmail/foldershortcutdialog.cpp b/kmail/foldershortcutdialog.cpp index f6b1cf92..80e1b28f 100644 --- a/kmail/foldershortcutdialog.cpp +++ b/kmail/foldershortcutdialog.cpp @@ -36,10 +36,10 @@ ** *******************************************************************************/ -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -53,26 +53,26 @@ using namespace KMail; FolderShortcutDialog::FolderShortcutDialog( KMFolder *folder, KMMainWidget *mainwidget, - QWidget *parent, + TQWidget *parent, const char *name ) : KDialogBase( parent, name, true, i18n( "Shortcut for Folder %1" ).arg( folder->label() ), KDialogBase::Ok | KDialogBase::Cancel ), mFolder( folder ), mMainWidget( mainwidget ) { - QVBox *box = makeVBoxMainWidget(); - QVGroupBox *gb = new QVGroupBox( i18n("Select Shortcut for Folder"), box ); - QWhatsThis::add( gb, i18n( "To choose a key or a combination " + TQVBox *box = makeVBoxMainWidget(); + TQVGroupBox *gb = new TQVGroupBox( i18n("Select Shortcut for Folder"), box ); + TQWhatsThis::add( gb, i18n( "To choose a key or a combination " "of keys which select the current folder, " "click the button below and then press the key(s) " "you wish to associate with this folder." ) ); - QHBox *hb = new QHBox( gb ); - new QWidget(hb); + TQHBox *hb = new TQHBox( gb ); + new TQWidget(hb); mKeyButton = new KKeyButton( hb, "FolderShortcutSelector" ); - new QWidget(hb); + new TQWidget(hb); - connect( mKeyButton, SIGNAL( capturedShortcut( const KShortcut& ) ), - this, SLOT( slotCapturedShortcut( const KShortcut& ) ) ); + connect( mKeyButton, TQT_SIGNAL( capturedShortcut( const KShortcut& ) ), + this, TQT_SLOT( slotCapturedShortcut( const KShortcut& ) ) ); mKeyButton->setShortcut( folder->shortcut(), false ); } @@ -88,7 +88,7 @@ void FolderShortcutDialog::slotCapturedShortcut( const KShortcut& sc ) mKeyButton->setShortcut( KShortcut::null(), false ); } else { if( !mMainWidget->shortcutIsValid( sc ) ) { - QString msg( i18n( "The selected shortcut is already used, " + TQString msg( i18n( "The selected shortcut is already used, " "please select a different one." ) ); KMessageBox::sorry( mMainWidget, msg ); } else { -- cgit v1.2.3