summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmdialogview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 12:34:35 +0900
committerMichele Calgaro <[email protected]>2024-01-18 19:03:13 +0900
commitea1f5870db808971e833dd901aac2647d50634bd (patch)
tree5eae36dbd282479c91ce1a65c2a7ef8edee0f619 /kpovmodeler/pmdialogview.cpp
parent21cae41ae67ab4478efda7b6def53fcf7e8003bc (diff)
downloadtdegraphics-ea1f5870db808971e833dd901aac2647d50634bd.tar.gz
tdegraphics-ea1f5870db808971e833dd901aac2647d50634bd.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c616fab9053b07ed30508ab714de876409d82653)
Diffstat (limited to 'kpovmodeler/pmdialogview.cpp')
-rw-r--r--kpovmodeler/pmdialogview.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kpovmodeler/pmdialogview.cpp b/kpovmodeler/pmdialogview.cpp
index 12ade91e..88a5c603 100644
--- a/kpovmodeler/pmdialogview.cpp
+++ b/kpovmodeler/pmdialogview.cpp
@@ -136,31 +136,31 @@ PMDialogView::PMDialogView( PMPart* part, TQWidget* parent, const char* name )
TQHBoxLayout* buttonLayout = new TQHBoxLayout( m_pLayout );
m_pHelpButton = new KPushButton( KStdGuiItem::help(), this );
buttonLayout->addWidget( m_pHelpButton );
- connect( m_pHelpButton, TQT_SIGNAL( clicked( ) ), this, TQT_SLOT( slotHelp( ) ) );
+ connect( m_pHelpButton, TQ_SIGNAL( clicked( ) ), this, TQ_SLOT( slotHelp( ) ) );
m_pHelpButton->setEnabled( false );
m_pApplyButton = new KPushButton( KStdGuiItem::apply(), this );
buttonLayout->addWidget( m_pApplyButton );
- connect( m_pApplyButton, TQT_SIGNAL( clicked( ) ), this, TQT_SLOT( slotApply( ) ) );
+ connect( m_pApplyButton, TQ_SIGNAL( clicked( ) ), this, TQ_SLOT( slotApply( ) ) );
m_pApplyButton->setEnabled( false );
buttonLayout->addStretch( );
m_pCancelButton = new KPushButton( KStdGuiItem::cancel(), this );
buttonLayout->addWidget( m_pCancelButton );
- connect( m_pCancelButton, TQT_SIGNAL( clicked( ) ), this, TQT_SLOT( slotCancel( ) ) );
+ connect( m_pCancelButton, TQ_SIGNAL( clicked( ) ), this, TQ_SLOT( slotCancel( ) ) );
m_pCancelButton->setEnabled( false );
m_pLayout->activate( );
- connect( part, TQT_SIGNAL( refresh( ) ), TQT_SLOT( slotRefresh( ) ) );
- connect( part, TQT_SIGNAL( objectChanged( PMObject*, const int, TQObject* ) ),
- TQT_SLOT( slotObjectChanged( PMObject*, const int, TQObject* ) ) );
- connect( part, TQT_SIGNAL( clear( ) ), TQT_SLOT( slotClear( ) ) );
- connect( part, TQT_SIGNAL( aboutToRender( ) ), TQT_SLOT( slotAboutToRender( ) ) );
- connect( part, TQT_SIGNAL( aboutToSave( ) ), TQT_SLOT( slotAboutToRender( ) ) );
- connect( this, TQT_SIGNAL( objectChanged( PMObject*, const int, TQObject* ) ),
- part, TQT_SLOT( slotObjectChanged( PMObject*, const int, TQObject* ) ) );
+ connect( part, TQ_SIGNAL( refresh( ) ), TQ_SLOT( slotRefresh( ) ) );
+ connect( part, TQ_SIGNAL( objectChanged( PMObject*, const int, TQObject* ) ),
+ TQ_SLOT( slotObjectChanged( PMObject*, const int, TQObject* ) ) );
+ connect( part, TQ_SIGNAL( clear( ) ), TQ_SLOT( slotClear( ) ) );
+ connect( part, TQ_SIGNAL( aboutToRender( ) ), TQ_SLOT( slotAboutToRender( ) ) );
+ connect( part, TQ_SIGNAL( aboutToSave( ) ), TQ_SLOT( slotAboutToRender( ) ) );
+ connect( this, TQ_SIGNAL( objectChanged( PMObject*, const int, TQObject* ) ),
+ part, TQ_SLOT( slotObjectChanged( PMObject*, const int, TQObject* ) ) );
displayObject( m_pPart->activeObject( ) );
}
@@ -371,15 +371,15 @@ void PMDialogView::displayObject( PMObject* obj, bool updateDescription )
if( m_pDisplayedWidget )
{
- connect( m_pDisplayedWidget, TQT_SIGNAL( dataChanged( ) ),
- this, TQT_SLOT( slotDataChanged( ) ) );
- connect( m_pDisplayedWidget, TQT_SIGNAL( sizeChanged( ) ),
- this, TQT_SLOT( slotSizeChanged( ) ) );
- connect( m_pDisplayedWidget, TQT_SIGNAL( aboutToRender( ) ),
- this, TQT_SLOT( slotAboutToRender( ) ) );
+ connect( m_pDisplayedWidget, TQ_SIGNAL( dataChanged( ) ),
+ this, TQ_SLOT( slotDataChanged( ) ) );
+ connect( m_pDisplayedWidget, TQ_SIGNAL( sizeChanged( ) ),
+ this, TQ_SLOT( slotSizeChanged( ) ) );
+ connect( m_pDisplayedWidget, TQ_SIGNAL( aboutToRender( ) ),
+ this, TQ_SLOT( slotAboutToRender( ) ) );
connect( m_pDisplayedWidget,
- TQT_SIGNAL( controlPointSelectionChanged( ) ),
- TQT_SLOT( slotControlPointSelectionChanged( ) ) );
+ TQ_SIGNAL( controlPointSelectionChanged( ) ),
+ TQ_SLOT( slotControlPointSelectionChanged( ) ) );
}
}