aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/webkit/simpleselector/window.h
blob: b3fb5df3ba9fbf27d20a5d53dc36a1cbc4f04ed3 (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
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

#ifndef WINDOW_H
#define WINDOW_H

#include <QUrl>
#include <QWidget>
//! [Window class definition]
#include "ui_window.h"

class Window : public QWidget, private Ui::Window
{
    Q_OBJECT

public:
    Window(QWidget *parent = 0);
    void setUrl(const QUrl &url);

public slots:
    void on_elementLineEdit_returnPressed();
    void on_highlightButton_clicked();
};
//! [Window class definition]

#endif