diff options
author | Michele Calgaro <[email protected]> | 2023-12-03 00:36:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-05 11:33:58 +0900 |
commit | 9abcf51de91242d1ab70230ba46abd2108416edf (patch) | |
tree | b06138af56a2addecdb37e556deb89f4972d59b8 /kexi/plugins/forms | |
parent | 5761876d3a71e9b3c5a93b5b535b071d2240b08e (diff) | |
download | koffice-9abcf51de91242d1ab70230ba46abd2108416edf.tar.gz koffice-9abcf51de91242d1ab70230ba46abd2108416edf.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit fb6b4d204d1155fa3a1bc7a128873340db1524f7)
Diffstat (limited to 'kexi/plugins/forms')
-rw-r--r-- | kexi/plugins/forms/widgets/kexidbform.cpp | 6 | ||||
-rw-r--r-- | kexi/plugins/forms/widgets/kexidbimagebox.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbform.cpp b/kexi/plugins/forms/widgets/kexidbform.cpp index 81ce6684..41e8cc64 100644 --- a/kexi/plugins/forms/widgets/kexidbform.cpp +++ b/kexi/plugins/forms/widgets/kexidbform.cpp @@ -148,7 +148,7 @@ void KexiDBForm::drawRects(const TQValueList<TQRect> &list, int type) { TQPainter p; - p.begin(TQT_TQPAINTDEVICE(this), true); + p.begin(this, true); bool unclipped = testWFlags( WPaintUnclipped ); setWFlags( WPaintUnclipped ); @@ -192,7 +192,7 @@ void KexiDBForm::clearForm() { TQPainter p; - p.begin(TQT_TQPAINTDEVICE(this), true); + p.begin(this, true); bool unclipped = testWFlags( WPaintUnclipped ); setWFlags( WPaintUnclipped ); @@ -216,7 +216,7 @@ KexiDBForm::highlightWidgets(TQWidget *from, TQWidget *to)//, const TQPoint &poi toPoint = to->parentWidget()->mapTo(this, to->pos()); TQPainter p; - p.begin(TQT_TQPAINTDEVICE(this), true); + p.begin(this, true); bool unclipped = testWFlags( WPaintUnclipped ); setWFlags( WPaintUnclipped ); diff --git a/kexi/plugins/forms/widgets/kexidbimagebox.cpp b/kexi/plugins/forms/widgets/kexidbimagebox.cpp index 4c23fead..1d74f94f 100644 --- a/kexi/plugins/forms/widgets/kexidbimagebox.cpp +++ b/kexi/plugins/forms/widgets/kexidbimagebox.cpp @@ -640,7 +640,7 @@ void KexiDBImageBox::paintEvent( TQPaintEvent *pe ) if (m_designMode && pixmap().isNull()) { TQPixmap pm(size()-TQSize(m, m)); TQPainter p2; - p2.begin(TQT_TQPAINTDEVICE(&pm), this); + p2.begin(&pm, this); p2.fillRect(0,0,width(),height(), bg); updatePixmap(); |