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/folderdiaquotatab_p.cpp | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kmail/folderdiaquotatab_p.cpp') diff --git a/kmail/folderdiaquotatab_p.cpp b/kmail/folderdiaquotatab_p.cpp index 35cfb02b1..be623fe30 100644 --- a/kmail/folderdiaquotatab_p.cpp +++ b/kmail/folderdiaquotatab_p.cpp @@ -31,11 +31,11 @@ #include "folderdiaquotatab_p.h" -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include #include @@ -51,22 +51,22 @@ using namespace KMail; struct QuotaInfo; -QuotaWidget::QuotaWidget( QWidget* parent, const char* name ) - :QWidget( parent, name ) +QuotaWidget::QuotaWidget( TQWidget* parent, const char* name ) + :TQWidget( parent, name ) { - QVBoxLayout *box = new QVBoxLayout(this); - QWidget *stuff = new QWidget( this ); - QGridLayout* layout = - new QGridLayout( stuff, 3, 3, + TQVBoxLayout *box = new TQVBoxLayout(this); + TQWidget *stuff = new TQWidget( this ); + TQGridLayout* layout = + new TQGridLayout( stuff, 3, 3, KDialog::marginHint(), KDialog::spacingHint() ); - mInfoLabel = new QLabel("", stuff ); - mRootLabel = new QLabel("", stuff ); - mProgressBar = new QProgressBar( stuff ); - layout->addWidget( new QLabel( i18n("Root:" ), stuff ), 0, 0 ); + mInfoLabel = new TQLabel("", stuff ); + mRootLabel = new TQLabel("", stuff ); + mProgressBar = new TQProgressBar( stuff ); + layout->addWidget( new TQLabel( i18n("Root:" ), stuff ), 0, 0 ); layout->addWidget( mRootLabel, 0, 1 ); - layout->addWidget( new QLabel( i18n("Usage:"), stuff ), 1, 0 ); - //layout->addWidget( new QLabel( i18n("Status:"), stuff ), 2, 0 ); + layout->addWidget( new TQLabel( i18n("Usage:"), stuff ), 1, 0 ); + //layout->addWidget( new TQLabel( i18n("Status:"), stuff ), 2, 0 ); layout->addWidget( mInfoLabel, 1, 1 ); layout->addWidget( mProgressBar, 2, 1 ); box->addWidget( stuff ); -- cgit v1.2.1