summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrPresDurationDia.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kpresenter/KPrPresDurationDia.cpp
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kpresenter/KPrPresDurationDia.cpp')
-rw-r--r--kpresenter/KPrPresDurationDia.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpresenter/KPrPresDurationDia.cpp b/kpresenter/KPrPresDurationDia.cpp
index 88163c62..8306dec3 100644
--- a/kpresenter/KPrPresDurationDia.cpp
+++ b/kpresenter/KPrPresDurationDia.cpp
@@ -25,7 +25,7 @@
#include <tqlabel.h>
#include <tqheader.h>
#include <tqvbox.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <klistview.h>
#include <kdebug.h>
#include <klocale.h>
@@ -48,7 +48,7 @@ KPrPresDurationDia::KPrPresDurationDia( TQWidget *parent, const char *name,
slides->setSelected( slides->firstChild(), true );
label = new TQLabel( i18n( "Presentation duration: " ) + _durationString, page );
- label->tqsetAlignment( AlignVCenter );
+ label->setAlignment( AlignVCenter );
topLayout->addWidget( label );
setMinimumSize( 600, 400 );
@@ -71,7 +71,7 @@ void KPrPresDurationDia::setupSlideList( TQWidget *_page )
if ( doc->pageList().at( i )->isSlideSelected() ) {
KListViewItem *item = new KListViewItem( slides );
item->setPixmap( 0, KPBarIcon( "slide" ) );
- item->setText( 0, TQString( "%1" ).tqarg( i + 1 ) );
+ item->setText( 0, TQString( "%1" ).arg( i + 1 ) );
item->setText( 1, *m_durationListString.at( i ) );
item->setText( 2, doc->pageList().at( i )->pageTitle() );
}