summaryrefslogtreecommitdiffstats
path: root/quanta
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 20:07:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 20:07:57 +0000
commitf7670c198945adc3b95ad69a959fe5f8ae55b493 (patch)
treef99e83cfcade37f343656314fa6088ef9c6d2526 /quanta
parent9cbbf05386502794e53fbf68678e3c7fc6d0e296 (diff)
downloadtdewebdev-f7670c198945adc3b95ad69a959fe5f8ae55b493.tar.gz
tdewebdev-f7670c198945adc3b95ad69a959fe5f8ae55b493.zip
Runtime object naming repaired in kdewebdev
NOTE: runtime object naming still needs to be checked for stray "Q*" strings git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1222551 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta')
-rw-r--r--quanta/components/csseditor/cssselector.cpp4
-rw-r--r--quanta/components/framewizard/visualframeeditor.cpp4
-rw-r--r--quanta/components/tableeditor/tableitem.cpp2
3 files changed, 5 insertions, 5 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());
}
diff --git a/quanta/components/framewizard/visualframeeditor.cpp b/quanta/components/framewizard/visualframeeditor.cpp
index ec0d9686..a11dae84 100644
--- a/quanta/components/framewizard/visualframeeditor.cpp
+++ b/quanta/components/framewizard/visualframeeditor.cpp
@@ -231,7 +231,7 @@ void VisualFrameEditor::paintEvent ( TQPaintEvent * ){
delete m_firstInsertedSA;
m_firstInsertedSA = 0L;
- TQObjectList* splitterList = queryList("TQSplitter");
+ TQObjectList* splitterList = queryList(TQSPLITTER_OBJECT_NAME_STRING);
for (uint i = 0; i < splitterList->count(); i++) {
TQObject* o = splitterList->at(i);
removeChild(o); //this will delete all childr of "o"
@@ -301,7 +301,7 @@ void VisualFrameEditor::drawGUI(treeNode *n, TQWidget* parent){
}
else {
SelectableArea *sa=new SelectableArea(parent,n->label().ascii());
- if(parent->isA("TQSplitter")) dynamic_cast<TQSplitter *>(parent)->setResizeMode(sa->view(),TQSplitter::KeepSize );
+ if(parent->isA(TQSPLITTER_OBJECT_NAME_STRING)) dynamic_cast<TQSplitter *>(parent)->setResizeMode(sa->view(),TQSplitter::KeepSize );
else
if(!m_firstInsertedSA) m_firstInsertedSA = sa;
sa->view()->setGeometry(n->atts()->geometry());
diff --git a/quanta/components/tableeditor/tableitem.cpp b/quanta/components/tableeditor/tableitem.cpp
index 6d3da1ac..60625d95 100644
--- a/quanta/components/tableeditor/tableitem.cpp
+++ b/quanta/components/tableeditor/tableitem.cpp
@@ -54,7 +54,7 @@ TQWidget* TableItem::createEditor() const
void TableItem::setContentFromEditor(TQWidget *w)
{
- if (w->inherits( "TQTextEdit" ))
+ if (w->inherits( TQTEXTEDIT_OBJECT_NAME_STRING ))
setText(((TQTextEdit*)w)->text());
else
TQTableItem::setContentFromEditor(w);