diff options
Diffstat (limited to 'kexi/core/kexiviewbase.cpp')
-rw-r--r-- | kexi/core/kexiviewbase.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/core/kexiviewbase.cpp b/kexi/core/kexiviewbase.cpp index 65f2e68f..c4eb3eaa 100644 --- a/kexi/core/kexiviewbase.cpp +++ b/kexi/core/kexiviewbase.cpp @@ -289,12 +289,12 @@ void KexiViewBase::setFocus() m_mainWin->invalidateSharedActions(TQT_TQOBJECT(this)); } -KAction* KexiViewBase::sharedAction( const char *action_name ) +TDEAction* KexiViewBase::sharedAction( const char *action_name ) { if (part()) { - KActionCollection *ac; + TDEActionCollection *ac; if ( (ac = part()->actionCollectionForMode( viewMode() )) ) { - KAction* a = ac->action( action_name ); + TDEAction* a = ac->action( action_name ); if (a) return a; } @@ -305,8 +305,8 @@ KAction* KexiViewBase::sharedAction( const char *action_name ) void KexiViewBase::setAvailable(const char* action_name, bool set) { if (part()) { - KActionCollection *ac; - KAction* a; + TDEActionCollection *ac; + TDEAction* a; if ( (ac = part()->actionCollectionForMode( viewMode() )) && (a = ac->action( action_name )) ) { a->setEnabled(set); //why? return; |