summaryrefslogtreecommitdiffstats
path: root/kmail/folderrequester.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/folderrequester.cpp')
-rw-r--r--kmail/folderrequester.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/kmail/folderrequester.cpp b/kmail/folderrequester.cpp
index e03ddba74..553fc5a02 100644
--- a/kmail/folderrequester.cpp
+++ b/kmail/folderrequester.cpp
@@ -36,28 +36,28 @@
#include <kiconloader.h>
#include <kdialog.h>
-#include <qlayout.h>
-#include <qtoolbutton.h>
+#include <tqlayout.h>
+#include <tqtoolbutton.h>
namespace KMail {
-FolderRequester::FolderRequester( QWidget *parent, KMFolderTree *tree )
- : QWidget( parent ), mFolder( 0 ), mFolderTree( tree ),
+FolderRequester::FolderRequester( TQWidget *parent, KMFolderTree *tree )
+ : TQWidget( parent ), mFolder( 0 ), mFolderTree( tree ),
mMustBeReadWrite( true ), mShowOutbox( true ), mShowImapFolders( true )
{
- QHBoxLayout * hlay = new QHBoxLayout( this, 0, KDialog::spacingHint() );
+ TQHBoxLayout * hlay = new TQHBoxLayout( this, 0, KDialog::spacingHint() );
hlay->setAutoAdd( true );
edit = new KLineEdit( this );
edit->setReadOnly( true );
- QToolButton* button = new QToolButton( this );
+ TQToolButton* button = new TQToolButton( this );
button->setIconSet( KGlobal::iconLoader()->loadIconSet( "folder", KIcon::Small, 0 ) );
- connect( button, SIGNAL(clicked()), this, SLOT(slotOpenDialog()) );
+ connect( button, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotOpenDialog()) );
- setSizePolicy( QSizePolicy( QSizePolicy::MinimumExpanding,
- QSizePolicy::Fixed ) );
- setFocusPolicy( QWidget::StrongFocus );
+ setSizePolicy( TQSizePolicy( TQSizePolicy::MinimumExpanding,
+ TQSizePolicy::Fixed ) );
+ setFocusPolicy( TQWidget::StrongFocus );
}
//-----------------------------------------------------------------------------
@@ -97,7 +97,7 @@ void FolderRequester::setFolder( KMFolder *folder )
}
//-----------------------------------------------------------------------------
-void FolderRequester::setFolder( const QString &idString )
+void FolderRequester::setFolder( const TQString &idString )
{
KMFolder *folder = kmkernel->findFolderById( idString );
if ( folder ) {
@@ -114,7 +114,7 @@ void FolderRequester::setFolder( const QString &idString )
}
//-----------------------------------------------------------------------------
-void FolderRequester::keyPressEvent( QKeyEvent * e )
+void FolderRequester::keyPressEvent( TQKeyEvent * e )
{
if ( e->key() == Qt::Key_Space )
slotOpenDialog();