|
|
|
|
@ -31,7 +31,6 @@
|
|
|
|
|
#include <tdecmdlineargs.h>
|
|
|
|
|
#include <kcolordialog.h>
|
|
|
|
|
#include <tdeconfig.h>
|
|
|
|
|
#include <tdeversion.h>
|
|
|
|
|
#include <kedittoolbar.h>
|
|
|
|
|
#include <tdefiledialog.h>
|
|
|
|
|
#include <kkeydialog.h>
|
|
|
|
|
@ -254,9 +253,7 @@ Knowit::Knowit(TQWidget*, const char *name) : TDEMainWindow(0, name),
|
|
|
|
|
TQ_SLOT(slotItemLeft()), actionCollection(), "note_left");
|
|
|
|
|
|
|
|
|
|
/* Actions */
|
|
|
|
|
#if TDE_VERSION_MAJOR >= 3 && TDE_VERSION_MINOR >= 1
|
|
|
|
|
setStandardToolBarMenuEnabled(true);
|
|
|
|
|
#endif
|
|
|
|
|
createGUI("knowitui.rc", false);
|
|
|
|
|
|
|
|
|
|
/* Last save date */
|
|
|
|
|
@ -571,9 +568,7 @@ void Knowit::applyOptions(const KnowitOptions& O, bool store)
|
|
|
|
|
Edit->unsetFont();
|
|
|
|
|
|
|
|
|
|
Edit->setWordWrap(O.wordwrap ? TQTextEdit::WidgetWidth : TQTextEdit::NoWrap);
|
|
|
|
|
#if TDE_VERSION_MAJOR >= 3 && TDE_VERSION_MINOR >= 1
|
|
|
|
|
Edit->setTabChangesFocus(O.tabfocus);
|
|
|
|
|
#endif
|
|
|
|
|
if (!O.autosave)
|
|
|
|
|
AutosaveTimer->stop();
|
|
|
|
|
else
|
|
|
|
|
|