summaryrefslogtreecommitdiffstats
path: root/kode
diff options
context:
space:
mode:
Diffstat (limited to 'kode')
-rw-r--r--kode/kodemain.cpp2
-rw-r--r--kode/kwsdl/kung/dateinputfield.cpp2
-rw-r--r--kode/kwsdl/kung/pageinputfield.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kode/kodemain.cpp b/kode/kodemain.cpp
index 6e9b62225..437b374f7 100644
--- a/kode/kodemain.cpp
+++ b/kode/kodemain.cpp
@@ -384,7 +384,7 @@ int create( KCmdLineArgs *args )
authorName = a.realName();
}
if ( !authorEmail.isEmpty() ) {
- file.addCopyright( TQDate::tqcurrentDate().year(), authorName, authorEmail );
+ file.addCopyright( TQDate::currentDate().year(), authorName, authorEmail );
}
KODE::License l;
diff --git a/kode/kwsdl/kung/dateinputfield.cpp b/kode/kwsdl/kung/dateinputfield.cpp
index d49c19472..56132a4eb 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::tqcurrentDate() )
+ mValue( TQDate::currentDate() )
{
}
diff --git a/kode/kwsdl/kung/pageinputfield.cpp b/kode/kwsdl/kung/pageinputfield.cpp
index 6ca3409d7..c5ea0016e 100644
--- a/kode/kwsdl/kung/pageinputfield.cpp
+++ b/kode/kwsdl/kung/pageinputfield.cpp
@@ -94,7 +94,7 @@ TQWidget *PageInputField::createWidget( TQWidget *parent )
int row = 0;
for ( it = mFields.begin(); it != mFields.end(); ++it, ++row ) {
TQLabel *label = new TQLabel( (*it)->name(), mInputWidget );
- label->tqsetAlignment( TQt::AlignTop );
+ label->setAlignment( TQt::AlignTop );
tqlayout->addWidget( label, row, 0 );
tqlayout->addWidget( (*it)->createWidget( mInputWidget ), row, 1 );
}