summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/propertyeditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/propertyeditor.cpp')
-rw-r--r--kdevdesigner/designer/propertyeditor.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdevdesigner/designer/propertyeditor.cpp b/kdevdesigner/designer/propertyeditor.cpp
index c7a5d3ae..3ef4d687 100644
--- a/kdevdesigner/designer/propertyeditor.cpp
+++ b/kdevdesigner/designer/propertyeditor.cpp
@@ -861,7 +861,7 @@ QDateEdit *PropertyDateItem::lined()
if ( lin )
return lin;
lin = new QDateEdit( listview->viewport() );
- TQObjectList *l = lin->queryList( "TQLineEdit" );
+ TQObjectList *l = lin->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
for ( TQObject *o = l->first(); o; o = l->next() )
o->installEventFilter( listview );
delete l;
@@ -938,7 +938,7 @@ QTimeEdit *PropertyTimeItem::lined()
lin = new QTimeEdit( listview->viewport() );
connect( lin, TQT_SIGNAL( valueChanged( const TQTime & ) ),
this, TQT_SLOT( setValue() ) );
- TQObjectList *l = lin->queryList( "TQLineEdit" );
+ TQObjectList *l = lin->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
for ( TQObject *o = l->first(); o; o = l->next() )
o->installEventFilter( listview );
delete l;
@@ -1013,7 +1013,7 @@ QDateTimeEdit *PropertyDateTimeItem::lined()
lin = new QDateTimeEdit( listview->viewport() );
connect( lin, TQT_SIGNAL( valueChanged( const TQDateTime & ) ),
this, TQT_SLOT( setValue() ) );
- TQObjectList *l = lin->queryList( "TQLineEdit" );
+ TQObjectList *l = lin->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
for ( TQObject *o = l->first(); o; o = l->next() )
o->installEventFilter( listview );
delete l;
@@ -1182,7 +1182,7 @@ TQSpinBox *PropertyIntItem::spinBox()
spinBx = new TQSpinBox( 0, INT_MAX, 1, listview->viewport() );
spinBx->hide();
spinBx->installEventFilter( listview );
- TQObjectList *ol = spinBx->queryList( "TQLineEdit" );
+ TQObjectList *ol = spinBx->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
if ( ol && ol->first() )
ol->first()->installEventFilter( listview );
delete ol;
@@ -1278,7 +1278,7 @@ TQSpinBox* PropertyLayoutItem::spinBox()
spinBx->setSpecialValueText( i18n( "default" ) );
spinBx->hide();
spinBx->installEventFilter( listview );
- TQObjectList *ol = spinBx->queryList( "TQLineEdit" );
+ TQObjectList *ol = spinBx->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
if ( ol && ol->first() )
ol->first()->installEventFilter( listview );
delete ol;
@@ -1351,7 +1351,7 @@ TQComboBox *PropertyListItem::combo()
this, TQT_SLOT( setValue() ) );
comb->installEventFilter( listview );
if ( editable ) {
- TQObjectList *ol = comb->queryList( "TQLineEdit" );
+ TQObjectList *ol = comb->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
if ( ol && ol->first() )
ol->first()->installEventFilter( listview );
delete ol;