--- a/src/qtgui/rclmain.h
+++ b/src/qtgui/rclmain.h
@@ -64,6 +64,8 @@
virtual void ssearchAddTerm(QString);
virtual void startPreview(int docnum);
virtual void startNativeViewer(int docnum);
+ virtual void previewNextInTab(int sid, int docnum);
+ virtual void previewPrevInTab(int sid, int docnum);
private:
Preview *curPreview;
@@ -71,6 +73,8 @@
SortForm *sortform;
UIPrefsDialog *uiprefs;
RclSortSpec sortspecs;
+ int m_searchId; // Serial number of current search for this process.
+ // Used to match to preview windows
virtual void init();
};