~osomon/oxide/override-touchUngrabEvent

« back to all changes in this revision

Viewing changes to qt/core/api/oxideqfindcontroller.h

  • Committer: Chris Coulson
  • Date: 2016-01-13 18:16:11 UTC
  • Revision ID: chris.coulson@canonical.com-20160113181611-vo55lgwngvcj9u1h
Various clean-ups in soon-to-be-public headers. Also, we rename header files based on whether they're going to be public or not

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
// License along with this library; if not, write to the Free Software
16
16
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
17
17
 
18
 
#ifndef OXIDE_Q_FIND_CONTROLLER
19
 
#define OXIDE_Q_FIND_CONTROLLER
20
 
 
21
 
#include <QObject>
22
 
#include <QScopedPointer>
23
 
#include <QString>
24
 
#include <QtGlobal>
 
18
#ifndef OXIDE_QTCORE_FIND_CONTROLLER
 
19
#define OXIDE_QTCORE_FIND_CONTROLLER
 
20
 
 
21
#include <QtCore/QObject>
 
22
#include <QtCore/QScopedPointer>
 
23
#include <QtCore/QString>
 
24
#include <QtCore/QtGlobal>
 
25
 
 
26
#include <OxideQtCore/oxideqglobal.h>
25
27
 
26
28
class OxideQFindControllerPrivate;
27
29
 
28
 
namespace oxide {
29
 
namespace qt {
30
 
class WebViewProxy;
31
 
}
32
 
}
33
 
 
34
 
class Q_DECL_EXPORT OxideQFindController : public QObject {
 
30
class OXIDE_QTCORE_EXPORT OxideQFindController : public QObject {
35
31
  Q_OBJECT
36
32
  Q_PROPERTY(QString text READ text WRITE setText NOTIFY textChanged)
37
33
  Q_PROPERTY(bool caseSensitive READ caseSensitive WRITE setCaseSensitive NOTIFY caseSensitiveChanged)
42
38
  Q_DISABLE_COPY(OxideQFindController)
43
39
 
44
40
 public:
45
 
  ~OxideQFindController();
 
41
  ~OxideQFindController() Q_DECL_OVERRIDE;
46
42
 
47
43
  QString text() const;
48
44
  void setText(const QString& text);
61
57
  void currentChanged() const;
62
58
 
63
59
 private:
64
 
  friend class oxide::qt::WebViewProxy;
65
 
 
66
60
  Q_DECL_HIDDEN OxideQFindController();
67
61
 
68
62
  QScopedPointer<OxideQFindControllerPrivate> d_ptr;
69
63
};
70
64
 
71
 
#endif // OXIDE_Q_FIND_CONTROLLER
 
65
#endif // OXIDE_QTCORE_FIND_CONTROLLER