|
|
|
@ -65,7 +65,7 @@ Knowit::Knowit(TQWidget*, const char *name) : TDEMainWindow(0, name),
|
|
|
|
|
Layout = new TQSplitter(this);
|
|
|
|
|
Items = new KnowitTree(Layout, "Items");
|
|
|
|
|
TQSplitter* EditLayout = new TQSplitter(Layout);
|
|
|
|
|
EditLayout->setOrientation(Qt::Vertical);
|
|
|
|
|
EditLayout->setOrientation(TQt::Vertical);
|
|
|
|
|
Edit = new KnowitEdit(EditLayout, "Edit");
|
|
|
|
|
Links = new KnowitLinks(EditLayout);
|
|
|
|
|
|
|
|
|
@ -573,8 +573,8 @@ void Knowit::applyOptions(const KnowitOptions& O, bool store)
|
|
|
|
|
else
|
|
|
|
|
AutosaveTimer->start(O.autosave * 60 * 1000, true);
|
|
|
|
|
Edit->swapEOL = O.enterBreakLine;
|
|
|
|
|
Layout->setOrientation(O.horizontalSplit ? Qt::Horizontal :
|
|
|
|
|
Qt::Vertical);
|
|
|
|
|
Layout->setOrientation(O.horizontalSplit ? TQt::Horizontal :
|
|
|
|
|
TQt::Vertical);
|
|
|
|
|
Items->setAlternateBackground(O.alternateTree ? TQColor(O.alternateColor) : TQColor());
|
|
|
|
|
Items->repaintContents();
|
|
|
|
|
if (Items->currentItem())
|
|
|
|
|