summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 11:21:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-25 11:21:54 +0900
commite0df02598b8e19d8b6ddf07fdbca661489ab2e99 (patch)
treec71373a4969af9527789666f0ff31d24ff175671 /kexi/plugins/forms/widgets
parenta7ea84c97639f635d798348432f355e3ac496a1d (diff)
downloadkoffice-e0df02598b8e19d8b6ddf07fdbca661489ab2e99.tar.gz
koffice-e0df02598b8e19d8b6ddf07fdbca661489ab2e99.zip
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/plugins/forms/widgets')
-rw-r--r--kexi/plugins/forms/widgets/kexidbcombobox.cpp1
-rw-r--r--kexi/plugins/forms/widgets/kexidbform.cpp20
2 files changed, 0 insertions, 21 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbcombobox.cpp b/kexi/plugins/forms/widgets/kexidbcombobox.cpp
index e315e752..26ba8ebe 100644
--- a/kexi/plugins/forms/widgets/kexidbcombobox.cpp
+++ b/kexi/plugins/forms/widgets/kexidbcombobox.cpp
@@ -186,7 +186,6 @@ void KexiDBComboBox::createEditor()
m_subwidget->setGeometry( editorGeometry() );
if (!d->isEditable) {
m_subwidget->setCursor(TQCursor(TQt::ArrowCursor)); // widgets like listedit have IbeamCursor, we don't want that
-//! @todo TQt4: set transparent background, for now we're setting button color
TQPalette subwidgetPalette( m_subwidget->palette() );
subwidgetPalette.setColor(TQPalette::Active, TQColorGroup::Base,
subwidgetPalette.color(TQPalette::Active, TQColorGroup::Button));
diff --git a/kexi/plugins/forms/widgets/kexidbform.cpp b/kexi/plugins/forms/widgets/kexidbform.cpp
index 4669fa40..106e465b 100644
--- a/kexi/plugins/forms/widgets/kexidbform.cpp
+++ b/kexi/plugins/forms/widgets/kexidbform.cpp
@@ -691,24 +691,4 @@ void KexiDBForm::setCursor( const TQCursor & cursor )
KexiDBFormBase::setCursor(cursor);
}
-//! @todo: TQt4? XORed resize rectangles instead of black widgets
-/*
-void KexiDBForm::paintEvent( TQPaintEvent *e )
-{
- TQPainter p;
- p.begin(this, true);
- bool unclipped = testWFlags( WPaintUnclipped );
- setWFlags( WPaintUnclipped );
-
- p.setPen(white);
- p.setRasterOp(XorROP);
- p.drawLine(e->rect().topLeft(), e->rect().bottomRight());
-
- if (!unclipped)
- clearWFlags( WPaintUnclipped );
- p.end();
- KexiDBFormBase::paintEvent(e);
-}
-*/
-
#include "kexidbform.moc"