--- a/src/qtgui/rclmain_w.h
+++ b/src/qtgui/rclmain_w.h
@@ -27,6 +27,7 @@
 #include "uiprefs_w.h"
 #include "rcldb.h"
 #include "searchdata.h"
+#include "spell_w.h"
 
 #include "rclmain.h"
 
@@ -52,6 +53,7 @@
     virtual void previewClosed(QWidget * w);
     virtual void showAdvSearchDialog();
     virtual void showSortDialog();
+    virtual void showSpellDialog();
     virtual void showAboutDialog();
     virtual void startManual();
     virtual void showDocHistory();
@@ -73,6 +75,8 @@
     AdvSearch *asearchform;
     SortForm *sortform;
     UIPrefsDialog *uiprefs;
+    SpellW *spellform;
+
     DocSeqSortSpec sortspecs;
     int m_searchId; // Serial number of current search for this process.
                   // Used to match to preview windows