diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/folderrequester.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-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/folderrequester.cpp')
-rw-r--r-- | kmail/folderrequester.cpp | 24 |
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(); |