summaryrefslogtreecommitdiffstats
path: root/src/widgetnotifyhelper.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-11 21:06:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 17:50:19 +0900
commit1bdf9a28d0246b319638f67ef3c15f2aaf7a9911 (patch)
tree7a54607be69b5a695286785202d2a28a864f98dd /src/widgetnotifyhelper.cpp
parent4ffe7d4ef60061a9bd0b5d41e351edfcb3d2801e (diff)
downloadkvpnc-1bdf9a28d0246b319638f67ef3c15f2aaf7a9911.tar.gz
kvpnc-1bdf9a28d0246b319638f67ef3c15f2aaf7a9911.zip
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e361a7cc42ad3ad0235ff7137bff77730380a351)
Diffstat (limited to 'src/widgetnotifyhelper.cpp')
-rw-r--r--src/widgetnotifyhelper.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgetnotifyhelper.cpp b/src/widgetnotifyhelper.cpp
index 3bd0e3f..602dddf 100644
--- a/src/widgetnotifyhelper.cpp
+++ b/src/widgetnotifyhelper.cpp
@@ -39,7 +39,7 @@ void WidgetNotifyHelper::setupChangedAction(TQWidget *w)
TQObject *obj;
TQObjectList *list;
- list = w->queryList( TQCOMBOBOX_OBJECT_NAME_STRING );
+ list = w->queryList( "TQComboBox" );
for ( obj = list->first(); obj; obj = list->next() )
{
// 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()));
}
- list = w->queryList( TQLINEEDIT_OBJECT_NAME_STRING );
+ list = w->queryList( "TQLineEdit" );
for ( obj = list->first(); obj; obj = list->next() )
{
// 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()));
}
- list = w->queryList( TQSPINBOX_OBJECT_NAME_STRING );
+ list = w->queryList( "TQSpinBox" );
for ( obj = list->first(); obj; obj = list->next() )
{
// std::cout << "obj found: " << obj->name() << std::endl;
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() )
{
// std::cout << "obj found: " << obj->name() << std::endl;
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() )
{
// std::cout << "obj found: " << obj->name() << std::endl;