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-04 12:36:03 +0900 |
commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /lib/kotext/KoVariable.cpp | |
parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'lib/kotext/KoVariable.cpp')
-rw-r--r-- | lib/kotext/KoVariable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kotext/KoVariable.cpp b/lib/kotext/KoVariable.cpp index 0c55f52e..981c0f03 100644 --- a/lib/kotext/KoVariable.cpp +++ b/lib/kotext/KoVariable.cpp @@ -584,7 +584,7 @@ TQPtrList<TDEAction> KoVariableCollection::popupActionList() const // We store the subtype number as the action name TQCString name; name.setNum(i); TDEToggleAction * act = new TDEToggleAction( *it, TDEShortcut(), 0, name ); - connect( act, TQT_SIGNAL(activated()), this, TQT_SLOT(slotChangeSubType()) ); + connect( act, TQ_SIGNAL(activated()), this, TQ_SLOT(slotChangeSubType()) ); if ( i == m_varSelected->subType() ) act->setChecked( true ); //m_subTextMap.insert( act, i ); @@ -608,7 +608,7 @@ TQPtrList<TDEAction> KoVariableCollection::popupActionList() const TQString text = format->convert( m_varSelected->varValue() ); // We store the raw format as the action name TDEToggleAction * act = new TDEToggleAction(text, TDEShortcut(), 0, (*it).utf8()); - connect( act, TQT_SIGNAL(activated()), this, TQT_SLOT(slotChangeFormat()) ); + connect( act, TQ_SIGNAL(activated()), this, TQ_SLOT(slotChangeFormat()) ); if ( (*it) == currentFormat ) act->setChecked( true ); listAction.append( act ); |