Rename obsolete tq methods to standard names

pull/1/head
Timothy Pearson 13 years ago
parent c1e4925208
commit 7a46b333a6

@ -114,7 +114,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -152,7 +152,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -190,7 +190,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -322,7 +322,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@ -357,7 +357,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -392,7 +392,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -544,7 +544,7 @@
</spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@ -624,7 +624,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="1">
<property name="name">
<cstring>tqlayout15</cstring>
<cstring>layout15</cstring>
</property>
<grid>
<property name="name">

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -1133,7 +1133,7 @@
</spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -1342,7 +1342,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<grid>
<property name="name">

@ -38,17 +38,17 @@ KLC::KLC( TQWidget* parent, const char* name, WFlags fl )
setName( "KLC" );
KLCLayout = new TQGridLayout( this, 1, 1, 11, 6, "KLCLayout");
tqlayout1 = new TQHBoxLayout( 0, 0, 6, "tqlayout1");
layout1 = new TQHBoxLayout( 0, 0, 6, "layout1");
spacer1 = new TQSpacerItem( 371, 26, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
tqlayout1->addItem( spacer1 );
layout1->addItem( spacer1 );
pushApply = new TQPushButton( this, "pushApply" );
tqlayout1->addWidget( pushApply );
layout1->addWidget( pushApply );
pushClose = new TQPushButton( this, "pushClose" );
tqlayout1->addWidget( pushClose );
layout1->addWidget( pushClose );
KLCLayout->addMultiCellLayout( tqlayout1, 2, 2, 0, 1 );
KLCLayout->addMultiCellLayout( layout1, 2, 2, 0, 1 );
listDisabled = new TQListView( this, "listDisabled" );
listDisabled->addColumn( tr2i18n( "..." ) );

@ -21,7 +21,7 @@
</property>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

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

@ -644,7 +644,7 @@ void SQ_GLWidget::toClipboard()
// image doesn't have extra regions
if(tab->parts[tab->current].realw == tab->parts[tab->current].w && tab->parts[tab->current].realh == tab->parts[tab->current].h)
KApplication::tqclipboard()->setImage(im, TQClipboard::Clipboard);
KApplication::clipboard()->setImage(im, TQClipboard::Clipboard);
else
KApplication::tqclipboard()->setImage(im.copy(0, 0, tab->parts[tab->current].w, tab->parts[tab->current].h), TQClipboard::Clipboard);
}
@ -1774,5 +1774,5 @@ void SQ_GLWidget::copyURL()
if(!decoded || tab->broken)
return;
TQApplication::tqclipboard()->setText(tab->m_original.prettyURL());
TQApplication::clipboard()->setText(tab->m_original.prettyURL());
}

@ -114,7 +114,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -152,7 +152,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -190,7 +190,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
@ -322,7 +322,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="2">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">
@ -357,7 +357,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="1">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -392,7 +392,7 @@
</widget>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -544,7 +544,7 @@
</spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">
@ -624,7 +624,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="1">
<property name="name">
<cstring>tqlayout15</cstring>
<cstring>layout15</cstring>
</property>
<grid>
<property name="name">

@ -1133,7 +1133,7 @@
</spacer>
<widget class="TQLayoutWidget" row="5" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -1342,7 +1342,7 @@
</spacer>
<widget class="TQLayoutWidget" row="2" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<grid>
<property name="name">

@ -422,7 +422,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -430,7 +430,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
@ -629,7 +629,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@ -789,7 +789,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -192,7 +192,7 @@ void SQ_ImageProperties::slotContextMenu( TQListViewItem *item, const TQPoint &p
void SQ_ImageProperties::slotCopyString()
{
TQApplication::tqclipboard()->setText(data->text(z), TQClipboard::Clipboard);
TQApplication::clipboard()->setText(data->text(z), TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotCopyAll()
@ -208,7 +208,7 @@ void SQ_ImageProperties::slotCopyAll()
app.append(item->text(0) + "\n" + item->text(1) + "\n");
}
TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard);
TQApplication::clipboard()->setText(app, TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotCopyEntry()
@ -218,7 +218,7 @@ void SQ_ImageProperties::slotCopyEntry()
TQString app = data->text(0) + "\n" + data->text(1) + "\n";
TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard);
TQApplication::clipboard()->setText(app, TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotModeClicked(int id)

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

@ -419,7 +419,7 @@ void SQ_DirOperator::slotCopyPath()
KFileItem *f = fileview->currentFileItem();
if(f)
TQApplication::tqclipboard()->setText(f->url().path());
TQApplication::clipboard()->setText(f->url().path());
}
void SQ_DirOperator::slotCopyURL()
@ -427,7 +427,7 @@ void SQ_DirOperator::slotCopyURL()
KFileItem *f = fileview->currentFileItem();
if(f)
TQApplication::tqclipboard()->setText(f->url().prettyURL());
TQApplication::clipboard()->setText(f->url().prettyURL());
}
void SQ_DirOperator::slotEditMime()

@ -171,7 +171,7 @@
</spacer>
<widget class="TQLayoutWidget" row="0" column="3">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">

@ -90,7 +90,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="3">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<vbox>
<property name="name">
@ -262,7 +262,7 @@
</spacer>
<widget class="TQLayoutWidget" row="0" column="0" rowspan="2" colspan="3">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<grid>
<property name="name">

@ -644,7 +644,7 @@ void SQ_GLWidget::toClipboard()
// image doesn't have extra regions
if(tab->parts[tab->current].realw == tab->parts[tab->current].w && tab->parts[tab->current].realh == tab->parts[tab->current].h)
KApplication::tqclipboard()->setImage(im, TQClipboard::Clipboard);
KApplication::clipboard()->setImage(im, TQClipboard::Clipboard);
else
KApplication::tqclipboard()->setImage(im.copy(0, 0, tab->parts[tab->current].w, tab->parts[tab->current].h), TQClipboard::Clipboard);
}
@ -1774,5 +1774,5 @@ void SQ_GLWidget::copyURL()
if(!decoded || tab->broken)
return;
TQApplication::tqclipboard()->setText(tab->m_original.prettyURL());
TQApplication::clipboard()->setText(tab->m_original.prettyURL());
}

@ -422,7 +422,7 @@
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -430,7 +430,7 @@
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
@ -629,7 +629,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<vbox>
<property name="name">
@ -789,7 +789,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -192,7 +192,7 @@ void SQ_ImageProperties::slotContextMenu( TQListViewItem *item, const TQPoint &p
void SQ_ImageProperties::slotCopyString()
{
TQApplication::tqclipboard()->setText(data->text(z), TQClipboard::Clipboard);
TQApplication::clipboard()->setText(data->text(z), TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotCopyAll()
@ -208,7 +208,7 @@ void SQ_ImageProperties::slotCopyAll()
app.append(item->text(0) + "\n" + item->text(1) + "\n");
}
TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard);
TQApplication::clipboard()->setText(app, TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotCopyEntry()
@ -218,7 +218,7 @@ void SQ_ImageProperties::slotCopyEntry()
TQString app = data->text(0) + "\n" + data->text(1) + "\n";
TQApplication::tqclipboard()->setText(app, TQClipboard::Clipboard);
TQApplication::clipboard()->setText(app, TQClipboard::Clipboard);
}
void SQ_ImageProperties::slotModeClicked(int id)

@ -61,7 +61,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout5</cstring>
<cstring>layout5</cstring>
</property>
<hbox>
<property name="name">
@ -872,7 +872,7 @@
</widget>
<widget class="TQLayoutWidget" row="2" column="0">
<property name="name">
<cstring>tqlayout8</cstring>
<cstring>layout8</cstring>
</property>
<hbox>
<property name="name">

@ -126,7 +126,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<grid>
<property name="name">
@ -195,7 +195,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">

@ -24,7 +24,7 @@
</property>
<widget class="TQLayoutWidget" row="1" column="0">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
@ -350,7 +350,7 @@
</widget>
<widget class="TQLayoutWidget" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">

@ -138,7 +138,7 @@
</widget>
<widget class="TQLayoutWidget" row="7" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>tqlayout1</cstring>
<cstring>layout1</cstring>
</property>
<hbox>
<property name="name">

@ -96,7 +96,7 @@
</widget>
<widget class="TQLayoutWidget" row="3" column="0">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

Loading…
Cancel
Save