Switch to unified view

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