From 278d2f50538b5465caa86fc7608d9cdfddf36cb9 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jan 2024 14:09:37 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit af0b8f5d1e5e00b1f3b48658d89876c2df28e71c) --- kedit/ktextfiledlg.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kedit/ktextfiledlg.cpp') diff --git a/kedit/ktextfiledlg.cpp b/kedit/ktextfiledlg.cpp index 7c8b22b..859172e 100644 --- a/kedit/ktextfiledlg.cpp +++ b/kedit/ktextfiledlg.cpp @@ -39,7 +39,7 @@ KTextFileDialog::KTextFileDialog(const TQString& startDir, // insert encoding action into toolbar TDESelectAction *mEncoding = new TDESelectAction( i18n( "Set &Encoding" ), 0, this, - TQT_SLOT( slotSetEncoding() ), this, + TQ_SLOT( slotSetEncoding() ), this, "encoding" ); TQStringList encodings = TDEGlobal::charsets()->descriptiveEncodingNames(); @@ -62,7 +62,7 @@ KTextFileDialog::KTextFileDialog(const TQString& startDir, TDEAction* mEncoding = new TDEAction( i18n("Select Encoding..."), 0, - this, TQT_SLOT( slotShowEncCombo() ), this, "encoding"); + this, TQ_SLOT( slotShowEncCombo() ), this, "encoding"); mEncoding->setIcon( TQString::fromLatin1("charset") ); @@ -118,10 +118,10 @@ void KTextFileDialog::slotShowEncCombo() i++; } - connect( encDlg->actionButton( KDialogBase::Ok ), TQT_SIGNAL(clicked()), - encDlg, TQT_SLOT(accept()) ); - connect( encDlg->actionButton( KDialogBase::Cancel ), TQT_SIGNAL(clicked()), - encDlg, TQT_SLOT(reject()) ); + connect( encDlg->actionButton( KDialogBase::Ok ), TQ_SIGNAL(clicked()), + encDlg, TQ_SLOT(accept()) ); + connect( encDlg->actionButton( KDialogBase::Cancel ), TQ_SIGNAL(clicked()), + encDlg, TQ_SLOT(reject()) ); encDlg->setMinimumSize( 300, 120); -- cgit v1.2.1