summaryrefslogtreecommitdiffstats
path: root/kmail/foldershortcutdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/foldershortcutdialog.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/foldershortcutdialog.cpp')
-rw-r--r--kmail/foldershortcutdialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kmail/foldershortcutdialog.cpp b/kmail/foldershortcutdialog.cpp
index f6b1cf923..80e1b28f3 100644
--- a/kmail/foldershortcutdialog.cpp
+++ b/kmail/foldershortcutdialog.cpp
@@ -36,10 +36,10 @@
**
*******************************************************************************/
-#include <qlabel.h>
-#include <qvbox.h>
-#include <qvgroupbox.h>
-#include <qwhatsthis.h>
+#include <tqlabel.h>
+#include <tqvbox.h>
+#include <tqvgroupbox.h>
+#include <tqwhatsthis.h>
#include <kkeybutton.h>
#include <klocale.h>
@@ -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( "<qt>To choose a key or a combination "
+ TQVBox *box = makeVBoxMainWidget();
+ TQVGroupBox *gb = new TQVGroupBox( i18n("Select Shortcut for Folder"), box );
+ TQWhatsThis::add( gb, i18n( "<qt>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.</qt>" ) );
- 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 {