diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:54:15 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 20:55:58 +0900 |
commit | 0769201035d1d083ab53a0ecd68172d7dc6fbc8d (patch) | |
tree | aba126a222edd7991e8f77944da6784503b31833 /src/knowit.cpp | |
parent | 1448a29b4641228157e43916e4ceb207f8c94aaa (diff) | |
download | knowit-0769201035d1d083ab53a0ecd68172d7dc6fbc8d.tar.gz knowit-0769201035d1d083ab53a0ecd68172d7dc6fbc8d.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit de36ef57b200f39eb5cd55ac5168369dc735cff0)
Diffstat (limited to 'src/knowit.cpp')
-rw-r--r-- | src/knowit.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/knowit.cpp b/src/knowit.cpp index 730b2af..8df37d1 100644 --- a/src/knowit.cpp +++ b/src/knowit.cpp @@ -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()) |