diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-13 00:26:14 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-13 00:26:14 +0000 |
commit | e192d1b3be27a26e344ae48cc6aea31185fe0a99 (patch) | |
tree | 080c21ee8a1a1a496c0b37b2a8fcb3381de04cd2 /kbabel/commonui/projectprefwidgets.cpp | |
parent | 6e7b4925121d177e954df2cca45443cfd78bda40 (diff) | |
download | tdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.tar.gz tdesdk-e192d1b3be27a26e344ae48cc6aea31185fe0a99.zip |
Finish TQt4 porting of kdesdk (kbabel)
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236386 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbabel/commonui/projectprefwidgets.cpp')
-rw-r--r-- | kbabel/commonui/projectprefwidgets.cpp | 12 |
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 ) |