diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:59:13 -0600 |
commit | 56160bf4dfe503631ef6373367b281f081bab2b4 (patch) | |
tree | 7fcea2ffd9c3420af999c3dcad0ed032eef93956 /kresources | |
parent | 13281e2856a2ef43bbab78c5528470309c23aa77 (diff) | |
download | tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.tar.gz tdelibs-56160bf4dfe503631ef6373367b281f081bab2b4.zip |
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 13281e2856a2ef43bbab78c5528470309c23aa77.
Diffstat (limited to 'kresources')
-rw-r--r-- | kresources/configdialog.cpp | 2 | ||||
-rw-r--r-- | kresources/configpage.cpp | 10 | ||||
-rw-r--r-- | kresources/kcmkresources.cpp | 2 | ||||
-rw-r--r-- | kresources/manager.h | 2 | ||||
-rw-r--r-- | kresources/resource.h | 2 | ||||
-rw-r--r-- | kresources/selectdialog.cpp | 4 |
6 files changed, 11 insertions, 11 deletions
diff --git a/kresources/configdialog.cpp b/kresources/configdialog.cpp index a78fb7c7f..bbebc47a3 100644 --- a/kresources/configdialog.cpp +++ b/kresources/configdialog.cpp @@ -27,7 +27,7 @@ #include <tqgroupbox.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <tqcheckbox.h> #include "factory.h" diff --git a/kresources/configpage.cpp b/kresources/configpage.cpp index 4aea559ff..fa098b105 100644 --- a/kresources/configpage.cpp +++ b/kresources/configpage.cpp @@ -23,7 +23,7 @@ #include <tqgroupbox.h> #include <tqlabel.h> -#include <layout.h> +#include <tqlayout.h> #include <kapplication.h> #include <kcombobox.h> @@ -106,9 +106,9 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name ) TQGroupBox *groupBox = new TQGroupBox( i18n( "Resources" ), this ); groupBox->setColumnLayout(0, Qt::Vertical ); - groupBox->layout()->setSpacing( 6 ); - groupBox->layout()->setMargin( 11 ); - TQGridLayout *groupBoxLayout = new TQGridLayout( groupBox->layout(), 2, 2 ); + groupBox->tqlayout()->setSpacing( 6 ); + groupBox->tqlayout()->setMargin( 11 ); + TQGridLayout *groupBoxLayout = new TQGridLayout( groupBox->tqlayout(), 2, 2 ); mFamilyCombo = new KComboBox( false, groupBox ); groupBoxLayout->addMultiCellWidget( mFamilyCombo, 0, 0, 0, 1 ); @@ -130,7 +130,7 @@ ConfigPage::ConfigPage( TQWidget *parent, const char *name ) mEditButton->setEnabled( false ); mStandardButton = buttonBox->addButton( i18n( "&Use as Standard" ), TQT_TQOBJECT(this), TQT_SLOT(slotStandard()) ); mStandardButton->setEnabled( false ); - buttonBox->layout(); + buttonBox->tqlayout(); groupBoxLayout->addWidget( buttonBox, 1, 1 ); diff --git a/kresources/kcmkresources.cpp b/kresources/kcmkresources.cpp index 722c604df..41fdb91fe 100644 --- a/kresources/kcmkresources.cpp +++ b/kresources/kcmkresources.cpp @@ -19,7 +19,7 @@ Boston, MA 02110-1301, USA. */ -#include <layout.h> +#include <tqlayout.h> #include <kaboutdata.h> #include <kgenericfactory.h> diff --git a/kresources/manager.h b/kresources/manager.h index ab1562716..c11ecaab5 100644 --- a/kresources/manager.h +++ b/kresources/manager.h @@ -335,7 +335,7 @@ class Manager : private ManagerNotifier ++it ) { TQString desc = mFactory->typeName( *it ); if ( !mFactory->typeDescription( *it ).isEmpty() ) - desc += TQString::fromLatin1(" (") + mFactory->typeDescription( *it ) + TQString::fromLatin1(")"); + desc += TQString::tqfromLatin1(" (") + mFactory->typeDescription( *it ) + TQString::tqfromLatin1(")"); typeDescs.append( desc ); } diff --git a/kresources/resource.h b/kresources/resource.h index cb9dadfc6..eec790bbe 100644 --- a/kresources/resource.h +++ b/kresources/resource.h @@ -144,7 +144,7 @@ class ResourceExampleConfig : public KRES::ResourceConfigWidget <B>resourceexampleconfig.cpp</B>: \code -#include <layout.h> +#include <tqlayout.h> #include <tqlabel.h> #include <kresources/resourceconfigwidget.h> #include "resourceexample.h" diff --git a/kresources/selectdialog.cpp b/kresources/selectdialog.cpp index 869775989..5ae9bdcea 100644 --- a/kresources/selectdialog.cpp +++ b/kresources/selectdialog.cpp @@ -27,7 +27,7 @@ #include <kmessagebox.h> #include <tqgroupbox.h> -#include <layout.h> +#include <tqlayout.h> #include "resource.h" @@ -66,7 +66,7 @@ SelectDialog::SelectDialog( TQPtrList<Resource> list, TQWidget *parent, // setup listbox uint counter = 0; for ( uint i = 0; i < list.count(); ++i ) { - Resource *resource = list.at( i ); + Resource *resource = list.tqat( i ); if ( resource && !resource->readOnly() ) { mResourceMap.insert( counter, resource ); mResourceId->insertItem( resource->resourceName() ); |