summaryrefslogtreecommitdiffstats
path: root/src/entryview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:31:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-07 14:53:04 +0900
commitaa5bb4434eb6b60314787106284ad99294de4468 (patch)
tree3a766a6cc84578b8fa8f5a6db323de24c57959d8 /src/entryview.cpp
parent727a2e58bc79c09f53766110fb7c31d3f3af1e46 (diff)
downloadtellico-aa5bb4434eb6b60314787106284ad99294de4468.tar.gz
tellico-aa5bb4434eb6b60314787106284ad99294de4468.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit c650254e1855d383dcafd15d18be20becc3b2253)
Diffstat (limited to 'src/entryview.cpp')
-rw-r--r--src/entryview.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/entryview.cpp b/src/entryview.cpp
index 66ad116..9281c68 100644
--- a/src/entryview.cpp
+++ b/src/entryview.cpp
@@ -65,9 +65,9 @@ EntryView::EntryView(TQWidget* parent_, const char* name_) : TDEHTMLPart(new Ent
DropHandler* drophandler = new DropHandler(this);
view()->installEventFilter(drophandler);
- connect(browserExtension(), TQT_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
- TQT_SLOT(slotOpenURL(const KURL&)));
- connect(kapp, TQT_SIGNAL(tdedisplayPaletteChanged()), TQT_SLOT(slotResetColors()));
+ connect(browserExtension(), TQ_SIGNAL(openURLRequest(const KURL&, const KParts::URLArgs&)),
+ TQ_SLOT(slotOpenURL(const KURL&)));
+ connect(kapp, TQ_SIGNAL(tdedisplayPaletteChanged()), TQ_SLOT(slotResetColors()));
}
EntryView::~EntryView() {
@@ -305,7 +305,7 @@ void EntryView::slotOpenURL(const KURL& url_) {
void EntryView::slotReloadEntry() {
// this slot should only be connected in setXSLTFile()
// must disconnect the signal first, otherwise, get an infinite loop
- disconnect(TQT_SIGNAL(completed()));
+ disconnect(TQ_SIGNAL(completed()));
closeURL(); // this is needed to stop everything, for some reason
view()->setUpdatesEnabled(true);
@@ -371,7 +371,7 @@ void EntryView::resetColors() {
// don't flicker
view()->setUpdatesEnabled(false);
openURL(m_tempFile->name());
- connect(this, TQT_SIGNAL(completed()), TQT_SLOT(slotReloadEntry()));
+ connect(this, TQ_SIGNAL(completed()), TQ_SLOT(slotReloadEntry()));
}
#include "entryview.moc"