Switch to unified view

a/src/qtgui/restable.h b/src/qtgui/restable.h
...
...
40
    virtual int columnCount(const QModelIndex& = QModelIndex()) const;
40
    virtual int columnCount(const QModelIndex& = QModelIndex()) const;
41
    virtual QVariant headerData (int col, Qt::Orientation orientation, 
41
    virtual QVariant headerData (int col, Qt::Orientation orientation, 
42
                 int role = Qt::DisplayRole ) const;
42
                 int role = Qt::DisplayRole ) const;
43
    virtual QVariant data(const QModelIndex& index, 
43
    virtual QVariant data(const QModelIndex& index, 
44
               int role = Qt::DisplayRole ) const;
44
               int role = Qt::DisplayRole ) const;
45
    virtual void saveAsCSV(FILE *fp);
45
    virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
46
    virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
46
47
    // Specific methods
47
    // Specific methods
48
    virtual void readDocSource();
48
    virtual void readDocSource();
49
    virtual void setDocSource(RefCntr<DocSequence> nsource);
49
    virtual void setDocSource(RefCntr<DocSequence> nsource);
50
    virtual RefCntr<DocSequence> getDocSource() {return m_source;}
50
    virtual RefCntr<DocSequence> getDocSource() {return m_source;}
51
    virtual void deleteColumn(int);
51
    virtual void deleteColumn(int);
...
...
134
    virtual void menuOpenParent();
134
    virtual void menuOpenParent();
135
    virtual void createHeaderPopupMenu(const QPoint&);
135
    virtual void createHeaderPopupMenu(const QPoint&);
136
    virtual void deleteColumn();
136
    virtual void deleteColumn();
137
    virtual void addColumn();
137
    virtual void addColumn();
138
    virtual void resetSort(); // Revert to natural (relevance) order
138
    virtual void resetSort(); // Revert to natural (relevance) order
139
    virtual void saveAsCSV(); 
139
    virtual void linkWasClicked(const QUrl&);
140
    virtual void linkWasClicked(const QUrl&);
140
    virtual void makeRowVisible(int row);
141
    virtual void makeRowVisible(int row);
141
142
142
signals:
143
signals:
143
    void docPreviewClicked(int, Rcl::Doc, int);
144
    void docPreviewClicked(int, Rcl::Doc, int);