Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent d9f7baa97d
commit 514b0c9f21

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout16</cstring>
<cstring>layout16</cstring>
</property>
<hbox>
<property name="name">
@ -113,7 +113,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">
@ -168,7 +168,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -193,7 +193,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">

@ -59,7 +59,7 @@
</spacer>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout58</cstring>
<cstring>layout58</cstring>
</property>
<grid>
<property name="name">

@ -57,7 +57,7 @@ AlsaSoundConfiguration::AlsaSoundConfiguration (TQWidget *parent, AlsaSoundDevic
m_groupMixer->setColumnLayout(0, Qt::Horizontal );
TQHBoxLayout *tmp_layout = new TQHBoxLayout( m_groupMixer->tqlayout() );
TQHBoxLayout *tmp_layout = new TQHBoxLayout( m_groupMixer->layout() );
m_groupMixerScrollView = new TQScrollView (m_groupMixer);
m_groupMixerScrollView->setFrameShape(TQFrame::NoFrame);

@ -31,26 +31,26 @@ DockingConfiguration::DockingConfiguration (RadioDocking *docking, TQWidget *par
m_docking(docking),
m_disableGUIUpdates(false)
{
TQHBoxLayout *tqlayout = new TQHBoxLayout();
TQHBoxLayout *tqlayout2 = new TQHBoxLayout();
TQHBoxLayout *layout = new TQHBoxLayout();
TQHBoxLayout *layout2 = new TQHBoxLayout();
m_labelClickMode = new TQLabel(this);
tqlayout->addWidget(m_labelClickMode);
layout->addWidget(m_labelClickMode);
m_comboClickMode = new TQComboBox(this);
tqlayout->addWidget(m_comboClickMode);
layout->addWidget(m_comboClickMode);
TQSpacerItem *spacer = new TQSpacerItem( 20, 2, TQSizePolicy::Expanding, TQSizePolicy::Minimum);
tqlayout->addItem(spacer);
layout->addItem(spacer);
TQFrame *line = new TQFrame(this);
line->setFrameShape ( TQFrame::HLine );
line->setFrameShadow( TQFrame::Sunken );
tqlayout2->addWidget(line);
layout2->addWidget(line);
StationSelectorUILayout->expand(2,0);
StationSelectorUILayout->addMultiCellLayout(tqlayout2, 2, 2, 0, 2);
StationSelectorUILayout->addMultiCellLayout(tqlayout, 3, 3, 0, 2);
StationSelectorUILayout->addMultiCellLayout(layout2, 2, 2, 0, 2);
StationSelectorUILayout->addMultiCellLayout(layout, 3, 3, 0, 2);
connect(m_comboClickMode, TQT_SIGNAL(activated( int )), this, TQT_SLOT(slotSetDirty()));

@ -1,7 +1,7 @@
/****************************************************************************
** $Id: buttonflowtqlayout.cpp 272 2005-05-18 08:12:51Z emw $
**
** Implementing your own tqlayout: flow example
** Implementing your own layout: flow example
**
** Copyright (C) 1996 by Trolltech AS. All rights reserved.
**
@ -133,7 +133,7 @@ void ButtonFlowLayout::setGeometry( const TQRect &r )
int ButtonFlowLayout::doLayout( const TQRect &r, bool testonly )
{
/* kdDebug() << "buttonflowtqlayout::doLayout ("
/* kdDebug() << "buttonflowlayout::doLayout ("
<< r.x() << "," << r.y() << ","
<< r.width() << "," << r.height() << ", " << testonly << ")\n";
*/

@ -1,7 +1,7 @@
/****************************************************************************
** $Id: buttonflowtqlayout.h 471 2006-11-11 17:04:51Z emw $
**
** Definition of simple flow tqlayout for custom tqlayout example
** Definition of simple flow layout for custom layout example
**
** Created : 979899
**

@ -381,7 +381,7 @@ void QuickBar::setGeometry (const TQRect &r)
void QuickBar::resizeEvent (TQResizeEvent *e)
{
// minimumSize might change because of the flow tqlayout
// minimumSize might change because of the flow layout
if (m_layout) {
TQSize marginSize(m_layout->margin()*2, m_layout->margin()*2);
setMinimumSize(m_layout->minimumSize(e->size() - marginSize) + marginSize);

@ -32,9 +32,9 @@ DisplayConfiguration::DisplayConfiguration(TQWidget *parent)
{
TQGroupBox *bg = new TQGroupBox(i18n("Display Colors"), this);
bg->setColumnLayout(0, Qt::Vertical );
bg->tqlayout()->setSpacing( 8 );
bg->tqlayout()->setMargin( 12 );
TQGridLayout *gl = new TQGridLayout (bg->tqlayout());
bg->layout()->setSpacing( 8 );
bg->layout()->setMargin( 12 );
TQGridLayout *gl = new TQGridLayout (bg->layout());
m_btnActive = new KColorButton(queryDisplayActiveColor(), bg);
m_btnInactive = new KColorButton(queryDisplayInactiveColor(), bg);

@ -36,7 +36,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout32</cstring>
<cstring>layout32</cstring>
</property>
<property name="margin" stdset="0">
<number>6</number>
@ -55,7 +55,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout22</cstring>
<cstring>layout22</cstring>
</property>
<vbox>
<property name="name">
@ -63,7 +63,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout9</cstring>
<cstring>layout9</cstring>
</property>
<hbox>
<property name="name">
@ -84,7 +84,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<vbox>
<property name="name">
@ -157,7 +157,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout21</cstring>
<cstring>layout21</cstring>
</property>
<hbox>
<property name="name">
@ -228,7 +228,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout18</cstring>
<cstring>layout18</cstring>
</property>
<vbox>
<property name="name">
@ -249,7 +249,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<vbox>
<property name="name">
@ -280,7 +280,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout32</cstring>
<cstring>layout32</cstring>
</property>
<vbox>
<property name="name">
@ -311,7 +311,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<vbox>
<property name="name">
@ -327,7 +327,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -377,7 +377,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">
@ -443,7 +443,7 @@
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout20</cstring>
<cstring>layout20</cstring>
</property>
<hbox>
<property name="name">
@ -494,7 +494,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout25</cstring>
<cstring>layout25</cstring>
</property>
<hbox>
<property name="name">
@ -550,7 +550,7 @@
</spacer>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>tqlayout21</cstring>
<cstring>layout21</cstring>
</property>
<grid>
<property name="name">
@ -579,7 +579,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout19</cstring>
<cstring>layout19</cstring>
</property>
<hbox>
<property name="name">

@ -42,7 +42,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<grid>
<property name="name">
@ -50,7 +50,7 @@
</property>
<widget class="TQLayoutWidget" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout3_2</cstring>
<cstring>layout3_2</cstring>
</property>
<hbox>
<property name="name">
@ -91,7 +91,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -247,7 +247,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout69</cstring>
<cstring>layout69</cstring>
</property>
<grid>
<property name="name">
@ -498,7 +498,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<grid>
<property name="name">
@ -588,7 +588,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout68</cstring>
<cstring>layout68</cstring>
</property>
<vbox>
<property name="name">
@ -596,7 +596,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -634,7 +634,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<hbox>
<property name="name">

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout48</cstring>
<cstring>layout48</cstring>
</property>
<grid>
<property name="name">
@ -124,7 +124,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="3">
<property name="name">
<cstring>tqlayout38_2</cstring>
<cstring>layout38_2</cstring>
</property>
<vbox>
<property name="name">
@ -275,7 +275,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout38</cstring>
<cstring>layout38</cstring>
</property>
<vbox>
<property name="name">

@ -18,7 +18,7 @@
</property>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout13</cstring>
<cstring>layout13</cstring>
</property>
<hbox>
<property name="name">
@ -87,7 +87,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout15</cstring>
<cstring>layout15</cstring>
</property>
<vbox>
<property name="name">
@ -95,7 +95,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout14</cstring>
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
@ -150,7 +150,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout17</cstring>
<cstring>layout17</cstring>
</property>
<vbox>
<property name="name">
@ -158,7 +158,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout28</cstring>
<cstring>layout28</cstring>
</property>
<hbox>
<property name="name">
@ -166,7 +166,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout27</cstring>
<cstring>layout27</cstring>
</property>
<vbox>
<property name="name">
@ -189,7 +189,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout28</cstring>
<cstring>layout28</cstring>
</property>
<vbox>
<property name="name">
@ -212,7 +212,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout29</cstring>
<cstring>layout29</cstring>
</property>
<vbox>
<property name="name">
@ -249,7 +249,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout16</cstring>
<cstring>layout16</cstring>
</property>
<grid>
<property name="name">
@ -348,7 +348,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout20</cstring>
<cstring>layout20</cstring>
</property>
<hbox>
<property name="name">

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout10</cstring>
<cstring>layout10</cstring>
</property>
<grid>
<property name="name">

@ -374,7 +374,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="2">
<property name="name">
<cstring>tqlayout37</cstring>
<cstring>layout37</cstring>
</property>
<hbox>
<property name="name">
@ -574,7 +574,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout35</cstring>
<cstring>layout35</cstring>
</property>
<vbox>
<property name="name">
@ -599,7 +599,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout34</cstring>
<cstring>layout34</cstring>
</property>
<hbox>
<property name="name">
@ -664,7 +664,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout35_2</cstring>
<cstring>layout35_2</cstring>
</property>
<vbox>
<property name="name">
@ -689,7 +689,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout34_2</cstring>
<cstring>layout34_2</cstring>
</property>
<hbox>
<property name="name">
@ -754,7 +754,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="2">
<property name="name">
<cstring>tqlayout35_2_2</cstring>
<cstring>layout35_2_2</cstring>
</property>
<vbox>
<property name="name">
@ -779,7 +779,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout34_2_3</cstring>
<cstring>layout34_2_3</cstring>
</property>
<hbox>
<property name="name">
@ -844,7 +844,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="3">
<property name="name">
<cstring>tqlayout51</cstring>
<cstring>layout51</cstring>
</property>
<vbox>
<property name="name">

@ -211,7 +211,7 @@ void KRadioAboutWidget::fontChange( const TQFont &/*oldFont*/ )
f.setBold( true );
mVersionLabel->setFont(f);
mAuthorLabel->setFont(f);
mVersionLabel->parentWidget()->tqlayout()->activate();
mVersionLabel->parentWidget()->layout()->activate();
}
update();
@ -279,7 +279,7 @@ KAboutContainer *KRadioAboutWidget::addContainerPage( const TQString &title,
{
if( mPageTab == 0 )
{
kdDebug(291) << "addPage: " << i18n("Invalid tqlayout") << endl;
kdDebug(291) << "addPage: " << i18n("Invalid layout") << endl;
return 0;
}
@ -309,7 +309,7 @@ KAboutContainer *KRadioAboutWidget::addScrolledContainerPage(
{
if( mPageTab == 0 )
{
kdDebug(291) << "addPage: " << "Invalid tqlayout" << endl;
kdDebug(291) << "addPage: " << "Invalid layout" << endl;
return 0;
}
@ -338,7 +338,7 @@ TQFrame *KRadioAboutWidget::addEmptyPage( const TQString &title )
{
if( mPageTab == 0 )
{
kdDebug(291) << "addPage: " << "Invalid tqlayout" << endl;
kdDebug(291) << "addPage: " << "Invalid layout" << endl;
return 0;
}
@ -376,7 +376,7 @@ void KRadioAboutWidget::setTitle( const TQString &title )
{
if( mTitleLabel == 0 )
{
kdDebug(291) << "setTitle: " << "Invalid tqlayout" << endl;
kdDebug(291) << "setTitle: " << "Invalid layout" << endl;
return;
}
mTitleLabel->setText(title);
@ -387,7 +387,7 @@ void KRadioAboutWidget::setImage( const TQString &fileName )
{
if( mImageLabel == 0 )
{
kdDebug(291) << "setImage: " << "Invalid tqlayout" << endl;
kdDebug(291) << "setImage: " << "Invalid layout" << endl;
return;
}
if( fileName.isNull() )
@ -402,7 +402,7 @@ void KRadioAboutWidget::setImage( const TQString &fileName )
pix = logo;
mImageLabel->setPixmap( pix );
}
mImageFrame->tqlayout()->activate();
mImageFrame->layout()->activate();
}
@ -441,7 +441,7 @@ void KRadioAboutWidget::setProduct( const TQString &appName,
{
if( mIconLabel == 0 )
{
kdDebug(291) << "setProduct: " << "Invalid tqlayout" << endl;
kdDebug(291) << "setProduct: " << "Invalid layout" << endl;
return;
}
@ -461,7 +461,7 @@ void KRadioAboutWidget::setProduct( const TQString &appName,
mAuthorLabel->hide();
}
mIconLabel->parentWidget()->tqlayout()->activate();
mIconLabel->parentWidget()->layout()->activate();
}

@ -295,7 +295,7 @@ TQFrame *PluginManager::addConfigurationPage (const ConfigPageInfo &info)
KGlobal::instance()->iconLoader()->loadIcon( info.iconName, KIcon::NoGroup, KIcon::SizeMedium )
);
// fill config frame with tqlayout ...
// fill config frame with layout ...
TQGridLayout *l = new TQGridLayout(f);
l->setSpacing( 0 );
l->setMargin( 0 );
@ -378,7 +378,7 @@ void PluginManager::addAboutPage (PluginBase *forWhom,
m_aboutPageFrames.insert(forWhom, f);
m_aboutPages.insert(forWhom, info.page);
// fill config frame with tqlayout ...
// fill config frame with layout ...
TQGridLayout *l = new TQGridLayout(f);
l->setSpacing( 0 );
l->setMargin( 0 );

@ -38,7 +38,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -90,7 +90,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

@ -48,7 +48,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<vbox>
<property name="name">

Loading…
Cancel
Save