diff options
author | Michele Calgaro <[email protected]> | 2024-01-05 10:33:17 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-07 19:57:28 +0900 |
commit | f03ddc53e2767bb7f88374996bb192275de12e51 (patch) | |
tree | 9612fb1e8b8af0874506f53c77b2a9b748f31bb9 /src/infosidebarpage.cpp | |
parent | a822e3e4661711452c3cb35d5efaae67c56a071a (diff) | |
download | dolphin-f03ddc53e2767bb7f88374996bb192275de12e51.tar.gz dolphin-f03ddc53e2767bb7f88374996bb192275de12e51.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 1bc48a6ae2706e13093955e8181ac2f58a7ec3ac)
Diffstat (limited to 'src/infosidebarpage.cpp')
-rw-r--r-- | src/infosidebarpage.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index 5bfefbf..48f7efe 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -60,8 +60,8 @@ InfoSidebarPage::InfoSidebarPage(TQWidget* parent) : const int spacing = KDialog::spacingHint(); m_timer = new TQTimer(this); - connect(m_timer, TQT_SIGNAL(timeout()), - this, TQT_SLOT(slotTimeout())); + connect(m_timer, TQ_SIGNAL(timeout()), + this, TQ_SLOT(slotTimeout())); TQVBoxLayout* layout = new TQVBoxLayout(this); layout->setSpacing(spacing); @@ -106,8 +106,8 @@ InfoSidebarPage::InfoSidebarPage(TQWidget* parent) : layout->addWidget(m_actionBox); layout->addWidget(dummy); - connect(&Dolphin::mainWin(), TQT_SIGNAL(selectionChanged()), - this, TQT_SLOT(showItemInfo())); + connect(&Dolphin::mainWin(), TQ_SIGNAL(selectionChanged()), + this, TQ_SLOT(showItemInfo())); connectToActiveView(); } @@ -173,10 +173,10 @@ void InfoSidebarPage::showItemInfo() TDEIO::PreviewJob* job = TDEIO::filePreview(list, m_preview->width(), TDEIcon::SizeEnormous); - connect(job, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), - this, TQT_SLOT(gotPreview(const KFileItem*, const TQPixmap&))); - connect(job, TQT_SIGNAL(failed(const KFileItem*)), - this, TQT_SLOT(slotPreviewFailed(const KFileItem*))); + connect(job, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), + this, TQ_SLOT(gotPreview(const KFileItem*, const TQPixmap&))); + connect(job, TQ_SIGNAL(failed(const KFileItem*)), + this, TQ_SLOT(slotPreviewFailed(const KFileItem*))); TQString text("<b>"); text.append(m_shownURL.fileName()); @@ -228,10 +228,10 @@ void InfoSidebarPage::connectToActiveView() cancelRequest(); DolphinView* view = Dolphin::mainWin().activeView(); - connect(view, TQT_SIGNAL(signalRequestItemInfo(const KURL&)), - this, TQT_SLOT(requestDelayedItemInfo(const KURL&))); - connect(view, TQT_SIGNAL(signalURLChanged(const KURL&)), - this, TQT_SLOT(requestItemInfo(const KURL&))); + connect(view, TQ_SIGNAL(signalRequestItemInfo(const KURL&)), + this, TQ_SLOT(requestDelayedItemInfo(const KURL&))); + connect(view, TQ_SIGNAL(signalURLChanged(const KURL&)), + this, TQ_SLOT(requestItemInfo(const KURL&))); m_shownURL = view->url(); showItemInfo(); @@ -486,8 +486,8 @@ void InfoSidebarPage::insertActions() if (!submenuName.isEmpty()) { // create a sub menu containing all actions popup = new TQPopupMenu(); - connect(popup, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(startService(int))); + connect(popup, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(startService(int))); TQPushButton* button = new TQPushButton(submenuName, m_actionBox); button->setFlat(true); @@ -508,8 +508,8 @@ void InfoSidebarPage::insertActions() service.m_strName, m_actionBox, actionsIndex); - connect(button, TQT_SIGNAL(requestServiceStart(int)), - this, TQT_SLOT(startService(int))); + connect(button, TQ_SIGNAL(requestServiceStart(int)), + this, TQ_SLOT(startService(int))); m_actionWidgets.append(button); button->show(); } @@ -537,8 +537,8 @@ ServiceButton::ServiceButton(const TQIconSet& icon, { setEraseColor(colorGroup().background()); setFocusPolicy(TQWidget::NoFocus); - connect(this, TQT_SIGNAL(released()), - this, TQT_SLOT(slotReleased())); + connect(this, TQ_SIGNAL(released()), + this, TQ_SLOT(slotReleased())); } ServiceButton::~ServiceButton() |