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/kdemultimedia@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent f949c4652e
commit 914b4db5c9

@ -13,9 +13,9 @@
<height>484</height>
</rect>
</property>
<property name="tqlayoutMargin" stdset="0">
<property name="layoutMargin" stdset="0">
</property>
<property name="tqlayoutSpacing" stdset="0">
<property name="layoutSpacing" stdset="0">
</property>
<vbox>
<property name="name">
@ -37,7 +37,7 @@
<property name="frameShadow">
<enum>Plain</enum>
</property>
<property name="tqlayoutMargin" stdset="0">
<property name="layoutMargin" stdset="0">
</property>
<vbox>
<property name="name">
@ -63,7 +63,7 @@
<property name="name">
<cstring>spacerLayout</cstring>
</property>
<property name="tqlayoutMargin" stdset="0">
<property name="layoutMargin" stdset="0">
</property>
<vbox>
<property name="name">
@ -358,5 +358,5 @@
<Q_SLOTS>
<slot access="protected">setTitleFont()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -94,7 +94,7 @@ module Arts {
};
/**
Some tqalignmentflags used by various widgets.
Some alignmentflags used by various widgets.
Taken from Qt. (akrille)
*/
enum Align {
@ -117,7 +117,7 @@ module Arts {
/** The LayoutBox. - Arrange your widgets vertical or horizontal.
Usage is quite simple: Add the widgets you have in the right order
to the tqlayoutbox by calling addWidget().
to the layoutbox by calling addWidget().
Thats it, no ._addChild or .tqparent with this widget.
For more information see QBoxLayout.
@ -156,7 +156,7 @@ module Arts {
/// The spacing between all widgets.
attribute long spacing;
/// The margin at the outsideborder.
attribute long tqlayoutmargin;
attribute long layoutmargin;
};
/** IMHO (akrille) this should be removed and everywhere replaced with the LayoutBox... */

@ -41,14 +41,14 @@ KLayoutBox_impl::~KLayoutBox_impl() {
void KLayoutBox_impl::addWidget( Arts::Widget widget, long stretch, long align ) {
widget.tqparent( self() );
this->_addChild( widget, "tqlayoutbox_item" );
this->_addChild( widget, "layoutbox_item" );
TQWidget * tmp = KWidgetRepo::the()->lookupTQWidget( widget.widgetID() );
_layout->addWidget( tmp, stretch, align );
}
void KLayoutBox_impl::insertWidget( long index, Arts::Widget widget, long stretch, long align ) {
widget.tqparent( self() );
this->_addChild( widget, "tqlayoutbox_item" );
this->_addChild( widget, "layoutbox_item" );
TQWidget * tmp = KWidgetRepo::the()->lookupTQWidget( widget.widgetID() );
_layout->insertWidget( index, tmp, stretch, align );
}
@ -66,8 +66,8 @@ void KLayoutBox_impl::addLine( long width, long space, long stretch, long align
long KLayoutBox_impl::spacing() { return _layout->spacing(); }
void KLayoutBox_impl::spacing( long n ) { _layout->setSpacing( n ); }
long KLayoutBox_impl::tqlayoutmargin() { return _layout->margin(); }
void KLayoutBox_impl::tqlayoutmargin( long n ) { _layout->setMargin( n ); this->margin( n ); }
long KLayoutBox_impl::layoutmargin() { return _layout->margin(); }
void KLayoutBox_impl::layoutmargin( long n ) { _layout->setMargin( n ); this->margin( n ); }
Direction KLayoutBox_impl::direction() { return Arts::Direction( _layout->direction() ); }
void KLayoutBox_impl::direction( Direction d ) { _layout->setDirection( TQBoxLayout::Direction( d ) ); }

@ -72,8 +72,8 @@ public:
long spacing();
void spacing( long );
long tqlayoutmargin();
void tqlayoutmargin( long );
long layoutmargin();
void layoutmargin( long );
}; // class
} // namespace

@ -64,11 +64,11 @@ struct KPoti::KPotiPrivate
// create tqmask
TQBitmap tqmask( bgdb.size(), true );
TQPainter tqmaskpainter( &tqmask );
tqmaskpainter.setPen( TQt::NoPen );
tqmaskpainter.setBrush( TQt::color1 );
tqmaskpainter.drawEllipse( drawRect );
tqmaskpainter.end();
TQPainter maskpainter( &tqmask );
maskpainter.setPen( TQt::NoPen );
maskpainter.setBrush( TQt::color1 );
maskpainter.drawEllipse( drawRect );
maskpainter.end();
bgdb.setMask( tqmask );
// inset shadow
@ -104,11 +104,11 @@ struct KPoti::KPotiPrivate
// create tqmask
TQBitmap tqmask( potidb.size(), true );
TQPainter tqmaskpainter( &tqmask );
tqmaskpainter.setPen( TQt::NoPen );
tqmaskpainter.setBrush( TQt::color1 );
tqmaskpainter.drawEllipse( drawRect );
tqmaskpainter.end();
TQPainter maskpainter( &tqmask );
maskpainter.setPen( TQt::NoPen );
maskpainter.setBrush( TQt::color1 );
maskpainter.drawEllipse( drawRect );
maskpainter.end();
potidb.setMask( tqmask );
KPixmap gradient( potidb.size() );

@ -110,7 +110,7 @@ public:
Arts::LayoutBox hbox;
hbox.direction( Arts::LeftToRight );
hbox.tqlayoutmargin( 5 ); hbox.spacing( 5 );
hbox.layoutmargin( 5 ); hbox.spacing( 5 );
Arts::Poti lowgain; lowgain.caption( i18n( "Low Gain" ).utf8().data() );
lowgain.min( -24 ); lowgain.max( 24 );

@ -47,7 +47,7 @@ KStereoVolumeControlGui_impl::KStereoVolumeControlGui_impl( TQFrame* w ) : KLayo
this->dbmax( 6 );
_left.framestyle( Arts::Raised|Arts::Panel ); _left.linewidth( 4 );
_right.framestyle( Arts::Raised|Arts::Panel ); _right.linewidth( 4 );
this->tqlayoutmargin( 1 ); this->linewidth( 1 ); this->framestyle( Arts::Panel|Arts::Raised );
this->layoutmargin( 1 ); this->linewidth( 1 ); this->framestyle( Arts::Panel|Arts::Raised );
}
void KStereoVolumeControlGui_impl::constructor( Arts::StereoVolumeControl svc ) {

@ -85,7 +85,7 @@ public:
connect( bon, "pressed_changed", comp, "thru" );
LayoutBox hbox;
hbox.direction( LeftToRight ); hbox.tqlayoutmargin( 5 ); hbox.spacing( 5 );
hbox.direction( LeftToRight ); hbox.layoutmargin( 5 ); hbox.spacing( 5 );
PopupBox timesbox;
timesbox.name( "Timings" ); timesbox.direction( LeftToRight );
LayoutBox times;

@ -189,7 +189,7 @@ module Arts {
// Position: how the port is positioned when the structure is used
// as module - 0 is leftmost, higher numbers are more right
readonly attribute long x, y, position;
readonly attribute StructureDesc tqparentStructure;
readonly attribute StructureDesc parentStructure;
// if the port is associated with an inherited interface of the
// tqparent structure, then it should be setup here

@ -169,7 +169,7 @@ public:
void inheritedInterface(const string& iface);
void internalSetPosition(long position);
StructureDesc tqparentStructure();
StructureDesc parentStructure();
bool moveTo( long X, long Y );
void loadFromList(const vector<string>& list);
@ -1202,7 +1202,7 @@ void StructurePortDesc_impl::internalSetPosition(long position)
_position = position;
}
StructureDesc StructurePortDesc_impl::tqparentStructure()
StructureDesc StructurePortDesc_impl::parentStructure()
{
return _parentStructure;
}

@ -64,9 +64,9 @@
<property name="lineWidth">
<number>0</number>
</property>
<property name="tqlayoutMargin" stdset="0">
<property name="layoutMargin" stdset="0">
</property>
<property name="tqlayoutSpacing" stdset="0">
<property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@ -147,5 +147,5 @@
</widget>
</grid>
</widget>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -64,9 +64,9 @@
<property name="lineWidth">
<number>0</number>
</property>
<property name="tqlayoutMargin" stdset="0">
<property name="layoutMargin" stdset="0">
</property>
<property name="tqlayoutSpacing" stdset="0">
<property name="layoutSpacing" stdset="0">
</property>
<grid>
<property name="name">
@ -131,5 +131,5 @@
</widget>
</grid>
</widget>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -84,7 +84,7 @@ Spaces
================================================================================
Spaces should not be used between the conditional / loop type and the
conditional statement. They should also not be used after tqparenthesis. However
conditional statement. They should also not be used after parenthesis. However
the should be to mark of mathematical or comparative operators.
if ( foo == bar )

@ -198,7 +198,7 @@
<slot>slotArtistClicked(TQListViewItem *item)</slot>
<slot>slotContextRequested(TQIconViewItem *, const TQPoint &amp;pt)</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<forwards>
<forward>class TQIconViewItem;</forward>
</forwards>

@ -225,9 +225,9 @@ void CoverInfo::popup() const
TQString CoverInfo::coverLocation(CoverSize size) const
{
TQString fileName(TQFile::encodeName(m_file.tag()->artist() + " - " + m_file.tag()->album()));
TQRegExp tqmaskedFileNameChars("[ /?:\"]");
TQRegExp maskedFileNameChars("[ /?:\"]");
fileName.tqreplace(tqmaskedFileNameChars, "_");
fileName.tqreplace(maskedFileNameChars, "_");
fileName.append(".png");
TQString dataDir = KGlobal::dirs()->saveLocation("appdata");

@ -136,7 +136,7 @@
<Q_SLOTS>
<slot access="protected">slotShouldDelete(bool)</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klistbox.h</includehint>
</includehints>

@ -102,8 +102,8 @@
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<tqlayoutdefaults spacing="6" margin="0"/>
<tqlayoutfunctions spacing="KDialog::spacingHint"/>
<layoutdefaults spacing="6" margin="0"/>
<layoutfunctions spacing="KDialog::spacingHint"/>
<includehints>
<includehint>klistview.h</includehint>
<includehint>kpushbutton.h</includehint>

@ -276,7 +276,7 @@
<slot access="protected">exampleDataChanged()</slot>
<slot access="protected">exampleFileChanged()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>

@ -365,7 +365,7 @@
<slot access="protected">toggleExampleDialog()</slot>
<slot access="protected">insertCategory()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kcombobox.h</includehint>
<includehint>klineedit.h</includehint>

@ -418,7 +418,7 @@
<slot access="protected">slotTrackWidthChanged()</slot>
<slot access="protected">slotEmptyActionChanged()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
</includehints>

@ -230,15 +230,15 @@ void PlaylistBox::setupPlaylist(Playlist *playlist, const TQString &iconName)
setupPlaylist(playlist, iconName, 0);
}
void PlaylistBox::setupPlaylist(Playlist *playlist, const TQString &iconName, Item *tqparentItem)
void PlaylistBox::setupPlaylist(Playlist *playlist, const TQString &iconName, Item *parentItem)
{
connect(playlist, TQT_SIGNAL(signalPlaylistItemsDropped(Playlist *)),
TQT_SLOT(slotPlaylistItemsDropped(Playlist *)));
PlaylistCollection::setupPlaylist(playlist, iconName);
if(tqparentItem)
new Item(tqparentItem, iconName, playlist->name(), playlist);
if(parentItem)
new Item(parentItem, iconName, playlist->name(), playlist);
else
new Item(this, iconName, playlist->name(), playlist);
}

@ -66,7 +66,7 @@ public:
Item *dropItem() const { return m_dropItem; }
void setupPlaylist(Playlist *playlist, const TQString &iconName, Item *tqparentItem = 0);
void setupPlaylist(Playlist *playlist, const TQString &iconName, Item *parentItem = 0);
public slots:
void paste();

@ -54,7 +54,7 @@ public:
TQLabel(text, tqparent, name)
{
m_textColor = paletteForegroundColor();
m_bgColor = tqparentWidget()->paletteBackgroundColor();
m_bgColor = parentWidget()->paletteBackgroundColor();
setBackgroundMode(NoBackground);
}

@ -73,7 +73,7 @@ public:
protected:
virtual void maybeTip(const TQPoint &)
{
tip(tqparentWidget()->rect(), m_editor->items().first()->file().absFilePath());
tip(parentWidget()->rect(), m_editor->items().first()->file().absFilePath());
}
private:
TagEditor *m_editor;
@ -85,8 +85,8 @@ public:
FixedHLayout(TQWidget *tqparent, int margin = 0, int spacing = -1, const char *name = 0) :
TQHBoxLayout(tqparent, margin, spacing, name),
m_width(-1) {}
FixedHLayout(TQLayout *tqparentLayout, int spacing = -1, const char *name = 0) :
TQHBoxLayout(tqparentLayout, spacing, name),
FixedHLayout(TQLayout *parentLayout, int spacing = -1, const char *name = 0) :
TQHBoxLayout(parentLayout, spacing, name),
m_width(-1) {}
void setWidth(int w = -1)
{

@ -148,8 +148,8 @@ Note that the order in which the schemes appear in the list is relevant, since t
<includes>
<include location="global" impldecl="in implementation">kdialog.h</include>
</includes>
<tqlayoutdefaults spacing="6" margin="0"/>
<tqlayoutfunctions spacing="KDialog::spacingHint"/>
<layoutdefaults spacing="6" margin="0"/>
<layoutfunctions spacing="KDialog::spacingHint"/>
<includehints>
<includehint>klistview.h</includehint>
<includehint>kpushbutton.h</includehint>

@ -172,7 +172,7 @@
<tabstops>
<tabstop>trackList</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klistview.h</includehint>
</includehints>

@ -208,7 +208,7 @@ void UpcomingPlaylist::UpcomingSequenceIterator::setCurrent(PlaylistItem *curren
}
// If the upcoming playlist is playing something, clear it out since
// aptqparently the user didn't want to hear it.
// apparently the user didn't want to hear it.
PlaylistItem *playingItem = m_playlist->playingItem();
if(playingItem && playingItem->playlist() == m_playlist && currentItem != playingItem)

@ -57,5 +57,5 @@
<Q_SLOTS>
<slot access="protected" specifier="non virtual">configureAudioCD()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -335,7 +335,7 @@
<tabstop>encodeButton</tabstop>
<tabstop>closeButton</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kdialog.h</includehint>
<includehint>kurlrequester.h</includehint>

@ -289,5 +289,5 @@
<Q_SLOTS>
<slot>encoderWizard()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -94,5 +94,5 @@
<tabstop>kcfg_commandLine</tabstop>
<tabstop>kcfg_extension</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -99,5 +99,5 @@
<slot>accept()</slot>
</connection>
</connections>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -281,5 +281,5 @@
<Q_SLOTS>
<slot access="protected" specifier="non virtual">updateExample()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -293,5 +293,5 @@
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -128,5 +128,5 @@
<tabstop>removeAll</tabstop>
<tabstop>removeSelected</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -182,7 +182,7 @@
<tabstop>kcfg_autoEjectAfterRip</tabstop>
<tabstop>kcfg_autoEjectDelay</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kurlrequester.h</includehint>
<includehint>klineedit.h</includehint>

@ -217,7 +217,7 @@
<tabstop>selectAllTracksButton</tabstop>
<tabstop>deselectAllTracksButton</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kcombobox.h</includehint>
<includehint>klineedit.h</includehint>

@ -406,5 +406,5 @@
<slot>commentPressed()</slot>
<slot>fileFormatTextChanged( const TQString &amp; text )</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -12,9 +12,9 @@
<height>563</height>
</rect>
</property>
<property name="tqlayoutMargin" stdset="0">
<property name="layoutMargin" stdset="0">
</property>
<property name="tqlayoutSpacing" stdset="0">
<property name="layoutSpacing" stdset="0">
</property>
<vbox>
<property name="name">
@ -38,9 +38,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqlayoutMargin" stdset="0">
<property name="layoutMargin" stdset="0">
</property>
<property name="tqlayoutSpacing" stdset="0">
<property name="layoutSpacing" stdset="0">
</property>
<widget class="TQWidget">
<property name="name">
@ -621,7 +621,7 @@
<Q_SLOTS>
<slot>toggleLowpass()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klineedit.h</includehint>
</includehints>

@ -926,5 +926,5 @@
<tabstop>kcfg_set_hpf_width</tabstop>
<tabstop>kcfg_highfilterwidth</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -417,7 +417,7 @@
<tabstop>kcfg_vorbis_quality</tabstop>
<tabstop>kcfg_vorbis_comments</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>

@ -37,11 +37,11 @@ KMidFactory::~KMidFactory()
s_instance = 0;
}
KParts::Part *KMidFactory::createPartObject(TQWidget *tqparentWidget, const char *widgetName,
KParts::Part *KMidFactory::createPartObject(TQWidget *parentWidget, const char *widgetName,
TQObject *tqparent, const char *name, const char*,
const TQStringList& )
{
KParts::Part *obj = new KMidPart(tqparentWidget, widgetName, tqparent, name);
KParts::Part *obj = new KMidPart(parentWidget, widgetName, tqparent, name);
return obj;
}
@ -65,13 +65,13 @@ KInstance *KMidFactory::instance()
return s_instance;
}
KMidPart::KMidPart(TQWidget *tqparentWidget, const char *widgetName,
KMidPart::KMidPart(TQWidget *parentWidget, const char *widgetName,
TQObject *tqparent, const char *name)
: KParts::ReadOnlyPart(tqparent, name)
{
setInstance(KMidFactory::instance());
widget = new kmidClient(tqparentWidget, actionCollection());
widget = new kmidClient(parentWidget, actionCollection());
widget->show();
widget->setFocusPolicy(TQ_ClickFocus);
setWidget(widget);

@ -17,7 +17,7 @@ class KDE_EXPORT KMidFactory : public KParts::Factory
KMidFactory();
virtual ~KMidFactory();
virtual KParts::Part* createPartObject(TQWidget *tqparentWidget, const char *widgetName,
virtual KParts::Part* createPartObject(TQWidget *parentWidget, const char *widgetName,
TQObject* tqparent = 0, const char* name = 0,
const char* classname = TQOBJECT_OBJECT_NAME_STRING,
const TQStringList &args = TQStringList());
@ -34,7 +34,7 @@ class KMidPart: public KParts::ReadOnlyPart
Q_OBJECT
TQ_OBJECT
public:
KMidPart(TQWidget *tqparentWidget, const char *widgetName,
KMidPart(TQWidget *parentWidget, const char *widgetName,
TQObject *tqparent, const char *name);
virtual ~KMidPart();

@ -1374,7 +1374,7 @@ void kmidClient::visibleChannelView(int i)
}
channelView->show();
connect(channelView,TQT_SIGNAL(signalToKMidClient(int *)),this,TQT_SLOT(communicationFromChannelView(int *)));
connect(kapp,TQT_SIGNAL(shutDown()),tqparentWidget(),TQT_SLOT(shuttingDown()));
connect(kapp,TQT_SIGNAL(shutDown()),parentWidget(),TQT_SLOT(shuttingDown()));
}
else if ((channelView!=NULL)&&(i==0))

@ -272,5 +272,5 @@
<include location="global" impldecl="in declaration">klocale.h</include>
<include location="global" impldecl="in declaration">kseparator.h</include>
</includes>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -53,7 +53,7 @@ void KLedButton::mousePressEvent( TQMouseEvent *e )
bool KLedButton::eventFilter( TQObject* /*obj*/ , TQEvent* /*ev*/ ) {
// KLed and thus KLedButtung does not do proper positioning in TQLayout's.
// Thus I listen to my tqparents resize events and do it here ... OUCH, that's ugly
// Thus I listen to my parents resize events and do it here ... OUCH, that's ugly
/* No, this cannot work !
if ( ev->type() == TQEvent::Resize ) {
TQResizeEvent* qre = (TQResizeEvent*)ev;

@ -433,7 +433,7 @@ TQSize KMixApplet::tqsizeHint() const {
}
/**
We need widthForHeight() and heigthForWidth() only because KPanelApplet::updateLayout does retqlayouts
We need widthForHeight() and heigthForWidth() only because KPanelApplet::updateLayout does relayouts
using this method. Actually we ignore the passed paramater and just return our preferred size.
*/
int KMixApplet::widthForHeight(int) const {

@ -384,9 +384,9 @@ void
KMixDockWidget::contextMenuAboutToShow( KPopupMenu* /* menu */ )
{
KAction* showAction = actionCollection()->action("minimizeRestore");
if ( tqparentWidget() && showAction )
if ( parentWidget() && showAction )
{
if ( tqparentWidget()->isVisible() )
if ( parentWidget()->isVisible() )
{
showAction->setText( i18n("Hide Mixer Window") );
}

@ -167,7 +167,7 @@ void KMixerWidget::possiblyAddView(ViewBase* vbase)
_views.push_back(vbase);
vbase ->createDeviceWidgets();
m_ioTab->addTab( vbase , vbase->caption() );
connect( vbase, TQT_SIGNAL(toggleMenuBar()), tqparentWidget(), TQT_SLOT(toggleMenuBar()) );
connect( vbase, TQT_SIGNAL(toggleMenuBar()), parentWidget(), TQT_SLOT(toggleMenuBar()) );
}
}

@ -239,7 +239,7 @@ void MDWSlider::createWidgets( bool showMuteLED, bool showRecordLED )
} // has Mute LED
else {
// we don't have a MUTE LED. We create a dummy widget
// !! possibly not neccesary any more (we are tqlayouted)
// !! possibly not neccesary any more (we are layouted)
TQWidget *qw = new TQWidget(this, "Spacer");
qw->setFixedSize( TQSize(16, 16) );
ledtqlayout->addWidget(qw);
@ -352,7 +352,7 @@ void MDWSlider::createWidgets( bool showMuteLED, bool showRecordLED )
else
{
// we don't have a RECORD LED. We create a dummy widget
// !! possibly not neccesary any more (we are tqlayouted)
// !! possibly not neccesary any more (we are layouted)
TQWidget *qw = new TQWidget(this, "Spacer");
qw->setFixedSize( TQSize(16, 16) );
rectqlayout->addWidget(qw);

@ -31,7 +31,7 @@ class MixDevice : public TQObject
// The DeviceCategory tells the type of the device
// It is used in bittqmasks, so you must use values of 2^n .
// It is used in bitmasks, so you must use values of 2^n .
enum DeviceCategory { UNDEFINED= 0x00, SLIDER=0x01, SWITCH=0x02, ENUM=0x04, ALL=0xff };

@ -27,7 +27,7 @@
VerticalText::VerticalText(TQWidget * tqparent, const char * name, WFlags f) : TQWidget(tqparent,name,f)
{
resize(20,100 /*tqparent->height() */ );
setMinimumSize(20,10); // neccesary for smooth integration into tqlayouts (we only care for the widths).
setMinimumSize(20,10); // neccesary for smooth integration into layouts (we only care for the widths).
}
VerticalText::~VerticalText() {

@ -449,7 +449,7 @@
<slot>kcfg_DigitalPlayback_toggled( bool )</slot>
<slot>kcfg_SelectEncoding_toggled(bool)</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>kcolorbutton.h</includehint>
<includehint>kfontrequester.h</includehint>

@ -325,7 +325,7 @@ xdisplay *xalloc_display(const char *s, int xHint, int yHint, int x, int y, xlib
xd->attr_tqmask = CWBackPixel | CWBorderPixel | CWEventMask;
xd->classX = InputOutput;
xd->xcolor.n = 0;
xd->tqparent_window = RootWindow(xd->display, xd->screen);
xd->parent_window = RootWindow(xd->display, xd->screen);
defaultvisual = DefaultVisual(xd->display, xd->screen);
xd->params = params;
if (!params->usedefault) {
@ -403,7 +403,7 @@ xdisplay *xalloc_display(const char *s, int xHint, int yHint, int x, int y, xlib
xd->lasty = 0;
xd->font_struct = (XFontStruct *) NULL;
xd->window = XCreateWindow(xd->display, xd->tqparent_window, xHint, yHint,
xd->window = XCreateWindow(xd->display, xd->parent_window, xHint, yHint,
xd->width, xd->height, xd->border_width,
vis.depth, xd->classX, xd->visual,
xd->attr_tqmask, xd->attributes);

@ -58,7 +58,7 @@ typedef struct {
int privatecolormap;
xlibparam *params;
Display *display;
Window tqparent_window;
Window parent_window;
Window window;
unsigned int width, height;
unsigned int border_width;

@ -464,5 +464,5 @@
<slot>ejectClicked()</slot>
<slot returnType="bool">nextClicked()</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -418,8 +418,8 @@
<function returnType="TQString">framesTime( unsigned frames )</function>
<function returnType="KCDDB::CDInfo">info() const</function>
</functions>
<tqlayoutdefaults spacing="6" margin="11"/>
<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<layoutdefaults spacing="6" margin="11"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>
<includehint>klineedit.h</includehint>
<includehint>kcombobox.h</includehint>

@ -66,5 +66,5 @@
</widget>
</grid>
</widget>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -585,8 +585,8 @@
<slot access="protected">showMirrorList()</slot>
<slot access="protected">needAuthenticationChanged(bool)</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="11" margin="6"/>
<tqlayoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<layoutdefaults spacing="11" margin="6"/>
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
<includehints>
<includehint>kpushbutton.h</includehint>
<includehint>klineedit.h</includehint>

@ -244,7 +244,7 @@ linked without the Library, or if the work is itself a library. The
threshold for this to be true is not precisely defined by law.
If such an object file uses only numerical parameters, data
structure tqlayouts and accessors, and small macros and small inline
structure layouts and accessors, and small macros and small inline
functions (ten lines or less in length), then the use of the object
file is unrestricted, regardless of whether it is legally a derivative
work. (Executables containing this object code plus portions of the

@ -54,7 +54,7 @@ static const int zigzag_direct_mmx[64] = {
/* Bit tqmasks used by bit i/o operations. */
/* Bit masks used by bit i/o operations. */

@ -192,7 +192,7 @@ int PESSystemStream::processMPEG2PacketHeader(MpegSystemHeader* mpegHeader){
//LIVID
u_char original_or_copy : 1;
u_char copyright : 1;
u_char data_tqalignment_indicator : 1;
u_char data_alignment_indicator : 1;
u_char pes_priority : 1;
u_char pes_scrambling_control : 2;
u_char start_code_prefix : 2; // 0x02

@ -208,7 +208,7 @@ typedef union {
: "X" (mem))
#define tqmaskmovq(regs,tqmaskreg) mmx_r2ri (tqmaskmovq, regs, tqmaskreg)
#define maskmovq(regs,maskreg) mmx_r2ri (maskmovq, regs, maskreg)
#define movntq_r2m(mmreg,var) mmx_r2m (movntq, mmreg, var)

@ -183,7 +183,7 @@ int X11Surface::open(int width, int height,const char *title, bool border) {
} else {
// depth is <= 8
// allocate memory for dithertables
// gets the rgb tqmasks
// gets the rgb masks
initColorDisplay(xWindow);
// create 8 bit dithertables
// create private colormap

@ -58,7 +58,7 @@ General::General(TQObject *tqparent)
TQWhatsThis::add(mTitleFormat, i18n(
"Select a title to use for each file (in the playlist and user interface). "
"Each element such as $(title) is replaced with the property with the name "
"as given in the tqparentheses. The properties include, but are not limited to: "
"as given in the parentheses. The properties include, but are not limited to: "
"title, author, date, comments and album."));
TQLabel *dlsaver=new TQLabel(i18n("&Download folder:"), this);

@ -104,7 +104,7 @@ void EffectView::init(void)
setCaption(i18n("Effects - Noatun"));
setIcon(SmallIcon("effect"));
// Create widgets and tqlayouts
// Create widgets and layouts
TQFrame *box = makeMainWidget();
TQVBoxLayout *boxLayout = new TQVBoxLayout(box, 0, KDialog::spacingHint());

@ -330,7 +330,7 @@
<tabstop>removePresetButton</tabstop>
<tabstop>addPresetButton</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
</includehints>

@ -124,9 +124,9 @@ void KaimanStyleElement::loadPixmaps(TQString &val_s_filename)
if(pixmap.tqmask())
{
TQBitmap tqmaskpart(w,h);
bitBlt(&tqmaskpart,0,0,pixmap.tqmask(),sourcex,sourcey,w,h);
part->setMask(tqmaskpart);
TQBitmap maskpart(w,h);
bitBlt(&maskpart,0,0,pixmap.tqmask(),sourcex,sourcey,w,h);
part->setMask(maskpart);
}
i++;
@ -186,7 +186,7 @@ void KaimanStyleElement::dragEnterEvent( TQDragEnterEvent *event )
void KaimanStyleElement::dropEvent( TQDropEvent *event )
{
((Kaiman*)(tqparentWidget()->tqparentWidget()))->doDropEvent(event);
((Kaiman*)(parentWidget()->parentWidget()))->doDropEvent(event);
}
/***************************************************************************/
@ -511,8 +511,8 @@ void KaimanStyleBackground::mouseMoveEvent(TQMouseEvent *qme)
}
if ( i_b_move ) {
TQWidget *p = tqparentWidget()->tqparentWidget();
if ( !p ) p = tqparentWidget();
TQWidget *p = parentWidget()->parentWidget();
if ( !p ) p = parentWidget();
p->move( qme->globalPos() - i_point_dragStart );
}

@ -51,7 +51,7 @@ ChangeLog (only lists MY changes)
* added splash-screen for skins supporting it (only skin I know of: K-Nine)
2001-09-30 Stefan Gehn <sgehn@gmx.net>
* ignore alpha-channel of loaded files, they break applying tqmasks to QPixmaps,
* ignore alpha-channel of loaded files, they break applying masks to QPixmaps,
result of this is text without transparency
(this happened for two skins: adagio and xbs)
@ -72,7 +72,7 @@ ChangeLog (only lists MY changes)
2001-09-04 Stefan Gehn <sgehn@gmx.net>
* added support for transparent fonts (a skin named steelforged still got problems though)
for the moment this disables moving of titletext,
I have to find a new way to move it (bitblt on a tqmasked QPixmap is tricky)
I have to find a new way to move it (bitblt on a masked QPixmap is tricky)
2001-09-03 Stefan Gehn <sgehn@gmx.net>
* added support for pitch-slider and its textlabel

@ -453,7 +453,7 @@
<tabstop>cmbSysFontColor</tabstop>
<tabstop>titleScrollSpeed</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>knuminput.h</includehint>
<includehint>knuminput.h</includehint>

@ -219,7 +219,7 @@ It can be several lines and usually does not contain anything interesting but st
</widget>
<customwidgets>
</customwidgets>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
<includehints>
<includehint>klineedit.h</includehint>
<includehint>kpushbutton.h</includehint>

@ -344,5 +344,5 @@
<Q_SLOTS>
<slot specifier="non virtual">setPlayObject( PlaylistItem pi, Arts::PlayObject po )</slot>
</Q_SLOTS>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -329,5 +329,5 @@
<tabstop>rbActVolume</tabstop>
<tabstop>rbActTrack</tabstop>
</tabstops>
<tqlayoutdefaults spacing="6" margin="11"/>
<layoutdefaults spacing="6" margin="11"/>
</UI>

@ -25,7 +25,7 @@
WaTitleBar::WaTitleBar() : WaIndicator(_WA_MAPPING_TITLE, _WA_SKIN_TITLE_ACTIVE, _WA_SKIN_TITLE_INACTIVE)
{
moving = false;
setState(tqparentWidget()->isActiveWindow());
setState(parentWidget()->isActiveWindow());
}
WaTitleBar::~WaTitleBar()
@ -73,7 +73,7 @@ void WaTitleBar::mouseMoveEvent(TQMouseEvent * e)
}
if (moving)
tqparentWidget()->move(e->globalPos() - mDragStart);
parentWidget()->move(e->globalPos() - mDragStart);
}
#include <waTitleBar.moc>

Loading…
Cancel
Save