From 31622296062e9eaafb3429eb84f8780fab22e597 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:28:49 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe) --- src/variouswidgets.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/variouswidgets.cpp') diff --git a/src/variouswidgets.cpp b/src/variouswidgets.cpp index 3fd2ff4..4e49bba 100644 --- a/src/variouswidgets.cpp +++ b/src/variouswidgets.cpp @@ -51,7 +51,7 @@ RunCommandRequester::RunCommandRequester(const TQString &runCommand, const TQStr layout->addWidget(m_runCommand); layout->addWidget(pb); - connect( pb, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotSelCommand()) ); + connect( pb, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotSelCommand()) ); } RunCommandRequester::~RunCommandRequester() @@ -154,7 +154,7 @@ HelpLabel::HelpLabel(const TQString &text, const TQString &message, TQWidget *pa : KURLLabel(parent), m_message(message) { setText(text); - connect( this, TQT_SIGNAL(leftClickedURL()), this, TQT_SLOT(showMessage()) ); + connect( this, TQ_SIGNAL(leftClickedURL()), this, TQ_SLOT(showMessage()) ); } HelpLabel::~HelpLabel() @@ -216,9 +216,9 @@ IconSizeDialog::IconSizeDialog(const TQString &caption, const TQString &message, case 128: iconView->setSelected(m_size128, true); m_iconSize = 128; break; } - connect( iconView, TQT_SIGNAL(executed(TQIconViewItem*)), this, TQT_SLOT(choose(TQIconViewItem*)) ); - connect( iconView, TQT_SIGNAL(returnPressed(TQIconViewItem*)), this, TQT_SLOT(choose(TQIconViewItem*)) ); - connect( iconView, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotSelectionChanged()) ); + connect( iconView, TQ_SIGNAL(executed(TQIconViewItem*)), this, TQ_SLOT(choose(TQIconViewItem*)) ); + connect( iconView, TQ_SIGNAL(returnPressed(TQIconViewItem*)), this, TQ_SLOT(choose(TQIconViewItem*)) ); + connect( iconView, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotSelectionChanged()) ); setMainWidget(page); } @@ -273,8 +273,8 @@ FontSizeCombo::FontSizeCombo(bool rw, bool withDefault, TQWidget *parent, const for (TQValueList::Iterator it = sizes.begin(); it != sizes.end(); ++it) insertItem(TQString::number(*it)); -// connect( this, TQT_SIGNAL(acivated(const TQString&)), this, TQT_SLOT(textChangedInCombo(const TQString&)) ); - connect( this, TQT_SIGNAL(textChanged(const TQString&)), this, TQT_SLOT(textChangedInCombo(const TQString&)) ); +// connect( this, TQ_SIGNAL(acivated(const TQString&)), this, TQ_SLOT(textChangedInCombo(const TQString&)) ); + connect( this, TQ_SIGNAL(textChanged(const TQString&)), this, TQ_SLOT(textChangedInCombo(const TQString&)) ); // TODO: 01617 void TDEFontSizeAction::setFontSize( int size ) } -- cgit v1.2.1