summaryrefslogtreecommitdiffstats
path: root/kpresenter/KPrMSPresentationSetup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpresenter/KPrMSPresentationSetup.cpp')
-rw-r--r--kpresenter/KPrMSPresentationSetup.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpresenter/KPrMSPresentationSetup.cpp b/kpresenter/KPrMSPresentationSetup.cpp
index 8d696369..f9a87fd5 100644
--- a/kpresenter/KPrMSPresentationSetup.cpp
+++ b/kpresenter/KPrMSPresentationSetup.cpp
@@ -38,7 +38,7 @@
#include <tqfileinfo.h>
#include <tqhbox.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpixmap.h>
#include <tqpainter.h>
#include <tqpushbutton.h>
@@ -91,7 +91,7 @@ void KPrMSPresentation::initCreation( KProgress *progressBar )
kapp->processEvents();
for (int dirNum = 101; dirNum < 999; dirNum++) {
- slidePath = TQString("/DCIM/%1MSPJP").arg(dirNum);
+ slidePath = TQString("/DCIM/%1MSPJP").tqarg(dirNum);
if (! KIO::NetAccess::exists(( path + slidePath), true, ( TQWidget* )0L) )
break;
}
@@ -198,7 +198,7 @@ void KPrMSPresentation::createIndexFile( KProgress *progressBar )
// DCIM path 1, 68 bytes null padded
char buff[68];
- strncpy( buff, TQString("%1").arg(slidePath).ascii(), 67 );
+ strncpy( buff, TQString("%1").tqarg(slidePath).ascii(), 67 );
buff[67] = 0x00;
sppStream.writeRawBytes( buff, 68 );
sppStream << (TQ_UINT32)0x00000001; // fixed value
@@ -298,13 +298,13 @@ KPrMSPresentationSetup::KPrMSPresentationSetup( KPrDocument *_doc, KPrView *_vie
TQLabel *helptext = new TQLabel( this );
- helptext->setAlignment( TQt::WordBreak | TQt::AlignTop| TQt::AlignLeft );
+ helptext->tqsetAlignment( TQt::WordBreak | TQt::AlignTop| TQt::AlignLeft );
helptext->setText( i18n( "Please enter the directory where the memory stick "
"presentation should be saved. Please also enter a "
"title for the slideshow presentation. " ) );
TQLabel *lable2 = new TQLabel( i18n("Path:"), this );
- lable2->setAlignment( TQt::AlignVCenter | TQt::AlignRight );
+ lable2->tqsetAlignment( TQt::AlignVCenter | TQt::AlignRight );
path=new KURLRequester( this );
path->setMode( KFile::Directory);
path->lineEdit()->setText(msPres.getPath());
@@ -320,7 +320,7 @@ KPrMSPresentationSetup::KPrMSPresentationSetup( KPrDocument *_doc, KPrView *_vie
TQLabel *lable1 = new TQLabel( i18n("Title:"), this, "lable1" );
- lable1->setAlignment( TQt::AlignVCenter | TQt::AlignRight );
+ lable1->tqsetAlignment( TQt::AlignVCenter | TQt::AlignRight );
// TODO - check if there is already a presentation with this title, and
// add a number after it until there isn't.
title = new KLineEdit( msPres.getTitle(), this );
@@ -351,13 +351,13 @@ KPrMSPresentationSetup::KPrMSPresentationSetup( KPrDocument *_doc, KPrView *_vie
"leave these set to the default.") );
TQHBox *textColourLayout = new TQHBox( colourGroup );
TQLabel *lable3 = new TQLabel( i18n("Text color:"), textColourLayout );
- lable3->setAlignment( TQt::AlignVCenter | TQt::AlignRight );
+ lable3->tqsetAlignment( TQt::AlignVCenter | TQt::AlignRight );
textColour = new KColorButton( msPres.getTextColour(), textColourLayout );
lable3->setBuddy( textColour );
TQHBox *backgroundColourLayout = new TQHBox( colourGroup );
TQLabel *lable4 = new TQLabel( i18n("Background color:"), backgroundColourLayout );
- lable4->setAlignment( TQt::AlignVCenter | TQt::AlignRight );
+ lable4->tqsetAlignment( TQt::AlignVCenter | TQt::AlignRight );
backColour = new KColorButton( msPres.getBackColour(), backgroundColourLayout );
lable4->setBuddy( backColour );
colourGroup->setHidden( true );
@@ -444,7 +444,7 @@ void KPrMSPresentationSetup::finish()
if ( !KIO::NetAccess::exists(pathname, false, this) ) {
TQString msg = i18n( "<qt>The directory <b>%1</b> does not exist.<br>"
"Do you want create it?</qt>" );
- if( KMessageBox::questionYesNo( this, msg.arg( pathname ),
+ if( KMessageBox::questionYesNo( this, msg.tqarg( pathname ),
i18n( "Directory Not Found" ) )
== KMessageBox::Yes)
{
@@ -471,7 +471,7 @@ void KPrMSPresentationSetup::finish()
if ( KMessageBox::warningYesNo( 0,
i18n( "You are about to overwrite an existing index "
"file : %1.\n "
- "Do you want to proceed?" ).arg( sppFile ),
+ "Do you want to proceed?" ).tqarg( sppFile ),
i18n( "Overwrite Presentation" ) )
== KMessageBox::No) {
path->setFocus();