Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (17 sloc) 0.458 kB
95732ad @jferris Split Command into more abstract Command and concrete SocketCommand
jferris authored
1 #include "SocketCommand.h"
182cb2e @agibralter Working on frame handling. In terms of the QT code, the non-frame-rel…
agibralter authored
2
3615624 @jferris Refactored FrameFocus
jferris authored
3 class QWebFrame;
182cb2e @agibralter Working on frame handling. In terms of the QT code, the non-frame-rel…
agibralter authored
4
95732ad @jferris Split Command into more abstract Command and concrete SocketCommand
jferris authored
5 class FrameFocus : public SocketCommand {
182cb2e @agibralter Working on frame handling. In terms of the QT code, the non-frame-rel…
agibralter authored
6 Q_OBJECT
7
8 public:
f80125e @mhoran Pass the WebPageManager to each command
mhoran authored
9 FrameFocus(WebPageManager *, QStringList &arguments, QObject *parent = 0);
85dcc72 @jferris Pass command arguments to the constructor
jferris authored
10 virtual void start();
3615624 @jferris Refactored FrameFocus
jferris authored
11
12 private:
13 void findFrames();
14
15 void focusParent();
16
17 void focusIndex(int index);
18 bool isFrameAtIndex(int index);
19
20 void focusId(QString id);
21
22 void success();
23 void frameNotFound();
24
25 QList<QWebFrame *> frames;
182cb2e @agibralter Working on frame handling. In terms of the QT code, the non-frame-rel…
agibralter authored
26 };
27
Something went wrong with that request. Please try again.