#include <QSplitter>
#include <QStackedWidget>
#include <QStatusBar>
-#include <QThread>
#include <QTime>
#include <QTimer>
#include <QToolBar>
#define EXPORT_in_THREAD 1
-struct Sleep : QThread
-{
- static void millisec(unsigned long ms)
- {
- QThread::usleep(ms * 1000);
- }
-};
-
-
// QtConcurrent was introduced in Qt 4.4
#if (QT_VERSION >= 0x040400)
#include <QFuture>
// FIXME We need to call comparison feature here.
// This is quick and dirty code for testing VC.
// We need that comparison feature has some LFUN_COMPARE <FLAG> file1 file1
+ // where <FLAG> specifies whether we want GUI dialog or just launch
+ // running with defaults.
+ /*
FileName initpath(lyxrc.document_path);
Buffer * dest = newUnnamedFile(initpath, to_utf8(_("differences")));
CompareOptions options;
compare->start(QThread::LowPriority);
Sleep::millisec(200);
lyx::dispatch(FuncRequest(LFUN_BUFFER_SWITCH, dest->absFileName()));
+ */
break;
}