summaryrefslogtreecommitdiffstats
path: root/kmail/foldershortcutdialog.cpp
diff options
context:
space:
mode:
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 {