summaryrefslogtreecommitdiffstats
path: root/ksirc/topic.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-13 17:34:53 +0900
committerMichele Calgaro <[email protected]>2024-01-13 17:51:33 +0900
commit1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch)
tree8b64fab3a352aada6a046f69f1f7e8a6ad819594 /ksirc/topic.cpp
parent69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff)
downloadtdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz
tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'ksirc/topic.cpp')
-rw-r--r--ksirc/topic.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ksirc/topic.cpp b/ksirc/topic.cpp
index b2ab5840..bcb61263 100644
--- a/ksirc/topic.cpp
+++ b/ksirc/topic.cpp
@@ -99,12 +99,12 @@ void KSircTopic::contentsMouseReleaseEvent( TQMouseEvent *e )
m_editor = new KSircTopicEditor( this );
- connect( m_editor, TQT_SIGNAL( returnPressed() ),
- this, TQT_SLOT( setNewTopic() ) );
- connect( m_editor, TQT_SIGNAL( resized() ),
- this, TQT_SLOT( slotEditResized() ) );
- connect( m_editor, TQT_SIGNAL( destroyed() ),
- this, TQT_SLOT( doResize() ) );
+ connect( m_editor, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( setNewTopic() ) );
+ connect( m_editor, TQ_SIGNAL( resized() ),
+ this, TQ_SLOT( slotEditResized() ) );
+ connect( m_editor, TQ_SIGNAL( destroyed() ),
+ this, TQ_SLOT( doResize() ) );
/*
* If you don't do this order
@@ -132,9 +132,9 @@ void KSircTopic::setNewTopic()
* from the server. If we can't set the topic
* don't make it look like it was set
*/
- TQTimer::singleShot( 0, m_editor, TQT_SLOT( close() ) );
- disconnect( m_editor, TQT_SIGNAL( resized() ),
- this, TQT_SLOT( slotEditResized() ) );
+ TQTimer::singleShot( 0, m_editor, TQ_SLOT( close() ) );
+ disconnect( m_editor, TQ_SIGNAL( resized() ),
+ this, TQ_SLOT( slotEditResized() ) );
doResize();
emit topicChange( topic );
}
@@ -185,7 +185,7 @@ KSircTopicEditor::KSircTopicEditor( TQWidget *parent, const char *name )
{
setWFlags( WDestructiveClose );
setFocusPolicy( TQWidget::ClickFocus );
- connect( this, TQT_SIGNAL( textChanged () ), this, TQT_SLOT( slotMaybeResize() ) );
+ connect( this, TQ_SIGNAL( textChanged () ), this, TQ_SLOT( slotMaybeResize() ) );
}
void KSircTopicEditor::keyPressEvent( TQKeyEvent *ev )
@@ -193,7 +193,7 @@ void KSircTopicEditor::keyPressEvent( TQKeyEvent *ev )
if ( ev->key() == Key_Escape )
{
ev->accept();
- TQTimer::singleShot( 0, this, TQT_SLOT( close() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( close() ) );
return;
}
else if ( ev->key() == Key_Return )
@@ -216,7 +216,7 @@ void KSircTopicEditor::focusOutEvent( TQFocusEvent * fe )
return;
}
- TQTimer::singleShot( 0, this, TQT_SLOT( close() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( close() ) );
}
TQPopupMenu *KSircTopicEditor::createPopupMenu( const TQPoint &pos )