diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:10:09 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-14 21:10:09 -0600 |
| commit | e6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch) | |
| tree | 73cf4e5dee6ce00c4fa7d32243c322631c50712c /chalk/plugins/tools/defaulttools | |
| parent | 35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff) | |
| download | koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip | |
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'chalk/plugins/tools/defaulttools')
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 384e4e263..6858baf29 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 cc40a8c0f..b1188f889 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 b6ee36d32..59f9193bb 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 ec04a592b..3a94e0aec 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 4f79fbd69..be3ccc962 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 01b1f139f..adcb37585 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 b29e5e3af..46ba1f75f 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 08ab06abb..5d26b2b52 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 243052cfe..960d19f60 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 4ce0ff384..293a84849 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 274cc3c71..321e9bb2c 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 36ed9dccb..5318b340d 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 d9f898a9f..a42d6bcbe 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 2625fb58d..8e116d656 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 3faa5bf13..a6d281883 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; } |
