summaryrefslogtreecommitdiffstats
path: root/karbon/plugins/zoomtool
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /karbon/plugins/zoomtool
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'karbon/plugins/zoomtool')
-rw-r--r--karbon/plugins/zoomtool/vzoomtool.cc6
-rw-r--r--karbon/plugins/zoomtool/vzoomtool.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/karbon/plugins/zoomtool/vzoomtool.cc b/karbon/plugins/zoomtool/vzoomtool.cc
index 01a80aaa..beb19a68 100644
--- a/karbon/plugins/zoomtool/vzoomtool.cc
+++ b/karbon/plugins/zoomtool/vzoomtool.cc
@@ -155,13 +155,13 @@ VZoomTool::recalc()
}
void
-VZoomTool::setup( KActionCollection *collection )
+VZoomTool::setup( TDEActionCollection *collection )
{
- m_action = static_cast<KRadioAction *>(collection -> action( name() ) );
+ m_action = static_cast<TDERadioAction *>(collection -> action( name() ) );
if( m_action == 0 )
{
- m_action = new KRadioAction( i18n( "Zoom Tool" ), "14_zoom", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Zoom Tool" ), "14_zoom", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Zoom" ) );
m_action->setExclusiveGroup( "misc" );
//m_ownAction = true;
diff --git a/karbon/plugins/zoomtool/vzoomtool.h b/karbon/plugins/zoomtool/vzoomtool.h
index c6f1ffcd..4111ba18 100644
--- a/karbon/plugins/zoomtool/vzoomtool.h
+++ b/karbon/plugins/zoomtool/vzoomtool.h
@@ -39,7 +39,7 @@ public:
virtual void activate();
virtual void deactivate();
- virtual void setup( KActionCollection *collection );
+ virtual void setup( TDEActionCollection *collection );
virtual TQString uiname() { return i18n( "Zoom Tool" ); }
virtual TQString contextHelp();
virtual TQString statusText();