summaryrefslogtreecommitdiffstats
path: root/fifteenapplet
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:04:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-18 19:03:51 +0900
commit8114410a311b64cba3de27fc60ac59ce3322eaab (patch)
tree126ed143667ccf4cdab62a4bec5a17eb2f0921cc /fifteenapplet
parent233d1477e9794af302b81f0f8af4155eff3ab2e4 (diff)
downloadtdetoys-8114410a311b64cba3de27fc60ac59ce3322eaab.tar.gz
tdetoys-8114410a311b64cba3de27fc60ac59ce3322eaab.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit cb5e787fde24bc986f17de4c78b5840f8ed85856)
Diffstat (limited to 'fifteenapplet')
-rw-r--r--fifteenapplet/fifteenapplet.cpp4
-rw-r--r--fifteenapplet/qttableview.cpp24
2 files changed, 14 insertions, 14 deletions
diff --git a/fifteenapplet/fifteenapplet.cpp b/fifteenapplet/fifteenapplet.cpp
index dd350cb..d2ffd9d 100644
--- a/fifteenapplet/fifteenapplet.cpp
+++ b/fifteenapplet/fifteenapplet.cpp
@@ -93,8 +93,8 @@ PiecesTable::PiecesTable(TQWidget* parent, const char* name )
: QtTableView(parent, name), _activeRow(-1), _activeCol(-1), _randomized(false)
{
_menu = new TQPopupMenu(this);
- _menu->insertItem(i18n("R&andomize Pieces"), this, TQT_SLOT(randomizeMap()));
- _menu->insertItem(i18n("&Reset Pieces"), this, TQT_SLOT(resetMap()));
+ _menu->insertItem(i18n("R&andomize Pieces"), this, TQ_SLOT(randomizeMap()));
+ _menu->insertItem(i18n("&Reset Pieces"), this, TQ_SLOT(resetMap()));
_menu->adjustSize(); // setup table view
setFrameStyle(StyledPanel | Sunken);
diff --git a/fifteenapplet/qttableview.cpp b/fifteenapplet/qttableview.cpp
index 136247e..bbd5f2f 100644
--- a/fifteenapplet/qttableview.cpp
+++ b/fifteenapplet/qttableview.cpp
@@ -1447,12 +1447,12 @@ TQScrollBar *QtTableView::verticalScrollBar() const
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
sb->setFocusPolicy( TQWidget::NoFocus );
- connect( sb, TQT_SIGNAL(valueChanged(int)),
- TQT_SLOT(verSbValue(int)));
- connect( sb, TQT_SIGNAL(sliderMoved(int)),
- TQT_SLOT(verSbSliding(int)));
- connect( sb, TQT_SIGNAL(sliderReleased()),
- TQT_SLOT(verSbSlidingDone()));
+ connect( sb, TQ_SIGNAL(valueChanged(int)),
+ TQ_SLOT(verSbValue(int)));
+ connect( sb, TQ_SIGNAL(sliderMoved(int)),
+ TQ_SLOT(verSbSliding(int)));
+ connect( sb, TQ_SIGNAL(sliderReleased()),
+ TQ_SLOT(verSbSlidingDone()));
sb->hide();
that->vScrollBar = sb;
return sb;
@@ -1478,12 +1478,12 @@ TQScrollBar *QtTableView::horizontalScrollBar() const
sb->setFocusPolicy( TQWidget::NoFocus );
TQ_CHECK_PTR(sb);
sb->setTracking( FALSE );
- connect( sb, TQT_SIGNAL(valueChanged(int)),
- TQT_SLOT(horSbValue(int)));
- connect( sb, TQT_SIGNAL(sliderMoved(int)),
- TQT_SLOT(horSbSliding(int)));
- connect( sb, TQT_SIGNAL(sliderReleased()),
- TQT_SLOT(horSbSlidingDone()));
+ connect( sb, TQ_SIGNAL(valueChanged(int)),
+ TQ_SLOT(horSbValue(int)));
+ connect( sb, TQ_SIGNAL(sliderMoved(int)),
+ TQ_SLOT(horSbSliding(int)));
+ connect( sb, TQ_SIGNAL(sliderReleased()),
+ TQ_SLOT(horSbSlidingDone()));
sb->hide();
that->hScrollBar = sb;
return sb;