applied clang format
This commit is contained in:
1 parent
39ab7acc08
commit
73d82e9562
10 files changed
+583
-609
No files matched your search
+12
-12
@@ -7,7 +7,7 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
namespace Ui {
|
||||
class MainWindow;
|
||||
class MainWindow;
|
||||
}
|
||||
QT_END_NAMESPACE
|
||||
|
||||
@@ -26,26 +26,26 @@ class YourlsClient;
|
||||
class MainWindow : public QMainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
public:
|
||||
/**
|
||||
* @brief Constructs the main window.
|
||||
* @param parent Parent widget.
|
||||
*/
|
||||
explicit MainWindow (QWidget *parent = nullptr);
|
||||
explicit MainWindow(QWidget *parent = nullptr);
|
||||
|
||||
/**
|
||||
* @brief Destroys the main window.
|
||||
*/
|
||||
~MainWindow() override;
|
||||
|
||||
protected:
|
||||
protected:
|
||||
/**
|
||||
* @brief Handles close requests.
|
||||
* @param event Close event.
|
||||
*/
|
||||
void closeEvent (QCloseEvent *event) override;
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
|
||||
private slots:
|
||||
private slots:
|
||||
/**
|
||||
* @brief Saves settings from the UI.
|
||||
*/
|
||||
@@ -80,7 +80,7 @@ class MainWindow : public QMainWindow {
|
||||
* @brief Handles tray icon activation.
|
||||
* @param reason Activation reason.
|
||||
*/
|
||||
void onTrayIconActivated (QSystemTrayIcon::ActivationReason reason);
|
||||
void onTrayIconActivated(QSystemTrayIcon::ActivationReason reason);
|
||||
|
||||
/**
|
||||
* @brief Reads a URL from the clipboard and shortens it.
|
||||
@@ -91,15 +91,15 @@ class MainWindow : public QMainWindow {
|
||||
* @brief Handles successful shortening.
|
||||
* @param shortUrl Generated short URL.
|
||||
*/
|
||||
void onShortenSucceeded (const QUrl &shortUrl);
|
||||
void onShortenSucceeded(const QUrl &shortUrl);
|
||||
|
||||
/**
|
||||
* @brief Handles shortening failure.
|
||||
* @param details Detailed error text.
|
||||
*/
|
||||
void onShortenFailed (const QString &details);
|
||||
void onShortenFailed(const QString &details);
|
||||
|
||||
private:
|
||||
private:
|
||||
/**
|
||||
* @brief Creates tray icon and tray menu.
|
||||
*/
|
||||
@@ -125,7 +125,7 @@ class MainWindow : public QMainWindow {
|
||||
* @brief Shows a popup with the generated short URL.
|
||||
* @param shortUrl Generated short URL.
|
||||
*/
|
||||
void showShortUrlPopup (const QUrl &shortUrl);
|
||||
void showShortUrlPopup(const QUrl &shortUrl);
|
||||
|
||||
/**
|
||||
* @brief Creates tray/menu actions.
|
||||
@@ -143,4 +143,4 @@ class MainWindow : public QMainWindow {
|
||||
YourlsClient *m_yourlsClient;
|
||||
};
|
||||
|
||||
#endif // MAINWINDOW_H
|
||||
#endif// MAINWINDOW_H
|
||||
Reference in new issue
Block a user