summaryrefslogtreecommitdiffstats
path: root/doc
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 /doc
parent35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff)
downloadkoffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz
koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'doc')
-rw-r--r--doc/api/Doxyfile.koffice2
-rw-r--r--doc/chalk/developers-plugins.docbook8
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/Doxyfile.koffice b/doc/api/Doxyfile.koffice
index 13f846ea..cb7853a2 100644
--- a/doc/api/Doxyfile.koffice
+++ b/doc/api/Doxyfile.koffice
@@ -137,7 +137,7 @@ EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
-PREDEFINED = QT_VERSION=320 \
+PREDEFINED = TQT_VERSION=320 \
__cplusplus \
Q_WS_X11
EXPAND_AS_DEFINED =
diff --git a/doc/chalk/developers-plugins.docbook b/doc/chalk/developers-plugins.docbook
index 81a4ef49..12acff58 100644
--- a/doc/chalk/developers-plugins.docbook
+++ b/doc/chalk/developers-plugins.docbook
@@ -1075,7 +1075,7 @@ void KisToolStar::setup(KActionCollection *collection)
SLOT(activate()),
collection,
name());
- Q_CHECK_PTR(m_action);
+ TQ_CHECK_PTR(m_action);
m_action->setToolTip(i18n("Draw a star"));
m_action->setExclusiveGroup("tools");
@@ -1136,7 +1136,7 @@ QWidget* KisToolStar::createOptionWidget(QWidget* parent)
QWidget *widget = KisToolShape::createOptionWidget(parent);
m_optWidget = new WdgToolStar(widget);
- Q_CHECK_PTR(m_optWidget);
+ TQ_CHECK_PTR(m_optWidget);
m_optWidget->ratioSpinBox->setValue(m_innerOuterRatio);
@@ -1279,7 +1279,7 @@ cursor.
splitCoordinate(pt.y(), &amp;y, &amp;yFraction);
KisPaintDeviceSP dab = new KisPaintDevice(colorSpace, "smeary dab");
- Q_CHECK_PTR(dab);
+ TQ_CHECK_PTR(dab);
</programlisting>
<para>
@@ -1348,7 +1348,7 @@ that we’ve dirtied a small rectangle of the paint device.
KisPaintOp * KisSmearyOpFactory::createOp(const KisPaintOpSettings */*settings*/, KisPainter * painter)
{
KisPaintOp * op = new KisSmearyOp(painter);
- Q_CHECK_PTR(op);
+ TQ_CHECK_PTR(op);
return op;
}
</programlisting>