|
|
@ -39,7 +39,7 @@ void WidgetNotifyHelper::setupChangedAction(TQWidget *w)
|
|
|
|
TQObject *obj;
|
|
|
|
TQObject *obj;
|
|
|
|
TQObjectList *list;
|
|
|
|
TQObjectList *list;
|
|
|
|
|
|
|
|
|
|
|
|
list = w->queryList( TQCOMBOBOX_OBJECT_NAME_STRING );
|
|
|
|
list = w->queryList( "TQComboBox" );
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
@ -53,7 +53,7 @@ void WidgetNotifyHelper::setupChangedAction(TQWidget *w)
|
|
|
|
connect(obj,TQT_SIGNAL(textChanged ( const TQString & )),w,TQT_SIGNAL(changed()));
|
|
|
|
connect(obj,TQT_SIGNAL(textChanged ( const TQString & )),w,TQT_SIGNAL(changed()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
list = w->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
|
|
|
|
list = w->queryList( "TQLineEdit" );
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
@ -67,21 +67,21 @@ void WidgetNotifyHelper::setupChangedAction(TQWidget *w)
|
|
|
|
connect(obj,TQT_SIGNAL(textChanged ( const TQString & )),w,TQT_SIGNAL(changed()));
|
|
|
|
connect(obj,TQT_SIGNAL(textChanged ( const TQString & )),w,TQT_SIGNAL(changed()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
list = w->queryList( TQSPINBOX_OBJECT_NAME_STRING );
|
|
|
|
list = w->queryList( "TQSpinBox" );
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
|
connect(obj,TQT_SIGNAL(valueChanged ( int )),w,TQT_SIGNAL(changed()));
|
|
|
|
connect(obj,TQT_SIGNAL(valueChanged ( int )),w,TQT_SIGNAL(changed()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
list = w->queryList( TQCHECKBOX_OBJECT_NAME_STRING );
|
|
|
|
list = w->queryList( "TQCheckBox" );
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
|
connect(obj,TQT_SIGNAL(stateChanged ( int )),w,TQT_SIGNAL(changed()));
|
|
|
|
connect(obj,TQT_SIGNAL(stateChanged ( int )),w,TQT_SIGNAL(changed()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
list = w->queryList( TQRADIOBUTTON_OBJECT_NAME_STRING );
|
|
|
|
list = w->queryList( "TQRadioButton" );
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
for ( obj = list->first(); obj; obj = list->next() )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
|
// std::cout << "obj found: " << obj->name() << std::endl;
|
|
|
|