Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 22 lines (16 sloc) 0.473 kb
95732ad @jferris Split Command into more abstract Command and concrete SocketCommand
jferris authored
1 #include "SocketCommand.h"
2 #include "WebPage.h"
3 #include "WebPageManager.h"
4
5 SocketCommand::SocketCommand(WebPageManager *manager, QStringList &arguments, QObject *parent) : Command(parent) {
6 m_manager = manager;
7 m_arguments = arguments;
8 }
9
10 WebPage *SocketCommand::page() const {
11 return m_manager->currentPage();
12 }
13
14 const QStringList &SocketCommand::arguments() const {
15 return m_arguments;
16 }
17
18 WebPageManager *SocketCommand::manager() const {
19 return m_manager;
20 }
21
Something went wrong with that request. Please try again.