Switch to unified view

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
20
#include "autoconfig.h"
21
22
#include MEMORY_INCLUDE
23
19
#include <QString>
24
#include <QString>
20
25
21
#include "rcldoc.h"
26
#include "rcldoc.h"
22
#include "refcntr.h"
23
#include "docseq.h"
27
#include "docseq.h"
24
#include "rclmain_w.h"
28
#include "rclmain_w.h"
25
29
26
#include "ui_snippets.h"
30
#include "ui_snippets.h"
27
31
28
class SnippetsW : public QWidget, public Ui::Snippets
32
class SnippetsW : public QWidget, public Ui::Snippets
29
{
33
{
30
    Q_OBJECT
34
    Q_OBJECT
31
public:
35
public:
32
    SnippetsW(Rcl::Doc doc, RefCntr<DocSequence> source, QWidget* parent = 0) 
36
    SnippetsW(Rcl::Doc doc, STD_SHARED_PTR<DocSequence> source, QWidget* parent = 0) 
33
    : QWidget(parent), m_doc(doc), m_source(source)
37
    : QWidget(parent), m_doc(doc), m_source(source)
34
    {
38
    {
35
    setupUi((QDialog*)this);
39
    setupUi((QDialog*)this);
36
    init();
40
    init();
37
    }
41
    }
...
...
46
    void startNativeViewer(Rcl::Doc, int pagenum, QString term);
50
    void startNativeViewer(Rcl::Doc, int pagenum, QString term);
47
    
51
    
48
private:
52
private:
49
    void init();
53
    void init();
50
    Rcl::Doc m_doc;
54
    Rcl::Doc m_doc;
51
    RefCntr<DocSequence> m_source;
55
    STD_SHARED_PTR<DocSequence> m_source;
52
};
56
};
53
57
54
#endif /* _SNIPPETS_W_H_INCLUDED_ */
58
#endif /* _SNIPPETS_W_H_INCLUDED_ */