summaryrefslogtreecommitdiffstats
path: root/kaddressbook/printing/printprogress.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/printing/printprogress.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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 'kaddressbook/printing/printprogress.cpp')
-rw-r--r--kaddressbook/printing/printprogress.cpp32
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();