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> </widget>
<customwidgets> <customwidgets>
</customwidgets> </customwidgets>
<tqlayoutdefaults spacing="6" margin="2"/> <layoutdefaults spacing="6" margin="2"/>
<includehints> <includehints>
<includehint>knuminput.h</includehint> <includehint>knuminput.h</includehint>
</includehints> </includehints>

@ -311,7 +311,7 @@
</widget> </widget>
<customwidgets> <customwidgets>
</customwidgets> </customwidgets>
<tqlayoutdefaults spacing="6" margin="0"/> <layoutdefaults spacing="6" margin="0"/>
<includehints> <includehints>
<includehint>kcombobox.h</includehint> <includehint>kcombobox.h</includehint>
<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 ) ButtonFlowLayout::ButtonFlowLayout( TQLayout* parentLayout, int spacing, const char *name )
: TQLayout( tqparentLayout, spacing, name ), : TQLayout( parentLayout, spacing, name ),
cached_width(0) cached_width(0)
{ {
} }

@ -32,7 +32,7 @@ public:
ButtonFlowLayout( TQWidget *tqparent, int margin = 0, int spacing=-1, ButtonFlowLayout( TQWidget *tqparent, int margin = 0, int spacing=-1,
const char *name=0 ); 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 ); ButtonFlowLayout( int spacing=-1, const char *name=0 );

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

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

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

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

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

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

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

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

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

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

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

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

@ -92,7 +92,7 @@ class KRadioAboutWidget : public TQWidget
}; };
public: 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 void show( void );
virtual TQSize tqsizeHint( void ) const; virtual TQSize tqsizeHint( void ) const;

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

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

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

Loading…
Cancel
Save