summaryrefslogtreecommitdiffstats
path: root/quanta/components/csseditor
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/csseditor')
-rw-r--r--quanta/components/csseditor/cssselector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/components/csseditor/cssselector.cpp b/quanta/components/csseditor/cssselector.cpp
index 73460c05..458c8d13 100644
--- a/quanta/components/csseditor/cssselector.cpp
+++ b/quanta/components/csseditor/cssselector.cpp
@@ -209,7 +209,7 @@ void CSSSelector::openCSSEditor(TQListViewItem * i){
TQListView *lv = i->listView();
TQListViewItem *temp;
TQString s;
- TQObjectList *l = queryList( "TQListView" );
+ TQObjectList *l = queryList( TQLISTVIEW_OBJECT_NAME_STRING );
TQObjectListIt it( *l ); // iterate over the listviews
TQObject *obj;
@@ -291,7 +291,7 @@ void CSSSelector::openCSSEditor(TQListViewItem * i){
}
void CSSSelector::setCurrentListView(TQWidget* w){
- TQObjectList *l = w->queryList( "TQListView" );
+ TQObjectList *l = w->queryList( TQLISTVIEW_OBJECT_NAME_STRING );
m_currentListView = static_cast<TQListView*>(l->first());
}