From 845281400a4c6124e2cf8ab28174e9c3f0bc2895 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 13 Jan 2024 11:49:24 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 69e4de2f4cee257151ca13b207dc677b2d958fed) --- ktouch/src/ktouchlectureeditor.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'ktouch/src/ktouchlectureeditor.cpp') diff --git a/ktouch/src/ktouchlectureeditor.cpp b/ktouch/src/ktouchlectureeditor.cpp index 513a740a..66f6aead 100644 --- a/ktouch/src/ktouchlectureeditor.cpp +++ b/ktouch/src/ktouchlectureeditor.cpp @@ -46,18 +46,18 @@ KTouchLectureEditor::KTouchLectureEditor(TQWidget *parent, const char* name, boo { levelListView->setSorting(-1); // don't sort my level list view! - connect(levelListView, TQT_SIGNAL(selectionChanged(TQListViewItem*)),this, TQT_SLOT(newSelection(TQListViewItem*)) ); - connect(newCharsEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(newCharsChanged(const TQString&)) ); - connect(newBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(newLevel()) ); - connect(deleteBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(deleteLevel()) ); - connect(upBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(moveUp()) ); - connect(downBtn, TQT_SIGNAL(clicked()), this, TQT_SLOT(moveDown()) ); + connect(levelListView, TQ_SIGNAL(selectionChanged(TQListViewItem*)),this, TQ_SLOT(newSelection(TQListViewItem*)) ); + connect(newCharsEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(newCharsChanged(const TQString&)) ); + connect(newBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(newLevel()) ); + connect(deleteBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(deleteLevel()) ); + connect(upBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(moveUp()) ); + connect(downBtn, TQ_SIGNAL(clicked()), this, TQ_SLOT(moveDown()) ); // make the connections for making the lecture modified - connect(titleEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(setModified()) ); - connect(lectureCommentEdit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(setModified()) ); - connect(levelCommentEdit, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(setModified()) ); - connect(linesTextEdit, TQT_SIGNAL(textChanged()), this, TQT_SLOT(setModified()) ); + connect(titleEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(setModified()) ); + connect(lectureCommentEdit, TQ_SIGNAL(textChanged()), this, TQ_SLOT(setModified()) ); + connect(levelCommentEdit, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(setModified()) ); + connect(linesTextEdit, TQ_SIGNAL(textChanged()), this, TQ_SLOT(setModified()) ); // The font, open, save, saveas and close buttons are already connected } -- cgit v1.2.1