summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/tool_polyline
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-14 21:10:09 -0600
committerTimothy Pearson <[email protected]>2012-02-14 21:10:09 -0600
commite6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch)
tree73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/plugins/tools/tool_polyline
parent35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff)
downloadkoffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz
koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'chalk/plugins/tools/tool_polyline')
-rw-r--r--chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc2
-rw-r--r--chalk/plugins/tools/tool_polyline/kis_tool_polyline.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc
index 4fab06e7..405b7aa1 100644
--- a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc
+++ b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.cc
@@ -245,7 +245,7 @@ void KisToolPolyline::setup(KActionCollection *collection)
TQT_SLOT(activate()),
collection,
name());
- Q_CHECK_PTR(m_action);
+ TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a polyline. Shift-mouseclick ends the polyline."));
m_action->setExclusiveGroup("tools");
diff --git a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.h b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.h
index a7cee195..057c9f66 100644
--- a/chalk/plugins/tools/tool_polyline/kis_tool_polyline.h
+++ b/chalk/plugins/tools/tool_polyline/kis_tool_polyline.h
@@ -98,7 +98,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolPolyline();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}