diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-25 11:21:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-29 12:16:41 +0900 |
commit | 73836b4ca5f241d070dd34ac1d9bb828e05f9544 (patch) | |
tree | 001b3935b9362f17083be2a8225e6ff42afc2019 /kexi/plugins/forms/kexiformview.cpp | |
parent | 1607518b8c749b4195c5ab11b405f77001526a6a (diff) | |
download | koffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.tar.gz koffice-73836b4ca5f241d070dd34ac1d9bb828e05f9544.zip |
Drop USE_TQT4 code
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit e0df02598b8e19d8b6ddf07fdbca661489ab2e99)
Diffstat (limited to 'kexi/plugins/forms/kexiformview.cpp')
-rw-r--r-- | kexi/plugins/forms/kexiformview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/forms/kexiformview.cpp b/kexi/plugins/forms/kexiformview.cpp index 47021959e..6ea8bd154 100644 --- a/kexi/plugins/forms/kexiformview.cpp +++ b/kexi/plugins/forms/kexiformview.cpp @@ -374,7 +374,7 @@ static void setUnsavedBLOBIdsForDataViewMode( if (-1 != widget->metaObject()->findProperty("pixmapId")) { const KexiBLOBBuffer::Id_t blobID = unsavedLocalBLOBsByName[ widget->name() ]; if (blobID > 0) - widget->setProperty("pixmapId", (uint /* KexiBLOBBuffer::Id_t is unsafe and unsupported by TQVariant - will be fixed in TQt4*/)blobID); + widget->setProperty("pixmapId", (uint)blobID); } const TQObjectList list = widget->childrenListObject(); if (list.isEmpty()) @@ -803,11 +803,11 @@ KexiFormView::storeData(bool dontAsk) return false; } kexipluginsdbg << " storedDataID=" << storedBLOBID << endl; - h.setStoredWidthID((KexiBLOBBuffer::Id_t /*unsafe - will be fixed in TQt4*/)storedBLOBID); + h.setStoredWidthID((KexiBLOBBuffer::Id_t)storedBLOBID); //set widget's internal property so it can be saved... const TQVariant oldStoredPixmapId( it.key()->property("storedPixmapId") ); it.key()->setProperty("storedPixmapId", - TQVariant((uint /* KexiBLOBBuffer::Id_t is unsafe and unsupported by TQVariant - will be fixed in TQt4*/)storedBLOBID)); + TQVariant((uint)storedBLOBID)); KFormDesigner::ObjectTreeItem *widgetItem = designFormView->form()->objectTree()->lookup(it.key()->name()); //form()->objectTree()->lookup(it.key()->name()); if (widgetItem) widgetItem->addModifiedProperty( "storedPixmapId", oldStoredPixmapId ); |