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:37:57 +0900 |
commit | ef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch) | |
tree | 03df826633e4ba084d133ca977c4fc37c74f21ac /kexi/main | |
parent | 895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff) | |
download | koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kexi/main')
-rw-r--r-- | kexi/main/ksplitter.h | 12 | ||||
-rw-r--r-- | kexi/main/startup/KexiStartupDialog.cpp | 4 | ||||
-rw-r--r-- | kexi/main/startup/KexiStartupFileDialog.cpp | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/kexi/main/ksplitter.h b/kexi/main/ksplitter.h index 47e9307c..05f2d568 100644 --- a/kexi/main/ksplitter.h +++ b/kexi/main/ksplitter.h @@ -53,10 +53,10 @@ public: * Constructor. * @param parent parent widget * @param name name - * @param orient orientation. Either @p Qt::Vertical or @p Qt::Horizontal + * @param orient orientation. Either @p TQt::Vertical or @p TQt::Horizontal * @param pos procentual position of the splitter. Must be int [0...100]. */ - KDockSplitter(TQWidget *parent= 0, const char *name= 0, Qt::Orientation orient=Qt::Vertical, int pos= 50); + KDockSplitter(TQWidget *parent= 0, const char *name= 0, TQt::Orientation orient=TQt::Vertical, int pos= 50); virtual ~KDockSplitter(){}; /** @@ -169,9 +169,9 @@ public: void restoreFromForcedFixedSize(KDockWidget *dw); /** - * The orientation is either @p Qt::Horizontal or @p Qt::Vertical. + * The orientation is either @p TQt::Horizontal or @p TQt::Vertical. */ - Qt::Orientation orientation(){return m_orientation;} + TQt::Orientation orientation(){return m_orientation;} protected: friend class KDockContainer; @@ -223,7 +223,7 @@ private: * child[01]->getWidget() may be KDockContainer. */ TQWidget *child0, *child1; - Qt::Orientation m_orientation; + TQt::Orientation m_orientation; /** * If initialised is true, the divider!=0L. If false, the divider==0L! */ @@ -235,7 +235,7 @@ private: TQFrame* divider; /** * @p xpos and @p savedXPos represent the current divider position. - * If the orientation is Qt::Horizontal @p xpos actually is "ypos". So + * If the orientation is horizontal @p xpos actually is "ypos". So * do not get confused only because of the 'x'. * * xpos and savedXPos are internally high resolution. So *not* 0..100% diff --git a/kexi/main/startup/KexiStartupDialog.cpp b/kexi/main/startup/KexiStartupDialog.cpp index 49a55a35..9f3e5de7 100644 --- a/kexi/main/startup/KexiStartupDialog.cpp +++ b/kexi/main/startup/KexiStartupDialog.cpp @@ -358,7 +358,7 @@ void KexiStartupDialog::setupPageTemplates() templPageFrame = d->templatesWidget->addPage ( i18n("Personal Databases"), i18n("New Personal Database Project Templates"), DesktopIcon("folder_home") ); tmplyr = new TQVBoxLayout(templPageFrame, 0, KDialogBase::spacingHint()); - d->viewPersonalTempl = new TemplatesPage(Qt::Vertical, templPageFrame, "personal_page" ); + d->viewPersonalTempl = new TemplatesPage(TQt::Vertical, templPageFrame, "personal_page" ); tmplyr->addWidget( d->viewPersonalTempl ); connect(d->viewPersonalTempl->templates,TQT_SIGNAL(doubleClicked(TQIconViewItem*)),this,TQT_SLOT(templateItemExecuted(TQIconViewItem*))); connect(d->viewPersonalTempl->templates,TQT_SIGNAL(returnPressed(TQIconViewItem*)),this,TQT_SLOT(templateItemExecuted(TQIconViewItem*))); @@ -372,7 +372,7 @@ void KexiStartupDialog::setupPageTemplates() i18n("Business Databases"), i18n("New Business Database Project Templates"), DesktopIcon( "business_user" )); tmplyr = new TQVBoxLayout(templPageFrame, 0, KDialogBase::spacingHint()); - d->viewBusinessTempl = new TemplatesPage(Qt::Vertical, templPageFrame, "business_page" ); + d->viewBusinessTempl = new TemplatesPage(TQt::Vertical, templPageFrame, "business_page" ); tmplyr->addWidget( d->viewBusinessTempl ); connect(d->viewBusinessTempl->templates,TQT_SIGNAL(doubleClicked(TQIconViewItem*)),this,TQT_SLOT(templateItemExecuted(TQIconViewItem*))); connect(d->viewBusinessTempl->templates,TQT_SIGNAL(returnPressed(TQIconViewItem*)),this,TQT_SLOT(templateItemExecuted(TQIconViewItem*))); diff --git a/kexi/main/startup/KexiStartupFileDialog.cpp b/kexi/main/startup/KexiStartupFileDialog.cpp index 8f445737..7b0aa5c8 100644 --- a/kexi/main/startup/KexiStartupFileDialog.cpp +++ b/kexi/main/startup/KexiStartupFileDialog.cpp @@ -410,7 +410,7 @@ bool KexiStartupFileDialog::eventFilter ( TQObject * watched, TQEvent * e ) { //filter-out ESC key if (e->type()==TQEvent::KeyPress && TQT_TQKEYEVENT(e)->key()==TQt::Key_Escape - && TQT_TQKEYEVENT(e)->state()==Qt::NoButton) { + && TQT_TQKEYEVENT(e)->state()==TQt::NoButton) { TQT_TQKEYEVENT(e)->accept(); emit rejected(); return true; |