From aea627236e4de24599c3e30617cf264c3c1b7d40 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Fri, 1 Feb 2013 15:02:43 -0600
Subject: Rename a number of classes to enhance compatibility with KDE4

---
 kivio/plugins/kiviosmlconnector/tool_connector.cpp | 2 +-
 kivio/plugins/kiviosmlconnector/tool_connector.h   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

(limited to 'kivio/plugins/kiviosmlconnector')

diff --git a/kivio/plugins/kiviosmlconnector/tool_connector.cpp b/kivio/plugins/kiviosmlconnector/tool_connector.cpp
index 5cef094e..d2f3c4df 100644
--- a/kivio/plugins/kiviosmlconnector/tool_connector.cpp
+++ b/kivio/plugins/kiviosmlconnector/tool_connector.cpp
@@ -44,7 +44,7 @@
 SMLConnector::SMLConnector( KivioView* view )
  : Kivio::MouseTool(view, "SMLConnector")
 {
-  m_connectorAction = new KToggleAction(i18n("Polyline Connector"), "", 0,
+  m_connectorAction = new TDEToggleAction(i18n("Polyline Connector"), "", 0,
     actionCollection(), "sml_connector");
   connect(m_connectorAction, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(setActivated(bool)));
 
diff --git a/kivio/plugins/kiviosmlconnector/tool_connector.h b/kivio/plugins/kiviosmlconnector/tool_connector.h
index 3213bff1..87ef56c4 100644
--- a/kivio/plugins/kiviosmlconnector/tool_connector.h
+++ b/kivio/plugins/kiviosmlconnector/tool_connector.h
@@ -25,7 +25,7 @@
 class TQMouseEvent;
 class TQCursor;
 
-class KToggleAction;
+class TDEToggleAction;
 
 class KivioView;
 class KivioPage;
@@ -78,7 +78,7 @@ private:
   KoPoint startPoint;
   KivioCustomDragData* m_pDragData;
 
-  KToggleAction* m_connectorAction;
+  TDEToggleAction* m_connectorAction;
 };
 
 #endif
-- 
cgit v1.2.1