diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /lib/kofficecore/KoMainWindow.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'lib/kofficecore/KoMainWindow.cpp')
-rw-r--r-- | lib/kofficecore/KoMainWindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoMainWindow.cpp b/lib/kofficecore/KoMainWindow.cpp index 36d5fbdc8..3641f58c5 100644 --- a/lib/kofficecore/KoMainWindow.cpp +++ b/lib/kofficecore/KoMainWindow.cpp @@ -72,7 +72,7 @@ public: // Allow right-click on embedded objects (without activating them) // But beware: this means right-click on parent, from embedded object, // doesn't make the parent active first... - setActivationButtonMask( Qt::LeftButton | Qt::MidButton ); + setActivationButtonMask( TQt::LeftButton | TQt::MidButton ); } virtual bool eventFilter( TQObject *obj, TQEvent *ev ) { @@ -253,7 +253,7 @@ KoMainWindow::KoMainWindow( TDEInstance *instance, const char* name ) d->m_sendfile->setEnabled( false); d->m_paCloseFile->setEnabled( false); - d->m_splitter=new TQSplitter(Qt::Vertical, this, "mw-splitter"); + d->m_splitter=new TQSplitter(TQt::Vertical, this, "mw-splitter"); setCentralWidget( d->m_splitter ); // Keyboard accessibility enhancements. new KKbdAccessExtensions(this, "mw-panelSizer"); @@ -1424,7 +1424,7 @@ void KoMainWindow::slotRemoveView() { } void KoMainWindow::slotSetOrientation() { - d->m_splitter->setOrientation(static_cast<Qt::Orientation> + d->m_splitter->setOrientation(static_cast<TQt::Orientation> (d->m_orientation->currentItem())); } |