Polish: Remove some more useless "slots" from headers

Change-Id: I9ba3b93e53e63153c1573d51c1aac53b7e088362
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2016-02-10 14:32:01 +01:00
parent b4195d5174
commit f62663e8e4
10 changed files with 24 additions and 31 deletions

View File

@@ -42,6 +42,7 @@ using namespace CodePaster;
class PasteReceiver : public QObject
{
Q_OBJECT
public:
PasteReceiver(const QString &protocol, const QString &filePath) : m_filePath(filePath)
{
@@ -55,7 +56,6 @@ public:
qFatal("Internal error: Invalid protocol.");
}
public slots:
void paste()
{
QFile file(m_filePath);
@@ -76,14 +76,13 @@ public slots:
m_protocol->paste(content);
}
private slots:
private:
void handlePasteDone(const QString &link)
{
std::cout << qPrintable(link) << std::endl;
qApp->quit();
}
private:
const QString m_filePath;
QScopedPointer<Protocol> m_protocol;
};