~bedouin/+junk/hafalquran

« back to all changes in this revision

Viewing changes to hafalquran.h

  • Committer: Slamet Badwi (bedouin)
  • Date: 2015-08-09 10:24:41 UTC
  • Revision ID: slamet.badwi@gmail.com-20150809102441-uodqwrm9rpbbm0m5
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef HAFALQURAN_H
 
2
#define HAFALQURAN_H
 
3
 
 
4
#include <QObject>
 
5
#include <QContextMenuEvent>
 
6
 
 
7
class QWebView;
 
8
class QWebFrame;
 
9
//class QContextMenuEvent;
 
10
 
 
11
class HafalQuran : public QObject
 
12
{
 
13
    Q_OBJECT
 
14
 
 
15
public:
 
16
    HafalQuran(QObject *parent = 0);
 
17
    ~HafalQuran();
 
18
    void setWebView(QWebView *view);
 
19
    void contextMenuEvent(QContextMenuEvent* event);
 
20
 
 
21
public slots:
 
22
    void randomAyat();
 
23
    void perihalApp();
 
24
 
 
25
private slots:
 
26
    void attachObject();
 
27
 
 
28
private:
 
29
    QWebFrame *frame;
 
30
};
 
31
 
 
32
#endif // HAFALQURAN_H