From 190cf0526914da78ef5539110e5945c7677e4b89 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Tue, 17 Apr 2018 16:39:24 +0200 Subject: Remove LoadingBar --- src/mainwindow/widgets/loadingbar.h | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/mainwindow/widgets/loadingbar.h (limited to 'src/mainwindow/widgets/loadingbar.h') diff --git a/src/mainwindow/widgets/loadingbar.h b/src/mainwindow/widgets/loadingbar.h deleted file mode 100644 index f75e72b..0000000 --- a/src/mainwindow/widgets/loadingbar.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This file is part of smolbote. It's copyrighted by the contributors recorded - * in the version control history of the file, available from its original - * location: https://neueland.iserlohn-fortress.net/smolbote.hg - * - * SPDX-License-Identifier: GPL-3.0 - */ - -#ifndef LOADINGBAR_H -#define LOADINGBAR_H - -#include - -class WebView; -class LoadingBar : public QProgressBar -{ - Q_OBJECT -public: - explicit LoadingBar(QWidget *parent = nullptr); - void connectWebView(WebView *view); - -private slots: - void loadStarted(); - void loadFinished(bool ok); - -private: - QMetaObject::Connection loadStartedConnection, loadProgressConnection, loadedConnection, loadFinishedConnection; -}; - -#endif // LOADINGBAR_H -- cgit v1.2.1