diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 14:09:37 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-18 22:46:01 +0900 |
commit | 278d2f50538b5465caa86fc7608d9cdfddf36cb9 (patch) | |
tree | 4a7510f5edd4198094ddd9ae4d81ca2a90da7990 /kedit/ktextfiledlg.cpp | |
parent | a8bb8db5a25e70bf9de62c56c15c442883a752dc (diff) | |
download | tdeutils-278d2f50538b5465caa86fc7608d9cdfddf36cb9.tar.gz tdeutils-278d2f50538b5465caa86fc7608d9cdfddf36cb9.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit af0b8f5d1e5e00b1f3b48658d89876c2df28e71c)
Diffstat (limited to 'kedit/ktextfiledlg.cpp')
-rw-r--r-- | kedit/ktextfiledlg.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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); |