summaryrefslogtreecommitdiffstats
path: root/kode/kwsdl
diff options
context:
space:
mode:
Diffstat (limited to 'kode/kwsdl')
-rw-r--r--kode/kwsdl/kung/binaryinputfield.cpp6
-rw-r--r--kode/kwsdl/kung/complexbaseinputfield.cpp8
-rw-r--r--kode/kwsdl/kung/dateinputfield.cpp2
-rw-r--r--kode/kwsdl/kung/inputfield.cpp2
-rw-r--r--kode/kwsdl/kung/listinputfield.cpp12
-rw-r--r--kode/kwsdl/kung/pageinputfield.cpp12
6 files changed, 21 insertions, 21 deletions
diff --git a/kode/kwsdl/kung/binaryinputfield.cpp b/kode/kwsdl/kung/binaryinputfield.cpp
index 9d971893e..8d897c4c5 100644
--- a/kode/kwsdl/kung/binaryinputfield.cpp
+++ b/kode/kwsdl/kung/binaryinputfield.cpp
@@ -31,7 +31,7 @@
#include <tqfile.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <tqwidget.h>
@@ -131,7 +131,7 @@ void BinaryWidget::setData( const TQByteArray &data )
part->openURL( KURL( file.name() ) );
mMainWidget = part->widget();
} else {
- mMainWidget = new TQLabel( i18n( "No part found for visualization of mimetype %1" ).arg( mimetype ), this );
+ mMainWidget = new TQLabel( i18n( "No part found for visualization of mimetype %1" ).tqarg( mimetype ), this );
}
mData = data;
@@ -154,7 +154,7 @@ void BinaryWidget::load()
if ( KIO::NetAccess::download( url, tempFile, this ) ) {
TQFile file( tempFile );
if ( !file.open( IO_ReadOnly ) ) {
- KMessageBox::error( this, i18n( "Unable to open file %1" ).arg( url.url() ) );
+ KMessageBox::error( this, i18n( "Unable to open file %1" ).tqarg( url.url() ) );
return;
}
diff --git a/kode/kwsdl/kung/complexbaseinputfield.cpp b/kode/kwsdl/kung/complexbaseinputfield.cpp
index 676ee3bac..bfcd375e2 100644
--- a/kode/kwsdl/kung/complexbaseinputfield.cpp
+++ b/kode/kwsdl/kung/complexbaseinputfield.cpp
@@ -21,7 +21,7 @@
#include <tqgroupbox.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <schema/complextype.h>
@@ -141,14 +141,14 @@ TQWidget *ComplexBaseInputField::createWidget( TQWidget *parent )
{
TQGroupBox *inputWidget = new TQGroupBox( mName, parent );
inputWidget->setColumnLayout( 0, TQt::Horizontal );
- TQGridLayout *layout = new TQGridLayout( inputWidget->layout(), 2, 2, 6 );
+ TQGridLayout *tqlayout = new TQGridLayout( inputWidget->tqlayout(), 2, 2, 6 );
InputField::List::Iterator it;
int row = 0;
for ( it = mFields.begin(); it != mFields.end(); ++it, ++row ) {
TQLabel *label = new TQLabel( (*it)->name(), inputWidget );
- layout->addWidget( label, row, 0 );
- layout->addWidget( (*it)->createWidget( inputWidget ), row, 1 );
+ tqlayout->addWidget( label, row, 0 );
+ tqlayout->addWidget( (*it)->createWidget( inputWidget ), row, 1 );
}
return inputWidget;
diff --git a/kode/kwsdl/kung/dateinputfield.cpp b/kode/kwsdl/kung/dateinputfield.cpp
index 56132a4eb..d49c19472 100644
--- a/kode/kwsdl/kung/dateinputfield.cpp
+++ b/kode/kwsdl/kung/dateinputfield.cpp
@@ -25,7 +25,7 @@
DateInputField::DateInputField( const TQString &name, const Schema::SimpleType *type )
: SimpleInputField( name, type ),
- mValue( TQDate::currentDate() )
+ mValue( TQDate::tqcurrentDate() )
{
}
diff --git a/kode/kwsdl/kung/inputfield.cpp b/kode/kwsdl/kung/inputfield.cpp
index 7bdd4cdeb..a8a1c66f3 100644
--- a/kode/kwsdl/kung/inputfield.cpp
+++ b/kode/kwsdl/kung/inputfield.cpp
@@ -25,7 +25,7 @@
#include "inputfield.h"
InputField::InputField( const TQString &name )
- : TQObject( 0, TQString( "InputField( %1 )" ).arg( name ).latin1() ),
+ : TQObject( 0, TQString( "InputField( %1 )" ).tqarg( name ).latin1() ),
mName( name )
{
}
diff --git a/kode/kwsdl/kung/listinputfield.cpp b/kode/kwsdl/kung/listinputfield.cpp
index 0b95daf31..7a5eeb713 100644
--- a/kode/kwsdl/kung/listinputfield.cpp
+++ b/kode/kwsdl/kung/listinputfield.cpp
@@ -19,7 +19,7 @@
Boston, MA 02110-1301, USA.
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <tqlistbox.h>
#include <tqpushbutton.h>
@@ -91,19 +91,19 @@ ListWidget::ListWidget( InputField *parentField, const TQString &name, const TQS
: TQWidget( parent ),
mParentField( parentField ), mName( name ), mType( type )
{
- TQGridLayout *layout = new TQGridLayout( this, 4, 2, 11, 6 );
+ TQGridLayout *tqlayout = new TQGridLayout( this, 4, 2, 11, 6 );
mView = new TQListBox( this );
- layout->addMultiCellWidget( mView, 0, 3, 0, 0 );
+ tqlayout->addMultiCellWidget( mView, 0, 3, 0, 0 );
mAddButton = new TQPushButton( i18n( "Add" ), this );
- layout->addWidget( mAddButton, 0, 1 );
+ tqlayout->addWidget( mAddButton, 0, 1 );
mEditButton = new TQPushButton( i18n( "Edit..." ), this );
- layout->addWidget( mEditButton, 1, 1 );
+ tqlayout->addWidget( mEditButton, 1, 1 );
mRemoveButton = new TQPushButton( i18n( "Remove" ), this );
- layout->addWidget( mRemoveButton, 2, 1 );
+ tqlayout->addWidget( mRemoveButton, 2, 1 );
connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( add() ) );
connect( mEditButton, TQT_SIGNAL( clicked() ), TQT_SLOT( edit() ) );
diff --git a/kode/kwsdl/kung/pageinputfield.cpp b/kode/kwsdl/kung/pageinputfield.cpp
index 261f58ab4..6ca3409d7 100644
--- a/kode/kwsdl/kung/pageinputfield.cpp
+++ b/kode/kwsdl/kung/pageinputfield.cpp
@@ -20,7 +20,7 @@
*/
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include "inputfieldfactory.h"
@@ -88,18 +88,18 @@ TQString PageInputField::data() const
TQWidget *PageInputField::createWidget( TQWidget *parent )
{
TQWidget *mInputWidget = new TQWidget( parent, "PageInputWidget" );
- TQGridLayout *layout = new TQGridLayout( mInputWidget, 2, 2, 11, 6 );
+ TQGridLayout *tqlayout = new TQGridLayout( mInputWidget, 2, 2, 11, 6 );
InputField::List::Iterator it;
int row = 0;
for ( it = mFields.begin(); it != mFields.end(); ++it, ++row ) {
TQLabel *label = new TQLabel( (*it)->name(), mInputWidget );
- label->setAlignment( TQt::AlignTop );
- layout->addWidget( label, row, 0 );
- layout->addWidget( (*it)->createWidget( mInputWidget ), row, 1 );
+ label->tqsetAlignment( TQt::AlignTop );
+ tqlayout->addWidget( label, row, 0 );
+ tqlayout->addWidget( (*it)->createWidget( mInputWidget ), row, 1 );
}
- layout->setRowStretch( ++row, 1 );
+ tqlayout->setRowStretch( ++row, 1 );
return mInputWidget;
}