diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:28:49 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-06 19:52:52 +0900 |
commit | 31622296062e9eaafb3429eb84f8780fab22e597 (patch) | |
tree | 7220cbbc37f829f7139b672ae1d2a74cfb7a6d36 /src/variouswidgets.cpp | |
parent | 50245e3df9d78cdd42e9551fb32a3ea032434b0e (diff) | |
download | basket-31622296062e9eaafb3429eb84f8780fab22e597.tar.gz basket-31622296062e9eaafb3429eb84f8780fab22e597.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe)
Diffstat (limited to 'src/variouswidgets.cpp')
-rw-r--r-- | src/variouswidgets.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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<int>::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 ) } |