From 44e712a770ad0ab59d33790a80b5f6235cff6921 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:48:33 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- tdeui/kcolordialog.cpp | 2 +- tdeui/kdialog.cpp | 2 +- tdeui/kedittoolbar.cpp | 2 +- tdeui/kkeydialog.cpp | 2 +- tdeui/kswitchlanguagedialog.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'tdeui') diff --git a/tdeui/kcolordialog.cpp b/tdeui/kcolordialog.cpp index 5a6a6093a..d80e317af 100644 --- a/tdeui/kcolordialog.cpp +++ b/tdeui/kcolordialog.cpp @@ -981,7 +981,7 @@ KColorDialog::KColorDialog( TQWidget *parent, const char *name, bool modal ) l_left->addSpacing(10); TQGridLayout *l_lbot = new TQGridLayout(3, 6); - l_left->addLayout(TQT_TQLAYOUT(l_lbot)); + l_left->addLayout(l_lbot); // // the palette and value selector go into the H-box diff --git a/tdeui/kdialog.cpp b/tdeui/kdialog.cpp index 4bc6c24bc..3f8a89311 100644 --- a/tdeui/kdialog.cpp +++ b/tdeui/kdialog.cpp @@ -141,7 +141,7 @@ void KDialog::resizeLayout( TQWidget *w, int margin, int spacing ) { if( w->layout() ) { - resizeLayout( TQT_TQLAYOUTITEM(w->layout()), margin, spacing ); + resizeLayout( w->layout(), margin, spacing ); } if( !w->childrenListObject().isEmpty() ) diff --git a/tdeui/kedittoolbar.cpp b/tdeui/kedittoolbar.cpp index 13d928b52..40b4aa8d1 100644 --- a/tdeui/kedittoolbar.cpp +++ b/tdeui/kedittoolbar.cpp @@ -890,7 +890,7 @@ void KEditToolbarWidget::setupLayout() changeIcon_layout->addStretch( 1 ); list_layout->addLayout(inactive_layout); - list_layout->addLayout(TQT_TQLAYOUT(button_layout)); + list_layout->addLayout(button_layout); list_layout->addLayout(active_layout); top_layout->addLayout(name_layout); diff --git a/tdeui/kkeydialog.cpp b/tdeui/kkeydialog.cpp index 35fe0e45f..c6cc490ae 100644 --- a/tdeui/kkeydialog.cpp +++ b/tdeui/kkeydialog.cpp @@ -340,7 +340,7 @@ void KKeyChooser::initGUI( ActionType type, bool bAllowLetterShortcuts ) // fill up the split list box with the action/key pairs. // TQGridLayout *stackLayout = new TQGridLayout(2, 2, 2); - topLayout->addLayout( TQT_TQLAYOUT(stackLayout), 10 ); + topLayout->addLayout( stackLayout, 10 ); stackLayout->setRowStretch( 1, 10 ); // Only list will stretch d->pList = new TDEListView( this ); diff --git a/tdeui/kswitchlanguagedialog.cpp b/tdeui/kswitchlanguagedialog.cpp index 8e49af496..1f180c956 100644 --- a/tdeui/kswitchlanguagedialog.cpp +++ b/tdeui/kswitchlanguagedialog.cpp @@ -100,7 +100,7 @@ KSwitchLanguageDialog::KSwitchLanguageDialog( topLayout->addLayout(languageHorizontalLayout); d->languagesLayout = new TQGridLayout(0 , 2); - languageHorizontalLayout->addLayout(TQT_TQLAYOUT(d->languagesLayout)); + languageHorizontalLayout->addLayout(d->languagesLayout); languageHorizontalLayout->addStretch(); TQStringList defaultLanguages = d->applicationLanguageList(); -- cgit v1.2.1