Remove the tq in front of these incorrectly TQt4-converted methods/data members:

tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kradio@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent acf0d83414
commit fdd75d8077

@ -263,7 +263,7 @@
</widget>
<customwidgets>
</customwidgets>
<tqlayoutdefaults spacing="6" margin="2"/>
<layoutdefaults spacing="6" margin="2"/>
<includehints>
<includehint>knuminput.h</includehint>
</includehints>

@ -311,7 +311,7 @@
</widget>
<customwidgets>
</customwidgets>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>kcombobox.h</includehint>
<includehint>kcombobox.h</includehint>

@ -63,8 +63,8 @@ ButtonFlowLayout::ButtonFlowLayout( TQWidget *tqparent, int margin, int spacing,
{
}
ButtonFlowLayout::ButtonFlowLayout( TQLayout* tqparentLayout, int spacing, const char *name )
: TQLayout( tqparentLayout, spacing, name ),
ButtonFlowLayout::ButtonFlowLayout( TQLayout* parentLayout, int spacing, const char *name )
: TQLayout( parentLayout, spacing, name ),
cached_width(0)
{
}

@ -32,7 +32,7 @@ public:
ButtonFlowLayout( TQWidget *tqparent, int margin = 0, int spacing=-1,
const char *name=0 );
ButtonFlowLayout( TQLayout* tqparentLayout, int spacing=-1, const char *name=0 );
ButtonFlowLayout( TQLayout* parentLayout, int spacing=-1, const char *name=0 );
ButtonFlowLayout( int spacing=-1, const char *name=0 );

@ -182,9 +182,9 @@ bool RadioViewFrequencyRadio::setDisplayColors(const TQColor &activeText,
pl.setActive(ncg);
setPalette(pl);
if (tqparentWidget() && tqparentWidget()->backgroundPixmap() ){
if (parentWidget() && parentWidget()->backgroundPixmap() ){
KPixmapIO io;
TQImage i = io.convertToImage(*tqparentWidget()->backgroundPixmap());
TQImage i = io.convertToImage(*parentWidget()->backgroundPixmap());
KImageEffect::fade(i, 0.5, tqcolorGroup().color(TQColorGroup::Dark));
setPaletteBackgroundPixmap(io.convertToPixmap(i));
setBackgroundOrigin(WindowOrigin);

@ -163,5 +163,5 @@
<function>destroy()</function>
</functions>
<pixmapfunction>SmallIconSet</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -103,7 +103,7 @@
<customwidgets>
</customwidgets>
<pixmapfunction>SmallIconSet</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>klistview.h</includehint>
</includehints>

@ -119,7 +119,7 @@
</widget>
<customwidgets>
</customwidgets>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>

@ -764,7 +764,7 @@
<include location="global" impldecl="in implementation">src/include/radiostation-listview.h</include>
</includes>
<pixmapfunction>SmallIconSet</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>src/include/radiostation-listview.h</includehint>
<includehint>kurlrequester.h</includehint>

@ -716,7 +716,7 @@
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>

@ -220,9 +220,9 @@ bool RecordingDataMonitor::setColors(const TQColor &activeText,
pl.setActive(ncg);
setPalette(pl);
if (tqparentWidget() && tqparentWidget()->backgroundPixmap() ){
if (parentWidget() && parentWidget()->backgroundPixmap() ){
KPixmapIO io;
TQImage i = io.convertToImage(*tqparentWidget()->backgroundPixmap());
TQImage i = io.convertToImage(*parentWidget()->backgroundPixmap());
KImageEffect::fade(i, 0.5, tqcolorGroup().color(TQColorGroup::Dark));
setPaletteBackgroundPixmap(io.convertToPixmap(i));
setBackgroundOrigin(WindowOrigin);

@ -762,7 +762,7 @@
<include location="global" impldecl="in implementation">kiconloader.h</include>
</includes>
<pixmapfunction>SmallIconSet</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>klistview.h</includehint>
<includehint>klistview.h</includehint>

@ -445,7 +445,7 @@
<include location="global" impldecl="in implementation">kiconloader.h</include>
</includes>
<pixmapfunction>SmallIcon</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>klistbox.h</includehint>
</includehints>

@ -221,5 +221,5 @@
<include location="global" impldecl="in implementation">knuminput.h</include>
</includes>
<pixmapfunction>SmallIconSet</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
</UI>

@ -951,7 +951,7 @@
<include location="global" impldecl="in implementation">knuminput.h</include>
</includes>
<pixmapfunction>SmallIconSet</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>ktabwidget.h</includehint>
<includehint>knuminput.h</includehint>

@ -54,7 +54,7 @@ public:
// copied (renamed and extended) from kaboutdialog.cpp
// original: KAboutContainerBase
KRadioAboutWidget::KRadioAboutWidget(const KAboutData &aboutData, int tqlayoutType, TQWidget *_parent,
KRadioAboutWidget::KRadioAboutWidget(const KAboutData &aboutData, int layoutType, TQWidget *_parent,
char *_name )
: TQWidget( _parent, _name ),
mImageLabel(0), mTitleLabel(0), mIconLabel(0),mVersionLabel(0),
@ -63,16 +63,16 @@ KRadioAboutWidget::KRadioAboutWidget(const KAboutData &aboutData, int tqlayoutTy
mTopLayout = new TQVBoxLayout( this, 0, KDialog::spacingHint() );
if( mTopLayout == 0 ) { return; }
if( tqlayoutType & AbtImageOnly )
if( layoutType & AbtImageOnly )
{
tqlayoutType &= ~(AbtImageLeft|AbtImageRight|AbtTabbed|AbtPlain);
layoutType &= ~(AbtImageLeft|AbtImageRight|AbtTabbed|AbtPlain);
}
if( tqlayoutType & AbtImageLeft )
if( layoutType & AbtImageLeft )
{
tqlayoutType &= ~AbtImageRight;
layoutType &= ~AbtImageRight;
}
if( tqlayoutType & AbtTitle )
if( layoutType & AbtTitle )
{
mTitleLabel = new TQLabel( this, "title" );
mTitleLabel->tqsetAlignment(AlignCenter);
@ -80,7 +80,7 @@ KRadioAboutWidget::KRadioAboutWidget(const KAboutData &aboutData, int tqlayoutTy
mTopLayout->addSpacing( KDialog::spacingHint() );
}
if( tqlayoutType & AbtProduct )
if( layoutType & AbtProduct )
{
TQWidget *productArea = new TQWidget( this, "area" );
mTopLayout->addWidget( productArea, 0, AlignLeft );
@ -108,7 +108,7 @@ KRadioAboutWidget::KRadioAboutWidget(const KAboutData &aboutData, int tqlayoutTy
if( hbox == 0 ) { return; }
mTopLayout->addLayout( hbox, 10 );
if( tqlayoutType & AbtImageLeft )
if( layoutType & AbtImageLeft )
{
TQVBoxLayout *vbox = new TQVBoxLayout();
hbox->addLayout(vbox);
@ -128,13 +128,13 @@ KRadioAboutWidget::KRadioAboutWidget(const KAboutData &aboutData, int tqlayoutTy
vbox->activate();
}
if( tqlayoutType & AbtTabbed )
if( layoutType & AbtTabbed )
{
mPageTab = new KRadioAboutTabWidget( this );
if( mPageTab == 0 ) { return; }
hbox->addWidget( mPageTab, 10 );
}
else if( tqlayoutType & AbtImageOnly )
else if( layoutType & AbtImageOnly )
{
mImageFrame = new TQFrame( this );
setImageFrame( true );
@ -159,7 +159,7 @@ KRadioAboutWidget::KRadioAboutWidget(const KAboutData &aboutData, int tqlayoutTy
hbox->addWidget( mPlainSpace, 10 );
}
if( tqlayoutType & AbtImageRight )
if( layoutType & AbtImageRight )
{
TQVBoxLayout *vbox = new TQVBoxLayout();
hbox->addLayout(vbox);
@ -211,7 +211,7 @@ void KRadioAboutWidget::fontChange( const TQFont &/*oldFont*/ )
f.setBold( true );
mVersionLabel->setFont(f);
mAuthorLabel->setFont(f);
mVersionLabel->tqparentWidget()->tqlayout()->activate();
mVersionLabel->parentWidget()->tqlayout()->activate();
}
update();
@ -461,7 +461,7 @@ void KRadioAboutWidget::setProduct( const TQString &appName,
mAuthorLabel->hide();
}
mIconLabel->tqparentWidget()->tqlayout()->activate();
mIconLabel->parentWidget()->tqlayout()->activate();
}

@ -92,7 +92,7 @@ class KRadioAboutWidget : public TQWidget
};
public:
KRadioAboutWidget(const KAboutData &abtData, int tqlayoutType, TQWidget *tqparent = 0, char *name = 0);
KRadioAboutWidget(const KAboutData &abtData, int layoutType, TQWidget *tqparent = 0, char *name = 0);
virtual void show( void );
virtual TQSize tqsizeHint( void ) const;

@ -380,7 +380,7 @@
<include location="global" impldecl="in implementation">kiconloader.h</include>
</includes>
<pixmapfunction>SmallIconSet</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="0"/>
<layoutdefaults spacing="6" margin="0"/>
<includehints>
<includehint>klistview.h</includehint>
<includehint>kpushbutton.h</includehint>

@ -132,5 +132,5 @@
</variables>
<Q_SLOTS>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -165,7 +165,7 @@
<include location="global" impldecl="in implementation">kiconloader.h</include>
</includes>
<pixmapfunction>SmallIconSet</pixmapfunction>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>radiostation-listview.h</includehint>
<includehint>kpushbutton.h</includehint>

Loading…
Cancel
Save