summaryrefslogtreecommitdiffstats
path: root/kexi/widget/tableview/kexidataawarepropertyset.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-13 20:22:52 +0900
commite1b37ac1936f81994a2c1aa2778298fbc757531f (patch)
tree2e2df5ea5786d581b10e51e0cbde9f4921697b2f /kexi/widget/tableview/kexidataawarepropertyset.cpp
parentd08f80f854355e446d1c6be0eb50166646f7f291 (diff)
downloadkoffice-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/widget/tableview/kexidataawarepropertyset.cpp')
-rw-r--r--kexi/widget/tableview/kexidataawarepropertyset.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kexi/widget/tableview/kexidataawarepropertyset.cpp b/kexi/widget/tableview/kexidataawarepropertyset.cpp
index 8b0fdff78..2219cf97d 100644
--- a/kexi/widget/tableview/kexidataawarepropertyset.cpp
+++ b/kexi/widget/tableview/kexidataawarepropertyset.cpp
@@ -35,12 +35,12 @@ KexiDataAwarePropertySet::KexiDataAwarePropertySet(KexiViewBase *view,
{
m_sets.setAutoDelete(true);
-// connect(m_dataObject, TQT_SIGNAL(dataSet(KexiTableViewData*)),
-// this, TQT_SLOT(slotDataSet(KexiTableViewData*)));
- m_dataObject->connectDataSetSignal(this, TQT_SLOT(slotDataSet(KexiTableViewData*)));
-// connect(m_dataObject, TQT_SIGNAL(cellSelected(int,int)),
-// this, TQT_SLOT(slotCellSelected(int,int)));
- m_dataObject->connectCellSelectedSignal(this, TQT_SLOT(slotCellSelected(int,int)));
+// connect(m_dataObject, TQ_SIGNAL(dataSet(KexiTableViewData*)),
+// this, TQ_SLOT(slotDataSet(KexiTableViewData*)));
+ m_dataObject->connectDataSetSignal(this, TQ_SLOT(slotDataSet(KexiTableViewData*)));
+// connect(m_dataObject, TQ_SIGNAL(cellSelected(int,int)),
+// this, TQ_SLOT(slotCellSelected(int,int)));
+ m_dataObject->connectCellSelectedSignal(this, TQ_SLOT(slotCellSelected(int,int)));
//
slotDataSet( m_dataObject->data() );
const bool wasDirty = view->dirty();
@@ -61,13 +61,13 @@ void KexiDataAwarePropertySet::slotDataSet( KexiTableViewData *data )
}
m_currentTVData = data;
if (!m_currentTVData.isNull()) {
- connect(m_currentTVData, TQT_SIGNAL(rowDeleted()), this, TQT_SLOT(slotRowDeleted()));
- connect(m_currentTVData, TQT_SIGNAL(rowsDeleted( const TQValueList<int> & )),
- this, TQT_SLOT(slotRowsDeleted( const TQValueList<int> & )));
- connect(m_currentTVData, TQT_SIGNAL(rowInserted(KexiTableItem*,uint,bool)),
- this, TQT_SLOT(slotRowInserted(KexiTableItem*,uint,bool)));
- connect(m_currentTVData, TQT_SIGNAL(reloadRequested()),
- this, TQT_SLOT(slotReloadRequested()));
+ connect(m_currentTVData, TQ_SIGNAL(rowDeleted()), this, TQ_SLOT(slotRowDeleted()));
+ connect(m_currentTVData, TQ_SIGNAL(rowsDeleted( const TQValueList<int> & )),
+ this, TQ_SLOT(slotRowsDeleted( const TQValueList<int> & )));
+ connect(m_currentTVData, TQ_SIGNAL(rowInserted(KexiTableItem*,uint,bool)),
+ this, TQ_SLOT(slotRowInserted(KexiTableItem*,uint,bool)));
+ connect(m_currentTVData, TQ_SIGNAL(reloadRequested()),
+ this, TQ_SLOT(slotReloadRequested()));
}
}
@@ -118,7 +118,7 @@ void KexiDataAwarePropertySet::insert(uint row, KoProperty::Set* set, bool newOn
m_sets.insert(row, set);
- connect(set, TQT_SIGNAL(propertyChanged(KoProperty::Set&, KoProperty::Property&)), m_view, TQT_SLOT(setDirty()));
+ connect(set, TQ_SIGNAL(propertyChanged(KoProperty::Set&, KoProperty::Property&)), m_view, TQ_SLOT(setDirty()));
if (newOne) {
//add a special property indicating that this is brand new set,