--- a
+++ b/src/qtgui/idxthread.h
@@ -0,0 +1,16 @@
+#ifndef _IDXTHREAD_H_INCLUDED_
+#define _IDXTHREAD_H_INCLUDED_
+/* @(#$Id: idxthread.h,v 1.1 2005-02-01 17:20:05 dockes Exp $  (C) 2004 J.F.Dockes */
+
+class RclConfig;
+
+// These two deal with starting / stopping the thread itself, not indexing
+// sessions.
+extern void start_idxthread(RclConfig *cnf);
+extern void stop_idxthread();
+
+extern int startindexing;
+extern int indexingdone;
+extern bool indexingstatus;
+
+#endif /* _IDXTHREAD_H_INCLUDED_ */