diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kexi/plugins/macros/kexipart/keximacrodesignview.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'kexi/plugins/macros/kexipart/keximacrodesignview.cpp')
| -rw-r--r-- | kexi/plugins/macros/kexipart/keximacrodesignview.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kexi/plugins/macros/kexipart/keximacrodesignview.cpp b/kexi/plugins/macros/kexipart/keximacrodesignview.cpp index dd8b9a92b..2352e02fd 100644 --- a/kexi/plugins/macros/kexipart/keximacrodesignview.cpp +++ b/kexi/plugins/macros/kexipart/keximacrodesignview.cpp @@ -173,14 +173,14 @@ KexiMacroDesignView::KexiMacroDesignView(KexiMainWindow *mainwin, TQWidget *pare d->propertyset = new KexiDataAwarePropertySet(this, d->tableview); // Connect signals the KexiDataTable provides to local slots. - connect(d->tabledata, TQT_SIGNAL(aboutToChangeCell(KexiTableItem*,int,TQVariant&,KexiDB::ResultInfo*)), - this, TQT_SLOT(beforeCellChanged(KexiTableItem*,int,TQVariant&,KexiDB::ResultInfo*))); - connect(d->tabledata, TQT_SIGNAL(rowUpdated(KexiTableItem*)), - this, TQT_SLOT(rowUpdated(KexiTableItem*))); - connect(d->tabledata, TQT_SIGNAL(rowInserted(KexiTableItem*,uint,bool)), - this, TQT_SLOT(rowInserted(KexiTableItem*,uint,bool))); - connect(d->tabledata, TQT_SIGNAL(rowDeleted()), - this, TQT_SLOT(rowDeleted())); + connect(d->tabledata, TQ_SIGNAL(aboutToChangeCell(KexiTableItem*,int,TQVariant&,KexiDB::ResultInfo*)), + this, TQ_SLOT(beforeCellChanged(KexiTableItem*,int,TQVariant&,KexiDB::ResultInfo*))); + connect(d->tabledata, TQ_SIGNAL(rowUpdated(KexiTableItem*)), + this, TQ_SLOT(rowUpdated(KexiTableItem*))); + connect(d->tabledata, TQ_SIGNAL(rowInserted(KexiTableItem*,uint,bool)), + this, TQ_SLOT(rowInserted(KexiTableItem*,uint,bool))); + connect(d->tabledata, TQ_SIGNAL(rowDeleted()), + this, TQ_SLOT(rowDeleted())); // Everything is ready. So, update the data now. updateData(); @@ -382,8 +382,8 @@ void KexiMacroDesignView::updateProperties(int row, KoProperty::Set* set, TDESha // if there exists no such propertyset yet, create one. set = new KoProperty::Set(d->propertyset, action->name()); d->propertyset->insert(row, set, true); - connect(set, TQT_SIGNAL(propertyChanged(KoProperty::Set&, KoProperty::Property&)), - this, TQT_SLOT(propertyChanged(KoProperty::Set&, KoProperty::Property&))); + connect(set, TQ_SIGNAL(propertyChanged(KoProperty::Set&, KoProperty::Property&)), + this, TQ_SLOT(propertyChanged(KoProperty::Set&, KoProperty::Property&))); } // The caption. @@ -433,9 +433,9 @@ void KexiMacroDesignView::propertyChanged(KoProperty::Set& set, KoProperty::Prop updateProperties(row, &set, macroitem); } // It's needed to call the reload delayed cause in KoProperty::Editor - // TQTimer::singleShot(10, this, TQT_SLOT(selectItemLater())); may lead + // TQTimer::singleShot(10, this, TQ_SLOT(selectItemLater())); may lead // to crashes if we are to fast. - TQTimer::singleShot(50, this, TQT_SLOT(reloadPropertyLater())); + TQTimer::singleShot(50, this, TQ_SLOT(reloadPropertyLater())); } d->reloadsProperties = false; |
