diff options
Diffstat (limited to 'kaddressbook/printing/printprogress.cpp')
-rw-r--r-- | kaddressbook/printing/printprogress.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kaddressbook/printing/printprogress.cpp b/kaddressbook/printing/printprogress.cpp index cb4a91d85..43aec8cf7 100644 --- a/kaddressbook/printing/printprogress.cpp +++ b/kaddressbook/printing/printprogress.cpp @@ -21,9 +21,9 @@ without including the source code for Qt in the source distribution. */ -#include <qlayout.h> -#include <qprogressbar.h> -#include <qtextbrowser.h> +#include <tqlayout.h> +#include <tqprogressbar.h> +#include <tqtextbrowser.h> #include <kapplication.h> #include <kdebug.h> @@ -34,41 +34,41 @@ using namespace KABPrinting; -PrintProgress::PrintProgress( QWidget *parent, const char *name ) - : QWidget( parent, name ) +PrintProgress::PrintProgress( TQWidget *parent, const char *name ) + : TQWidget( parent, name ) { setCaption( i18n( "Printing: Progress" ) ); - QGridLayout *topLayout = new QGridLayout( this, 1, 1, KDialog::marginHint(), + TQGridLayout *topLayout = new TQGridLayout( this, 1, 1, KDialog::marginHint(), KDialog::spacingHint() ); - mLogBrowser = new QTextBrowser( this ); + mLogBrowser = new TQTextBrowser( this ); topLayout->addWidget( mLogBrowser, 0, 0 ); - mProgressBar = new QProgressBar( this ); + mProgressBar = new TQProgressBar( this ); mProgressBar->setProgress( 0 ); topLayout->addWidget( mProgressBar, 1, 0 ); - resize( QSize( 370, 220 ).expandedTo( minimumSizeHint() ) ); + resize( TQSize( 370, 220 ).expandedTo( minimumSizeHint() ) ); } PrintProgress::~PrintProgress() { } -void PrintProgress::addMessage( const QString &msg ) +void PrintProgress::addMessage( const TQString &msg ) { mMessages.append( msg ); - QString head = QString( "<qt><b>" ) + i18n( "Progress" ) + - QString( ":</b><ul>" ); + TQString head = TQString( "<qt><b>" ) + i18n( "Progress" ) + + TQString( ":</b><ul>" ); - QString foot = QString( "</ul></qt>" ); + TQString foot = TQString( "</ul></qt>" ); - QString body; - QStringList::ConstIterator it; + TQString body; + TQStringList::ConstIterator it; for ( it = mMessages.begin(); it != mMessages.end(); ++it ) - body.append( QString( "<li>" ) + (*it) + QString( "</li>" ) ); + body.append( TQString( "<li>" ) + (*it) + TQString( "</li>" ) ); mLogBrowser->setText( head + body + foot ); kapp->processEvents(); |