diff options
author | Michele Calgaro <[email protected]> | 2024-01-14 14:04:47 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-14 14:07:22 +0900 |
commit | cb5e787fde24bc986f17de4c78b5840f8ed85856 (patch) | |
tree | 3850303789d1016581d3194ea627075c3e0edb5c /amor/amor.cpp | |
parent | 6a9f2bb7d4d98953ac416ceb3c5539ddfa931bb8 (diff) | |
download | tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.tar.gz tdetoys-cb5e787fde24bc986f17de4c78b5840f8ed85856.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'amor/amor.cpp')
-rw-r--r-- | amor/amor.cpp | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/amor/amor.cpp b/amor/amor.cpp index 2580794..c6de8af 100644 --- a/amor/amor.cpp +++ b/amor/amor.cpp @@ -136,37 +136,37 @@ Amor::Amor() : DCOPObject( "AmorIface" ), TQObject() mState = Normal; mWin = new KWinModule; - connect(mWin, TQT_SIGNAL(activeWindowChanged(WId)), - this, TQT_SLOT(slotWindowActivate(WId))); - connect(mWin, TQT_SIGNAL(windowRemoved(WId)), - this, TQT_SLOT(slotWindowRemove(WId))); - connect(mWin, TQT_SIGNAL(stackingOrderChanged()), - this, TQT_SLOT(slotStackingChanged())); - connect(mWin, TQT_SIGNAL(windowChanged(WId, const unsigned long *)), - this, TQT_SLOT(slotWindowChange(WId, const unsigned long *))); - connect(mWin, TQT_SIGNAL(currentDesktopChanged(int)), - this, TQT_SLOT(slotDesktopChange(int))); + connect(mWin, TQ_SIGNAL(activeWindowChanged(WId)), + this, TQ_SLOT(slotWindowActivate(WId))); + connect(mWin, TQ_SIGNAL(windowRemoved(WId)), + this, TQ_SLOT(slotWindowRemove(WId))); + connect(mWin, TQ_SIGNAL(stackingOrderChanged()), + this, TQ_SLOT(slotStackingChanged())); + connect(mWin, TQ_SIGNAL(windowChanged(WId, const unsigned long *)), + this, TQ_SLOT(slotWindowChange(WId, const unsigned long *))); + connect(mWin, TQ_SIGNAL(currentDesktopChanged(int)), + this, TQ_SLOT(slotDesktopChange(int))); mAmor = new AmorWidget(); - connect(mAmor, TQT_SIGNAL(mouseClicked(const TQPoint &)), - TQT_SLOT(slotMouseClicked(const TQPoint &))); - connect(mAmor, TQT_SIGNAL(dragged(const TQPoint &, bool)), - TQT_SLOT(slotWidgetDragged(const TQPoint &, bool))); + connect(mAmor, TQ_SIGNAL(mouseClicked(const TQPoint &)), + TQ_SLOT(slotMouseClicked(const TQPoint &))); + connect(mAmor, TQ_SIGNAL(dragged(const TQPoint &, bool)), + TQ_SLOT(slotWidgetDragged(const TQPoint &, bool))); mAmor->resize(mTheme.maximumSize()); mTimer = new TQTimer(this); - connect(mTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotTimeout())); + connect(mTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotTimeout())); mStackTimer = new TQTimer(this); - connect(mStackTimer, TQT_SIGNAL(timeout()), TQT_SLOT(restack())); + connect(mStackTimer, TQ_SIGNAL(timeout()), TQ_SLOT(restack())); mBubbleTimer = new TQTimer(this); - connect(mBubbleTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotBubbleTimeout())); + connect(mBubbleTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotBubbleTimeout())); time(&mActiveTime); mCursPos = TQCursor::pos(); mCursorTimer = new TQTimer(this); - connect(mCursorTimer, TQT_SIGNAL(timeout()), TQT_SLOT(slotCursorTimeout())); + connect(mCursorTimer, TQ_SIGNAL(timeout()), TQ_SLOT(slotCursorTimeout())); mCursorTimer->start( 500 ); if (mWin->activeWindow()) @@ -610,10 +610,10 @@ void Amor::slotMouseClicked(const TQPoint &pos) TDEPopupMenu* helpMnu = help->menu(); mMenu = new TDEPopupMenu(); mMenu->insertTitle("Amor"); // I really don't want this i18n'ed - mMenu->insertItem(SmallIcon("configure"), i18n("&Configure..."), this, TQT_SLOT(slotConfigure())); + mMenu->insertItem(SmallIcon("configure"), i18n("&Configure..."), this, TQ_SLOT(slotConfigure())); mMenu->insertSeparator(); mMenu->insertItem(SmallIcon("help"), i18n("&Help"), helpMnu); - mMenu->insertItem(SmallIcon("system-log-out"), i18n("&Quit"), kapp, TQT_SLOT(quit())); + mMenu->insertItem(SmallIcon("system-log-out"), i18n("&Quit"), kapp, TQ_SLOT(quit())); } mMenu->exec(pos); @@ -710,9 +710,9 @@ void Amor::slotConfigure() if (!mAmorDialog) { mAmorDialog = new AmorDialog(); - connect(mAmorDialog, TQT_SIGNAL(changed()), TQT_SLOT(slotConfigChanged())); - connect(mAmorDialog, TQT_SIGNAL(offsetChanged(int)), - TQT_SLOT(slotOffsetChanged(int))); + connect(mAmorDialog, TQ_SIGNAL(changed()), TQ_SLOT(slotConfigChanged())); + connect(mAmorDialog, TQ_SIGNAL(offsetChanged(int)), + TQ_SLOT(slotOffsetChanged(int))); } mAmorDialog->show(); @@ -1014,7 +1014,7 @@ AmorSessionWidget::AmorSessionWidget() { // the only function of this widget is to catch & forward the // saveYourself() signal from the session manager - connect(kapp, TQT_SIGNAL(saveYourself()), TQT_SLOT(wm_saveyourself())); + connect(kapp, TQ_SIGNAL(saveYourself()), TQ_SLOT(wm_saveyourself())); } void AmorSessionWidget::wm_saveyourself() |