diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 23:06:17 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-17 23:06:17 +0000 |
commit | 2cb2dfe421fb3f11a70368dafbd8a1ec7383d30b (patch) | |
tree | 8bd21fd31d2c6ad2e805296d6e229a0c851866cb /kdevdesigner/designer/designerappiface.cpp | |
parent | e9be34de5fe62ce92c1d4cad63d03be76e9beb8d (diff) | |
download | tdevelop-2cb2dfe421fb3f11a70368dafbd8a1ec7383d30b.tar.gz tdevelop-2cb2dfe421fb3f11a70368dafbd8a1ec7383d30b.zip |
Fix remaining kdevelop build problems
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1237331 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdevdesigner/designer/designerappiface.cpp')
-rw-r--r-- | kdevdesigner/designer/designerappiface.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdevdesigner/designer/designerappiface.cpp b/kdevdesigner/designer/designerappiface.cpp index 5c7fa739..1cf01d4d 100644 --- a/kdevdesigner/designer/designerappiface.cpp +++ b/kdevdesigner/designer/designerappiface.cpp @@ -719,7 +719,7 @@ TQPtrList<TQAction> DesignerFormWindowImpl::actionList() const TQAction *DesignerFormWindowImpl::createAction( const TQString& text, const TQIconSet& icon, const TQString& menuText, int accel, TQObject* tqparent, const char* name, bool toggle ) { - TQDesignerAction *a = new TQDesignerAction( tqparent ); + QDesignerAction *a = new QDesignerAction( tqparent ); a->setName( name ); a->setText( text ); if ( !icon.isNull() && !icon.pixmap().isNull() ) @@ -998,7 +998,7 @@ void DesignerFormWindowImpl::addMenuSeparator( const TQString &menu ) PopupMenuEditor *popup = (PopupMenuEditor*)mw->child( menu, "PopupMenuEditor" ); if ( !popup ) return; - TQAction *a = new TQSeparatorAction( 0 ); + TQAction *a = new QSeparatorAction( 0 ); popup->insert( a ); } @@ -1007,7 +1007,7 @@ void DesignerFormWindowImpl::addToolBar( const TQString &text, const TQString &n if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); - TQToolBar *tb = new TQDesignerToolBar( mw ); + TQToolBar *tb = new QDesignerToolBar( mw ); TQString n = name; formWindow->unify( TQT_TQOBJECT(tb), n, TRUE ); tb->setName( n ); @@ -1019,7 +1019,7 @@ void DesignerFormWindowImpl::addToolBarAction( const TQString &tbn, TQAction *a if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); - TQDesignerToolBar *tb = (TQDesignerToolBar*)mw->child( tbn, "TQDesignerToolBar" ); + QDesignerToolBar *tb = (QDesignerToolBar*)mw->child( tbn, "QDesignerToolBar" ); if ( !tb ) return; a->addTo( tb ); @@ -1031,10 +1031,10 @@ void DesignerFormWindowImpl::addToolBarSeparator( const TQString &tbn ) if ( !::tqqt_cast<TQMainWindow*>(formWindow->mainContainer()) ) return; TQMainWindow *mw = (TQMainWindow*)formWindow->mainContainer(); - TQDesignerToolBar *tb = (TQDesignerToolBar*)mw->child( tbn, "TQDesignerToolBar" ); + QDesignerToolBar *tb = (QDesignerToolBar*)mw->child( tbn, "QDesignerToolBar" ); if ( !tb ) return; - TQAction *a = new TQSeparatorAction( 0 ); + TQAction *a = new QSeparatorAction( 0 ); a->addTo( tb ); tb->addAction( a ); } |