summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/designerappiface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/designerappiface.cpp')
-rw-r--r--kdevdesigner/designer/designerappiface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdevdesigner/designer/designerappiface.cpp b/kdevdesigner/designer/designerappiface.cpp
index cfafb4e9..767ecf3a 100644
--- a/kdevdesigner/designer/designerappiface.cpp
+++ b/kdevdesigner/designer/designerappiface.cpp
@@ -37,7 +37,7 @@
#include "../shared/widgetdatabase.h"
#include <tqvariant.h>
#include <tqlistview.h>
-#include <tqtextedit.h>
+#include <textedit.h>
#include <tqstatusbar.h>
#include "pixmapcollection.h"
#include "hierarchyview.h"
@@ -770,8 +770,8 @@ void DesignerFormWindowImpl::addFunction( const TQCString &function, const TQStr
void DesignerFormWindowImpl::setProperty( TQObject *o, const char *property, const TQVariant &value )
{
- int id = o->tqmetaObject()->findProperty( property, TRUE );
- const TQMetaProperty* p = o->tqmetaObject()->property( id, TRUE );
+ int id = o->metaObject()->findProperty( property, TRUE );
+ const TQMetaProperty* p = o->metaObject()->property( id, TRUE );
if ( p && p->isValid() )
o->setProperty( property, value );
else
@@ -780,8 +780,8 @@ void DesignerFormWindowImpl::setProperty( TQObject *o, const char *property, con
TQVariant DesignerFormWindowImpl::property( TQObject *o, const char *prop ) const
{
- int id = o->tqmetaObject()->findProperty( prop, TRUE );
- const TQMetaProperty* p = o->tqmetaObject()->property( id, TRUE );
+ int id = o->metaObject()->findProperty( prop, TRUE );
+ const TQMetaProperty* p = o->metaObject()->property( id, TRUE );
if ( p && p->isValid() )
return o->property( prop );
return MetaDataBase::fakeProperty( o, prop );