summaryrefslogtreecommitdiffstats
path: root/libkdepim/kprefsdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kprefsdialog.cpp')
-rw-r--r--libkdepim/kprefsdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/libkdepim/kprefsdialog.cpp b/libkdepim/kprefsdialog.cpp
index 1af04fd46..93b3feaae 100644
--- a/libkdepim/kprefsdialog.cpp
+++ b/libkdepim/kprefsdialog.cpp
@@ -376,7 +376,7 @@ KPrefsWidDate::KPrefsWidDate( KConfigSkeleton::ItemDateTime *item,
void KPrefsWidDate::readConfig()
{
- mDateEdit->setDate( mItem->value().date().isValid() ? mItem->value().date() : TQDate::currentDate() );
+ mDateEdit->setDate( mItem->value().date().isValid() ? mItem->value().date() : TQDate::tqcurrentDate() );
}
void KPrefsWidDate::writeConfig()
@@ -766,18 +766,18 @@ void KPrefsDialog::autoCreate()
kdDebug() << "ITEMS: " << (*it)->name() << endl;
TQWidget *page;
- TQGridLayout *layout;
+ TQGridLayout *tqlayout;
int currentRow;
- if ( !mGroupPages.contains( group ) ) {
+ if ( !mGroupPages.tqcontains( group ) ) {
page = addPage( group );
- layout = new TQGridLayout( page );
+ tqlayout = new TQGridLayout( page );
mGroupPages.insert( group, page );
- mGroupLayouts.insert( group, layout );
+ mGroupLayouts.insert( group, tqlayout );
currentRow = 0;
mCurrentRows.insert( group, currentRow );
} else {
page = mGroupPages[ group ];
- layout = mGroupLayouts[ group ];
+ tqlayout = mGroupLayouts[ group ];
currentRow = mCurrentRows[ group ];
}
@@ -786,11 +786,11 @@ void KPrefsDialog::autoCreate()
if ( wid ) {
TQValueList<TQWidget *> widgets = wid->widgets();
if ( widgets.count() == 1 ) {
- layout->addMultiCellWidget( widgets[ 0 ],
+ tqlayout->addMultiCellWidget( widgets[ 0 ],
currentRow, currentRow, 0, 1 );
} else if ( widgets.count() == 2 ) {
- layout->addWidget( widgets[ 0 ], currentRow, 0 );
- layout->addWidget( widgets[ 1 ], currentRow, 1 );
+ tqlayout->addWidget( widgets[ 0 ], currentRow, 0 );
+ tqlayout->addWidget( widgets[ 1 ], currentRow, 1 );
} else {
kdError() << "More widgets than expected: " << widgets.count() << endl;
}
@@ -804,7 +804,7 @@ void KPrefsDialog::autoCreate()
addWid( wid );
- mCurrentRows.replace( group, ++currentRow );
+ mCurrentRows.tqreplace( group, ++currentRow );
}
}