--- a/src/qtgui/reslist.h
+++ b/src/qtgui/reslist.h
@@ -67,14 +67,8 @@
int listId() const {return m_listId;}
int pageFirstDocNum();
void setFont();
- void setRclMain(RclMain *m)
- {
- m_rclmain = m;
- }
- void setIsMainList(bool onoff)
- {
- m_ismainlist = onoff;
- }
+ void setRclMain(RclMain *m, bool ismain);
+
public slots:
virtual void setDocSource(RefCntr<DocSequence> nsource);
virtual void resetList(); // Erase current list
@@ -104,7 +98,6 @@
signals:
void nextPageAvailable(bool);
void prevPageAvailable(bool);
- void docEditClicked(Rcl::Doc);
void docPreviewClicked(int, Rcl::Doc, int);
void docSaveToFileClicked(Rcl::Doc);
void previewRequested(Rcl::Doc);
@@ -145,8 +138,7 @@
QString m_text;
#endif
RclMain *m_rclmain;
- bool m_ismainlist;
- bool m_coninit;
+ bool m_ismainres;
virtual void displayPage(); // Display current page
static int newListId();