Skip to content

Commit

Permalink
remove unnecessary slots labels (#48129)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkarneges authored Feb 19, 2025
1 parent f3a2f3c commit 67e663b
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 17 deletions.
1 change: 0 additions & 1 deletion src/handler/handlerengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3101,7 +3101,6 @@ class HandlerEngine::Private : public QObject
}
}

private slots:
void hs_subscribe(HttpSession *hs, const QString &channel)
{
Instruct::HoldMode mode = hs->holdMode();
Expand Down
3 changes: 1 addition & 2 deletions src/handler/refreshworker.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2017-2020 Fanout, Inc.
* Copyright (C) 2025 Fastly, Inc.
*
* This file is part of Pushpin.
*
Expand Down Expand Up @@ -50,8 +51,6 @@ class RefreshWorker : public Deferred

void refreshNextCid();
void respondError(const QByteArray &condition);

private slots:
void proxyRefresh_finished(const DeferredResult &result);
};

Expand Down
15 changes: 8 additions & 7 deletions src/proxy/app.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2012-2022 Fanout, Inc.
* Copyright (C) 2023-2024 Fastly, Inc.
* Copyright (C) 2023-2025 Fastly, Inc.
*
* This file is part of Pushpin.
*
Expand Down Expand Up @@ -666,6 +666,13 @@ class App::Private : public QObject
log_info("started");
}

private:
void domainMap_changed()
{
for(EngineThread *t : threads)
t->routesChanged();
}

private slots:
void reload()
{
Expand All @@ -675,12 +682,6 @@ private slots:
domainMap->reload();
}

void domainMap_changed()
{
for(EngineThread *t : threads)
t->routesChanged();
}

void doQuit()
{
log_info("stopping...");
Expand Down
1 change: 0 additions & 1 deletion src/proxy/wscontrolmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,6 @@ class WsControlManager::Private : public QObject
}
}

private slots:
void refresh_timeout()
{
qint64 now = QDateTime::currentMSecsSinceEpoch();
Expand Down
3 changes: 1 addition & 2 deletions src/proxy/wscontrolsession.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2014-2022 Fanout, Inc.
* Copyright (C) 2024 Fastly, Inc.
* Copyright (C) 2024-2025 Fastly, Inc.
*
* This file is part of Pushpin.
*
Expand Down Expand Up @@ -304,7 +304,6 @@ class WsControlSession::Private : public QObject
}
}

private slots:
void requestTimer_timeout()
{
// on error, destroy any other pending requests
Expand Down
3 changes: 1 addition & 2 deletions src/proxy/wsproxysession.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2014-2023 Fanout, Inc.
* Copyright (C) 2024 Fastly, Inc.
* Copyright (C) 2024-2025 Fastly, Inc.
*
* This file is part of Pushpin.
*
Expand Down Expand Up @@ -826,7 +826,6 @@ class WsProxySession::Private : public QObject
statsManager->incCounter(route.statsRoute(), c, count);
}

private slots:
void in_readyRead()
{
if((outSock && outSock->state() == WebSocket::Connected) || detached)
Expand Down
1 change: 0 additions & 1 deletion src/proxy/zroutes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ class ZRoutes::Private : public QObject
delete i;
}

public slots:
void removeUnused()
{
QList<Item*> toRemove;
Expand Down
2 changes: 1 addition & 1 deletion src/proxy/zrpcchecker.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2015 Fanout, Inc.
* Copyright (C) 2025 Fastly, Inc.
*
* This file is part of Pushpin.
*
Expand Down Expand Up @@ -212,7 +213,6 @@ class ZrpcChecker::Private : public QObject
delete i;
}

public slots:
void timer_timeout()
{
avail = false;
Expand Down

0 comments on commit 67e663b

Please sign in to comment.