summaryrefslogtreecommitdiffstats
path: root/languages
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commit170a65dc2a13f0a664d269d3058ffeab129ae83c (patch)
tree7d7fe2c0ec292fd0d1564fc69ba5358316e0a006 /languages
parent4dc0617cbcfb47b3301cf9b9a1127fa3b4fea732 (diff)
downloadtdevelop-170a65dc2a13f0a664d269d3058ffeab129ae83c.tar.gz
tdevelop-170a65dc2a13f0a664d269d3058ffeab129ae83c.zip
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages')
-rw-r--r--languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp2
-rw-r--r--languages/sql/sqlconfigwidget.ui.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp
index 8171c6b8..5bd6b949 100644
--- a/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp
+++ b/languages/cpp/app_templates/kscons_kmdi/kmdikonsole.cpp
@@ -31,7 +31,7 @@ void kmdikonsole::respawn()
if (!m_part) return;
- if (m_part->widget()->inherits("TQFrame"))
+ if (m_part->widget()->inherits(TQFRAME_OBJECT_NAME_STRING))
((TQFrame*)m_part->widget())->setFrameStyle(TQFrame::Panel|TQFrame::Sunken);
m_haskonsole=true;
diff --git a/languages/sql/sqlconfigwidget.ui.h b/languages/sql/sqlconfigwidget.ui.h
index 26a9fb0b..b7725a49 100644
--- a/languages/sql/sqlconfigwidget.ui.h
+++ b/languages/sql/sqlconfigwidget.ui.h
@@ -38,7 +38,7 @@ public:
virtual void setContentFromEditor( TQWidget* w )
{
- if ( w->inherits( "TQComboBox" ) )
+ if ( w->inherits( TQCOMBOBOX_OBJECT_NAME_STRING ) )
setText( ( (TQComboBox*)w )->currentText() );
else
TQTableItem::setContentFromEditor( w );
@@ -62,7 +62,7 @@ public:
virtual void setContentFromEditor( TQWidget* w )
{
- if ( w->inherits( "TQSpinBox" ) )
+ if ( w->inherits( TQSPINBOX_OBJECT_NAME_STRING ) )
setText( ( (TQSpinBox*)w )->text() );
else
TQTableItem::setContentFromEditor( w );