summaryrefslogtreecommitdiffstats
path: root/kbabel/commonui/projectprefwidgets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/commonui/projectprefwidgets.cpp')
-rw-r--r--kbabel/commonui/projectprefwidgets.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kbabel/commonui/projectprefwidgets.cpp b/kbabel/commonui/projectprefwidgets.cpp
index 4a363c47..abafec59 100644
--- a/kbabel/commonui/projectprefwidgets.cpp
+++ b/kbabel/commonui/projectprefwidgets.cpp
@@ -87,11 +87,11 @@ static TQSize tqsizeHintForWidget(const TQWidget* widget)
TQSize size;
int numChild = 0;
- TQObjectList *l = (TQObjectList*)(widget->tqchildren());
+ TQObjectList l = widget->childrenListObject();
- for( uint i=0; i < l->count(); i++ )
+ for( uint i=0; i < l.count(); i++ )
{
- TQObject *o = l->at(i);
+ TQObject *o = l.at(i);
if( o->isWidgetType() )
{
numChild += 1;
@@ -571,12 +571,12 @@ bool IdentityPreferences::eventFilter(TQObject *o, TQEvent *e)
TQString mail=url.path();
bool handled=false;
- if(o == _mailEdit)
+ if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(_mailEdit))
{
handled=true;
_mailEdit->setText(mail);
}
- else if(o == _listEdit)
+ else if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(_listEdit))
{
handled=true;
_listEdit->setText(mail);
@@ -778,7 +778,7 @@ void MiscPreferences::regExpButtonClicked()
{
if ( _regExpEditDialog==0 )
_regExpEditDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>
- ("KRegExpEditor/KRegExpEditor", TQString(), this );
+ ("KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) );
KRegExpEditorInterface *iface = dynamic_cast<KRegExpEditorInterface *>( _regExpEditDialog );
if( iface )