|
a/src/qtgui/snippets_w.h |
|
b/src/qtgui/snippets_w.h |
|
... |
|
... |
14 |
* Free Software Foundation, Inc.,
|
14 |
* Free Software Foundation, Inc.,
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
15 |
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
16 |
*/
|
16 |
*/
|
17 |
#ifndef _SNIPPETS_W_H_INCLUDED_
|
17 |
#ifndef _SNIPPETS_W_H_INCLUDED_
|
18 |
#define _SNIPPETS_W_H_INCLUDED_
|
18 |
#define _SNIPPETS_W_H_INCLUDED_
|
|
|
19 |
#include <QString>
|
19 |
|
20 |
|
20 |
#include "rcldoc.h"
|
21 |
#include "rcldoc.h"
|
21 |
#include "refcntr.h"
|
22 |
#include "refcntr.h"
|
22 |
#include "docseq.h"
|
23 |
#include "docseq.h"
|
23 |
#include "rclmain_w.h"
|
24 |
#include "rclmain_w.h"
|
|
... |
|
... |
37 |
|
38 |
|
38 |
protected slots:
|
39 |
protected slots:
|
39 |
virtual void linkWasClicked(const QUrl &);
|
40 |
virtual void linkWasClicked(const QUrl &);
|
40 |
|
41 |
|
41 |
signals:
|
42 |
signals:
|
42 |
void startNativeViewer(Rcl::Doc, int pagenum);
|
43 |
void startNativeViewer(Rcl::Doc, int pagenum, QString term);
|
43 |
|
44 |
|
44 |
private:
|
45 |
private:
|
45 |
void init();
|
46 |
void init();
|
46 |
Rcl::Doc m_doc;
|
47 |
Rcl::Doc m_doc;
|
47 |
RefCntr<DocSequence> m_source;
|
48 |
RefCntr<DocSequence> m_source;
|