summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools/defaulttools
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:10:09 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-14 21:10:09 -0600
commite6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch)
tree73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/plugins/tools/defaulttools
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/defaulttools')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_brush.cc4
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_brush.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_duplicate.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_ellipse.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_fill.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_gradient.cc2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_gradient.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_line.cc2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_line.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_move.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_pan.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_rectangle.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_text.h2
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_zoom.h2
15 files changed, 16 insertions, 16 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_brush.cc b/chalk/plugins/tools/defaulttools/kis_tool_brush.cc
index 384e4e26..6858baf2 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_brush.cc
+++ b/chalk/plugins/tools/defaulttools/kis_tool_brush.cc
@@ -53,7 +53,7 @@ KisToolBrush::KisToolBrush()
setCursor(KisCursor::load("tool_freehand_cursor.png", 5, 5));
m_rate = 100; // Conveniently hardcoded for now
m_timer = new TQTimer(this);
- Q_CHECK_PTR(m_timer);
+ TQ_CHECK_PTR(m_timer);
connect(m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeoutPaint()));
@@ -155,7 +155,7 @@ TQWidget* KisToolBrush::createOptionWidget(TQWidget* parent)
connect(m_chkDirect, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(slotSetPaintingMode(int)));
m_optionLayout = new TQGridLayout(widget, 3, 2, 0, 6);
- Q_CHECK_PTR(m_optionLayout);
+ TQ_CHECK_PTR(m_optionLayout);
super::addOptionWidgetLayout(m_optionLayout);
m_optionLayout->addWidget(m_chkDirect, 0, 0);
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_brush.h b/chalk/plugins/tools/defaulttools/kis_tool_brush.h
index cc40a8c0..b1188f88 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_brush.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_brush.h
@@ -75,7 +75,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolBrush();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h
index b6ee36d3..59f9193b 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_colorpicker.h
@@ -76,7 +76,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolColorPicker();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_duplicate.h b/chalk/plugins/tools/defaulttools/kis_tool_duplicate.h
index ec04a592..3a94e0ae 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_duplicate.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_duplicate.h
@@ -79,7 +79,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolDuplicate();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.h b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.h
index 4f79fbd6..be3ccc96 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_ellipse.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_ellipse.h
@@ -79,7 +79,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolEllipse();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_fill.h b/chalk/plugins/tools/defaulttools/kis_tool_fill.h
index 01b1f139..adcb3758 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_fill.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_fill.h
@@ -94,7 +94,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisToolFill * t = new KisToolFill();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc b/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc
index b29e5e3a..46ba1f75 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc
+++ b/chalk/plugins/tools/defaulttools/kis_tool_gradient.cc
@@ -229,7 +229,7 @@ void KisToolGradient::paintLine(KisCanvasPainter& gc)
TQWidget* KisToolGradient::createOptionWidget(TQWidget* parent)
{
TQWidget *widget = super::createOptionWidget(parent);
- Q_CHECK_PTR(widget);
+ TQ_CHECK_PTR(widget);
m_lbShape = new TQLabel(i18n("Shape:"), widget);
m_lbRepeat = new TQLabel(i18n("Repeat:"), widget);
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_gradient.h b/chalk/plugins/tools/defaulttools/kis_tool_gradient.h
index 08ab06ab..5d26b2b5 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_gradient.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_gradient.h
@@ -111,7 +111,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolGradient();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_line.cc b/chalk/plugins/tools/defaulttools/kis_tool_line.cc
index 243052cf..960d19f6 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_line.cc
+++ b/chalk/plugins/tools/defaulttools/kis_tool_line.cc
@@ -142,7 +142,7 @@ void KisToolLine::buttonRelease(KisButtonReleaseEvent *e)
{
delete m_painter;
m_painter = new KisPainter( device );
- Q_CHECK_PTR(m_painter);
+ TQ_CHECK_PTR(m_painter);
if (m_currentImage->undo()) m_painter->beginTransaction(i18n("Line"));
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_line.h b/chalk/plugins/tools/defaulttools/kis_tool_line.h
index 4ce0ff38..293a8484 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_line.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_line.h
@@ -86,7 +86,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolLine();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_move.h b/chalk/plugins/tools/defaulttools/kis_tool_move.h
index 274cc3c7..321e9bb2 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_move.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_move.h
@@ -76,7 +76,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolMove();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_pan.h b/chalk/plugins/tools/defaulttools/kis_tool_pan.h
index 36ed9dcc..5318b340 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_pan.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_pan.h
@@ -68,7 +68,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolPan();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_rectangle.h b/chalk/plugins/tools/defaulttools/kis_tool_rectangle.h
index d9f898a9..a42d6bcb 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_rectangle.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_rectangle.h
@@ -84,7 +84,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolRectangle();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_text.h b/chalk/plugins/tools/defaulttools/kis_tool_text.h
index 2625fb58..8e116d65 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_text.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_text.h
@@ -70,7 +70,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolText();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_zoom.h b/chalk/plugins/tools/defaulttools/kis_tool_zoom.h
index 3faa5bf1..a6d28188 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_zoom.h
+++ b/chalk/plugins/tools/defaulttools/kis_tool_zoom.h
@@ -87,7 +87,7 @@ public:
virtual KisTool * createTool(KActionCollection * ac) {
KisTool * t = new KisToolZoom();
- Q_CHECK_PTR(t);
+ TQ_CHECK_PTR(t);
t->setup(ac);
return t;
}