diff options
author | Michele Calgaro <[email protected]> | 2023-11-05 11:53:52 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-05 23:06:33 +0900 |
commit | 286a5b177f5aa6e0cbeda55ad1feab06718c23f5 (patch) | |
tree | ef6a3fc063d2e43526ca735f1a3ac6ecc6135dc2 | |
parent | 4bd5c010cf45b6ee98648d6ac93ab44b3b9756c1 (diff) | |
download | kile-286a5b177f5aa6e0cbeda55ad1feab06718c23f5.tar.gz kile-286a5b177f5aa6e0cbeda55ad1feab06718c23f5.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 9074681d6ed501fc072053aee017bc6b4356ce87)
-rw-r--r-- | src/kile/configcodecompletion.cpp | 2 | ||||
-rw-r--r-- | src/kile/configstructure.cpp | 4 | ||||
-rw-r--r-- | src/kile/floatdialog.cpp | 4 | ||||
-rw-r--r-- | src/kile/includegraphicsdialog.cpp | 2 | ||||
-rw-r--r-- | src/kile/kile.cpp | 4 | ||||
-rw-r--r-- | src/kile/kileeventfilter.cpp | 2 | ||||
-rw-r--r-- | src/kile/kilegrepdialog.cpp | 8 | ||||
-rw-r--r-- | src/kile/kilemultitabbar.h | 4 | ||||
-rw-r--r-- | src/kile/kileprojectdlgs.cpp | 6 | ||||
-rw-r--r-- | src/kile/kilesidebar.cpp | 12 | ||||
-rw-r--r-- | src/kile/kilesidebar.h | 2 | ||||
-rw-r--r-- | src/kile/kilestatswidget.cpp | 4 | ||||
-rw-r--r-- | src/kile/mathenvdialog.cpp | 2 | ||||
-rw-r--r-- | src/kile/previewconfigwidget.cpp | 6 | ||||
-rw-r--r-- | src/kile/symbolview.cpp | 2 | ||||
-rw-r--r-- | src/kile/tabulardialog.cpp | 18 | ||||
-rw-r--r-- | src/kile/texdocdialog.cpp | 2 |
17 files changed, 42 insertions, 42 deletions
diff --git a/src/kile/configcodecompletion.cpp b/src/kile/configcodecompletion.cpp index 375904d..8d3065b 100644 --- a/src/kile/configcodecompletion.cpp +++ b/src/kile/configcodecompletion.cpp @@ -69,7 +69,7 @@ ConfigCodeCompletion::ConfigCodeCompletion(TDEConfig *config, KileWidget::LogMsg // below: OptionBox TQButtonGroup *bg_options = new TQButtonGroup( this, "bgOptions" ); - bg_options->setColumnLayout(0, Qt::Vertical ); + bg_options->setColumnLayout(0, TQt::Vertical ); bg_options->layout()->setSpacing( 6 ); bg_options->layout()->setMargin( 11 ); TQGridLayout *bg_optionsLayout = new TQGridLayout( bg_options->layout() ); diff --git a/src/kile/configstructure.cpp b/src/kile/configstructure.cpp index 5c9d7eb..7bf92e2 100644 --- a/src/kile/configstructure.cpp +++ b/src/kile/configstructure.cpp @@ -151,12 +151,12 @@ ConfigStructure::ConfigStructure(TQWidget *parent, const char *name ) m_sectioningtable->horizontalHeader()->setLabel(2,SmallIcon("structure"),"Structure Node"); // default structure level - TQGroupBox *structGroup = new TQGroupBox(2, Qt::Horizontal, i18n("Structure View"), widget2); + TQGroupBox *structGroup = new TQGroupBox(2, TQt::Horizontal, i18n("Structure View"), widget2); TQLabel *label9 = new TQLabel(i18n("Default expansion &level: "),structGroup); m_structurelevel = new TQSpinBox(1,5, 1, structGroup); label9->setBuddy(m_structurelevel); - TQGroupBox *classGroup = new TQGroupBox(1,Qt::Horizontal,i18n("Document Classes"), widget2); + TQGroupBox *classGroup = new TQGroupBox(1,TQt::Horizontal,i18n("Document Classes"), widget2); TQWidget *widget4 = new TQWidget(classGroup); TQHBoxLayout *hbox4 = new TQHBoxLayout(widget4, 5,KDialog::spacingHint() ); TQLabel *label10 = new TQLabel("Manage classes:",widget4); diff --git a/src/kile/floatdialog.cpp b/src/kile/floatdialog.cpp index 472eab4..4cb1008 100644 --- a/src/kile/floatdialog.cpp +++ b/src/kile/floatdialog.cpp @@ -38,7 +38,7 @@ FloatEnvironmentDialog::FloatEnvironmentDialog(TDEConfig *config, KileInfo *ki, // environment groupbox TQButtonGroup *egroup = new TQButtonGroup( i18n("Environment"),page); - egroup->setColumnLayout(0, Qt::Vertical ); + egroup->setColumnLayout(0, TQt::Vertical ); egroup->layout()->setSpacing( 6 ); egroup->layout()->setMargin( 11 ); TQGridLayout *egrouplayout = new TQGridLayout( egroup->layout() ); @@ -52,7 +52,7 @@ FloatEnvironmentDialog::FloatEnvironmentDialog(TDEConfig *config, KileInfo *ki, // position groupbox TQButtonGroup *pgroup = new TQButtonGroup( i18n("Position"),page); - pgroup->setColumnLayout(0, Qt::Vertical ); + pgroup->setColumnLayout(0, TQt::Vertical ); pgroup->layout()->setSpacing( 6 ); pgroup->layout()->setMargin( 11 ); TQGridLayout *pgrouplayout = new TQGridLayout( pgroup->layout() ); diff --git a/src/kile/includegraphicsdialog.cpp b/src/kile/includegraphicsdialog.cpp index 0aeb019..584833c 100644 --- a/src/kile/includegraphicsdialog.cpp +++ b/src/kile/includegraphicsdialog.cpp @@ -130,7 +130,7 @@ IncludeGraphics::IncludeGraphics(TQWidget *parent, const TQString &startdir, Kil grid_opt->addWidget( edit_bb, 1,3 ); // third groupbox: figure environment - TQGroupBox *gb_fig= new TQGroupBox(2,Qt::Horizontal,i18n("Figure Environment"), plainPage()); + TQGroupBox *gb_fig= new TQGroupBox(2,TQt::Horizontal,i18n("Figure Environment"), plainPage()); TQWidget *widget_fig = new TQWidget(gb_fig); TQGridLayout *grid_fig = new TQGridLayout( widget_fig, 3,2, 6,6, ""); diff --git a/src/kile/kile.cpp b/src/kile/kile.cpp index 7bc2f3a..3480a3e 100644 --- a/src/kile/kile.cpp +++ b/src/kile/kile.cpp @@ -136,11 +136,11 @@ Kile::Kile( bool allowRestore, TQWidget *parent, const char *name ) : m_topWidgetStack = new TQWidgetStack( this ); m_topWidgetStack->setFocusPolicy(TQWidget::NoFocus); - m_horizontalSplitter = new TQSplitter(Qt::Horizontal,m_topWidgetStack, "horizontalSplitter" ); + m_horizontalSplitter = new TQSplitter(TQt::Horizontal,m_topWidgetStack, "horizontalSplitter" ); setupSideBar(); - m_verticalSplitter=new TQSplitter(Qt::Vertical, m_horizontalSplitter, "verticalSplitter"); + m_verticalSplitter=new TQSplitter(TQt::Vertical, m_horizontalSplitter, "verticalSplitter"); viewManager()->createTabs(m_verticalSplitter); connect(viewManager(), TQT_SIGNAL(activateView(TQWidget*, bool)), TQT_TQOBJECT(this), TQT_SLOT(activateView(TQWidget*, bool))); diff --git a/src/kile/kileeventfilter.cpp b/src/kile/kileeventfilter.cpp index dd30eb3..d97771c 100644 --- a/src/kile/kileeventfilter.cpp +++ b/src/kile/kileeventfilter.cpp @@ -56,7 +56,7 @@ bool KileEventFilter::eventFilter(TQObject *o, TQEvent *e) else if ( e->type() == TQEvent::MouseButtonDblClick) { TQMouseEvent *me = (TQMouseEvent*) e; - if ( me->button()==Qt::LeftButton && ((me->state() & TQt::ControlButton) == TQt::ControlButton) ) + if ( me->button()==TQt::LeftButton && ((me->state() & TQt::ControlButton) == TQt::ControlButton) ) { m_edit->selectWord(KileDocument::EditorExtension::smTex); return true; diff --git a/src/kile/kilegrepdialog.cpp b/src/kile/kilegrepdialog.cpp index 6ee58e1..6d9e159 100644 --- a/src/kile/kilegrepdialog.cpp +++ b/src/kile/kilegrepdialog.cpp @@ -87,7 +87,7 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo // project groupbox TQGroupBox *projectgroup = new TQGroupBox( i18n("Project"),page); - projectgroup->setColumnLayout(0, Qt::Vertical ); + projectgroup->setColumnLayout(0, TQt::Vertical ); projectgroup->layout()->setSpacing( 6 ); projectgroup->layout()->setMargin( 11 ); TQGridLayout *projectgrouplayout = new TQGridLayout( projectgroup->layout() ); @@ -111,7 +111,7 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo // search groupbox TQGroupBox *searchgroup = new TQGroupBox( i18n("Search"),page); - searchgroup->setColumnLayout(0, Qt::Vertical ); + searchgroup->setColumnLayout(0, TQt::Vertical ); searchgroup->layout()->setSpacing( 6 ); searchgroup->layout()->setMargin( 11 ); TQGridLayout *searchgrouplayout = new TQGridLayout( searchgroup->layout() ); @@ -163,7 +163,7 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo // filter groupbox TQGroupBox *filtergroup = new TQGroupBox( i18n("Directory Options"),page); - filtergroup->setColumnLayout(0, Qt::Vertical ); + filtergroup->setColumnLayout(0, TQt::Vertical ); filtergroup->layout()->setSpacing( 6 ); filtergroup->layout()->setMargin( 11 ); TQGridLayout *filtergrouplayout = new TQGridLayout( filtergroup->layout() ); @@ -203,7 +203,7 @@ KileGrepDialog::KileGrepDialog(TQWidget *parent, KileInfo *ki, KileGrep::Mode mo resultbox->setMinimumHeight(150); // button box - KButtonBox *actionbox = new KButtonBox(page, Qt::Horizontal); + KButtonBox *actionbox = new KButtonBox(page, TQt::Horizontal); search_button = actionbox->addButton(i18n("&Search")); search_button->setDefault(true); search_button->setEnabled(false); diff --git a/src/kile/kilemultitabbar.h b/src/kile/kilemultitabbar.h index 32698b6..e1bb658 100644 --- a/src/kile/kilemultitabbar.h +++ b/src/kile/kilemultitabbar.h @@ -62,8 +62,8 @@ public: * The tab bar's orientation. Also constraints the bar's position. */ enum KileMultiTabBarMode { - Horizontal, ///<Qt::Horizontal orientation (i.e. on top or bottom) - Vertical ///<Qt::Vertical orientation (i.e. on the left or right hand side) + Horizontal, /// Horizontal orientation (i.e. on top or bottom) + Vertical /// Vertical orientation (i.e. on the left or right hand side) }; /** diff --git a/src/kile/kileprojectdlgs.cpp b/src/kile/kileprojectdlgs.cpp index 652ef46..d4dbe7f 100644 --- a/src/kile/kileprojectdlgs.cpp +++ b/src/kile/kileprojectdlgs.cpp @@ -61,7 +61,7 @@ KileProjectDlgBase::KileProjectDlgBase(const TQString &caption, KileDocument::Ex { // properties groupbox m_pgroup = new TQVGroupBox(i18n("Project"), plainPage()); - m_pgroup->setColumnLayout(0, Qt::Vertical ); + m_pgroup->setColumnLayout(0, TQt::Vertical ); m_pgroup->layout()->setSpacing( 6 ); m_pgroup->layout()->setMargin( 11 ); m_pgrid = new TQGridLayout( m_pgroup->layout() ); @@ -75,7 +75,7 @@ KileProjectDlgBase::KileProjectDlgBase(const TQString &caption, KileDocument::Ex // extensions groupbox m_egroup= new TQVGroupBox(i18n("Extensions"), plainPage()); - m_egroup->setColumnLayout(0, Qt::Vertical ); + m_egroup->setColumnLayout(0, TQt::Vertical ); m_egroup->layout()->setSpacing( 6 ); m_egroup->layout()->setMargin( 11 ); m_egrid = new TQGridLayout( m_egroup->layout() ); @@ -491,7 +491,7 @@ KileProjectOptionsDlg::KileProjectOptionsDlg(KileProject *project, KileDocument: // third groupbox TQVGroupBox* group3 = new TQVGroupBox(i18n("Properties"), plainPage()); - group3->setColumnLayout(0, Qt::Vertical ); + group3->setColumnLayout(0, TQt::Vertical ); group3->layout()->setSpacing( 6 ); group3->layout()->setMargin( 11 ); TQGridLayout *grid3 = new TQGridLayout( group3->layout() ); diff --git a/src/kile/kilesidebar.cpp b/src/kile/kilesidebar.cpp index 10fd2a8..a26bd8b 100644 --- a/src/kile/kilesidebar.cpp +++ b/src/kile/kilesidebar.cpp @@ -26,7 +26,7 @@ #include "symbolview.h" -KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orientation orientation /*=Qt::Vertical*/) : +KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, TQt::Orientation orientation /*=TQt::Vertical*/) : TQFrame(parent, name), m_nTabs(0), m_nCurrent(0), @@ -45,13 +45,13 @@ KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orien KileMultiTabBar::KileMultiTabBarMode tabbarori = KileMultiTabBar::Horizontal; KileMultiTabBar::KileMultiTabBarPosition tabbarpos = KileMultiTabBar::Top; - if ( orientation == Qt::Horizontal ) + if ( orientation == TQt::Horizontal ) { layout = new TQVBoxLayout(this); tabbarori = KileMultiTabBar::Horizontal; tabbarpos = KileMultiTabBar::Top; } - else if ( orientation == Qt::Vertical ) + else if ( orientation == TQt::Vertical ) { layout = new TQHBoxLayout(this); tabbarori = KileMultiTabBar::Vertical; @@ -67,7 +67,7 @@ KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orien m_tabBar->setStyle(KileMultiTabBar::KDEV3); #endif - if ( orientation == Qt::Horizontal ) + if ( orientation == TQt::Horizontal ) { setMinimumHeight(m_tabBar->height()); m_nMinSize = m_tabBar->height(); @@ -75,7 +75,7 @@ KileSideBar::KileSideBar(int size, TQWidget *parent, const char *name, Qt::Orien layout->add(m_tabBar); layout->add(m_tabStack); } - else if ( orientation == Qt::Vertical ) + else if ( orientation == TQt::Vertical ) { setMinimumWidth(m_tabBar->width()); m_nMinSize = m_tabBar->width(); @@ -239,7 +239,7 @@ void KileSideBar::switchToTab(int id) } KileBottomBar::KileBottomBar(int size, TQWidget *parent, const char *name) : - KileSideBar(size, parent, name, Qt::Horizontal) + KileSideBar(size, parent, name, TQt::Horizontal) {} void KileBottomBar::shrink() diff --git a/src/kile/kilesidebar.h b/src/kile/kilesidebar.h index 4178a15..260787a 100644 --- a/src/kile/kilesidebar.h +++ b/src/kile/kilesidebar.h @@ -34,7 +34,7 @@ class KileSideBar : public TQFrame public: - KileSideBar(int size, TQWidget *parent = 0, const char *name = 0, Qt::Orientation orientation = Qt::Vertical); + KileSideBar(int size, TQWidget *parent = 0, const char *name = 0, TQt::Orientation orientation = TQt::Vertical); ~KileSideBar(); int addTab(TQWidget *tab, const TQPixmap &pic, const TQString &text = TQString()); diff --git a/src/kile/kilestatswidget.cpp b/src/kile/kilestatswidget.cpp index 1e96f9d..59cf9b3 100644 --- a/src/kile/kilestatswidget.cpp +++ b/src/kile/kilestatswidget.cpp @@ -33,7 +33,7 @@ KileWidgetStatistics::KileWidgetStatistics( TQWidget* parent, const char* name, // characters groupbox TQGroupBox *chargroup = new TQGroupBox( i18n("Characters"),parent); - chargroup->setColumnLayout(0, Qt::Vertical ); + chargroup->setColumnLayout(0, TQt::Vertical ); chargroup->layout()->setSpacing( 6 ); chargroup->layout()->setMargin( 11 ); chargrouplayout = new TQGridLayout( chargroup->layout() ); @@ -67,7 +67,7 @@ KileWidgetStatistics::KileWidgetStatistics( TQWidget* parent, const char* name, // string groupbox TQGroupBox *stringgroup = new TQGroupBox( i18n("Strings"),parent); - stringgroup->setColumnLayout(0, Qt::Vertical ); + stringgroup->setColumnLayout(0, TQt::Vertical ); stringgroup->layout()->setSpacing( 6 ); stringgroup->layout()->setMargin( 11 ); stringgrouplayout = new TQGridLayout( stringgroup->layout() ); diff --git a/src/kile/mathenvdialog.cpp b/src/kile/mathenvdialog.cpp index 2bad442..63102bc 100644 --- a/src/kile/mathenvdialog.cpp +++ b/src/kile/mathenvdialog.cpp @@ -42,7 +42,7 @@ MathEnvironmentDialog::MathEnvironmentDialog(TQWidget *parent, TDEConfig *config // environment groupbox TQButtonGroup *envgroup = new TQButtonGroup( i18n("Environment"),page); - envgroup->setColumnLayout(0, Qt::Vertical ); + envgroup->setColumnLayout(0, TQt::Vertical ); envgroup->layout()->setSpacing( 6 ); envgroup->layout()->setMargin( 11 ); diff --git a/src/kile/previewconfigwidget.cpp b/src/kile/previewconfigwidget.cpp index a279bad..264cc18 100644 --- a/src/kile/previewconfigwidget.cpp +++ b/src/kile/previewconfigwidget.cpp @@ -38,7 +38,7 @@ KileWidgetPreviewConfig::KileWidgetPreviewConfig(TDEConfig *config, KileTool::Qu TQGroupBox *groupbox = new TQGroupBox( i18n("Quick Preview in a separate window"), this, "groupbox" ); groupbox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, groupbox->sizePolicy().hasHeightForWidth() ) ); - groupbox->setColumnLayout(0, Qt::Vertical ); + groupbox->setColumnLayout(0, TQt::Vertical ); groupbox->layout()->setSpacing( 6 ); groupbox->layout()->setMargin( 11 ); TQGridLayout *groupboxLayout = new TQGridLayout( groupbox->layout() ); @@ -53,7 +53,7 @@ KileWidgetPreviewConfig::KileWidgetPreviewConfig(TDEConfig *config, KileTool::Qu groupboxLayout->setColStretch(3,1); TQGroupBox *gbResolution = new TQGroupBox( i18n("Quick Preview in bottom bar"), this, "gbresolution" ); - gbResolution->setColumnLayout(0, Qt::Vertical ); + gbResolution->setColumnLayout(0, TQt::Vertical ); gbResolution->layout()->setSpacing( 6 ); gbResolution->layout()->setMargin( 11 ); TQGridLayout *resLayout = new TQGridLayout( gbResolution->layout() ); @@ -96,7 +96,7 @@ KileWidgetPreviewConfig::KileWidgetPreviewConfig(TDEConfig *config, KileTool::Qu resLayout->setColStretch(5,1); m_gbPreview = new TQGroupBox( i18n("Properties"), this, "gbpreview" ); - m_gbPreview->setColumnLayout(0, Qt::Vertical ); + m_gbPreview->setColumnLayout(0, TQt::Vertical ); m_gbPreview->layout()->setSpacing( 6 ); m_gbPreview->layout()->setMargin( 11 ); TQGridLayout *previewLayout = new TQGridLayout( m_gbPreview->layout() ); diff --git a/src/kile/symbolview.cpp b/src/kile/symbolview.cpp index 16e3fc6..8a9c570 100644 --- a/src/kile/symbolview.cpp +++ b/src/kile/symbolview.cpp @@ -230,7 +230,7 @@ void SymbolView::contentsMousePressEvent(TQMouseEvent *e) int count; bool math=false, bracket=false; - if( (e->button() & Qt::LeftButton) == Qt::LeftButton && ( item = findItem( e->pos() ) ) ) + if( (e->button() & TQt::LeftButton) == TQt::LeftButton && ( item = findItem( e->pos() ) ) ) { bracket = (e->state() & TQt::ControlButton) == TQt::ControlButton; math = (e->state() & TQt::ShiftButton) == TQt::ShiftButton; diff --git a/src/kile/tabulardialog.cpp b/src/kile/tabulardialog.cpp index 2df4153..c24a2ff 100644 --- a/src/kile/tabulardialog.cpp +++ b/src/kile/tabulardialog.cpp @@ -197,7 +197,7 @@ void TabCellFrame::drawContents(TQPainter *p) void TabCellFrame::mousePressEvent(TQMouseEvent *event) { - if ( event->button() != Qt::LeftButton ) + if ( event->button() != TQt::LeftButton ) return; int x = event->x(); @@ -260,7 +260,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data, // font group TQGroupBox *fontgroup = new TQGroupBox( i18n("Font"),page); - fontgroup->setColumnLayout(0, Qt::Vertical ); + fontgroup->setColumnLayout(0, TQt::Vertical ); fontgroup->layout()->setSpacing( 6 ); fontgroup->layout()->setMargin( 11 ); @@ -274,7 +274,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data, // color group TQGroupBox *colorgroup = new TQGroupBox( i18n("Color"),page); - colorgroup->setColumnLayout(0, Qt::Vertical ); + colorgroup->setColumnLayout(0, TQt::Vertical ); colorgroup->layout()->setSpacing( 6 ); colorgroup->layout()->setMargin( 11 ); @@ -292,7 +292,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data, // alignment group TQButtonGroup *aligngroup = new TQButtonGroup( i18n("Alignment"),page); - aligngroup->setColumnLayout(0, Qt::Vertical ); + aligngroup->setColumnLayout(0, TQt::Vertical ); aligngroup->layout()->setSpacing( 6 ); aligngroup->layout()->setMargin( 11 ); @@ -308,7 +308,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data, // frame group TQGroupBox *framegroup = new TQGroupBox( i18n("Frame"),page); - framegroup->setColumnLayout(0, Qt::Vertical ); + framegroup->setColumnLayout(0, TQt::Vertical ); framegroup->layout()->setSpacing( 6 ); framegroup->layout()->setMargin( 11 ); @@ -349,7 +349,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data, // preamble group TQGroupBox *preamblegroup = new TQGroupBox( i18n("Preamble"),page); - preamblegroup->setColumnLayout(0, Qt::Vertical ); + preamblegroup->setColumnLayout(0, TQt::Vertical ); preamblegroup->layout()->setSpacing( 6 ); preamblegroup->layout()->setMargin( 11 ); @@ -367,7 +367,7 @@ TabCellDialog::TabCellDialog(TQWidget *parent, TabularCell::Data *data, // header group TQGroupBox *headergroup = new TQGroupBox( i18n("Alignment"),page); - headergroup->setColumnLayout(0, Qt::Vertical ); + headergroup->setColumnLayout(0, TQt::Vertical ); headergroup->layout()->setSpacing( 6 ); headergroup->layout()->setMargin( 11 ); @@ -742,7 +742,7 @@ bool TabularTable::eventFilter(TQObject *o, TQEvent *e) if ( e->type() == TQEvent::MouseButtonPress ) { TQMouseEvent *me = TQT_TQMOUSEEVENT(e); - if ( me->button() == Qt::RightButton ) + if ( me->button() == TQt::RightButton ) { if ( o == horizontalHeader() ) { @@ -1849,7 +1849,7 @@ TabularDialog::TabularDialog(TQWidget *parent, TDEConfig *config, KileDocument:: // environment group TQButtonGroup *group = new TQButtonGroup( i18n("Environment"),page); - group->setColumnLayout(0, Qt::Vertical ); + group->setColumnLayout(0, TQt::Vertical ); group->layout()->setSpacing( 4 ); group->layout()->setMargin( 11 ); diff --git a/src/kile/texdocdialog.cpp b/src/kile/texdocdialog.cpp index 21c50db..0b6ba37 100644 --- a/src/kile/texdocdialog.cpp +++ b/src/kile/texdocdialog.cpp @@ -70,7 +70,7 @@ TexDocDialog::TexDocDialog(TQWidget *parent, const char *name) // groupbox TQGroupBox *groupbox = new TQGroupBox( i18n("Search"), page, "groupbox" ); groupbox->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5, (TQSizePolicy::SizeType)1, 0, 0, groupbox->sizePolicy().hasHeightForWidth() ) ); - groupbox->setColumnLayout(0, Qt::Vertical ); + groupbox->setColumnLayout(0, TQt::Vertical ); groupbox->layout()->setSpacing( 6 ); groupbox->layout()->setMargin( 11 ); TQGridLayout *groupboxLayout = new TQGridLayout( groupbox->layout() ); |