blob: e4eb388bb0d5ad03769499bc3c86773bc53bf3a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
#ifndef QT_SIGNAL_CONNECTOR_H
#define QT_SIGNAL_CONNECTOR_H
#include <QObject>
class QWidget;
class QToolButton;
class QLineEdit;
namespace content {
class Shell;
}
class SignalConnector : public QObject
{
Q_OBJECT
public:
SignalConnector(content::Shell* shell, QWidget* window);
public Q_SLOTS:
void loadAddressFromAddressBar();
void load(const QString& url) const;
void goBack() const;
void goForward() const;
void reload() const;
private:
content::Shell* m_shell;
QWidget* m_window;
QLineEdit* m_addressLineEdit;
QToolButton* m_forwardButton;
QToolButton* m_backButton;
QToolButton* m_reloadButton;
};
#endif
|