Specify namespace when using WNoAutoErase

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1227631 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent d83a80f295
commit 2b11e51517

@ -729,7 +729,7 @@ void KSMPushButton::keyReleaseEvent( TQKeyEvent* e )
}
FlatButton::FlatButton( TQWidget *parent, const char *name )
: TQToolButton( parent, name/*, WNoAutoErase*/ ),
: TQToolButton( parent, name/*, TQt::WNoAutoErase*/ ),
m_pressed(false)
{
init();

@ -39,7 +39,7 @@ FDialog::FDialog( TQWidget *parent, bool framed )
: inherited( parent, 0, true/*, framed ? 0 : WStyle_NoBorder*/ )
{
if (framed) {
winFrame = new TQFrame( this, 0, WNoAutoErase );
winFrame = new TQFrame( this, 0, TQt::WNoAutoErase );
winFrame->setFrameStyle( TQFrame::WinPanel | TQFrame::Raised );
winFrame->setLineWidth( 2 );
} else

@ -220,7 +220,7 @@ ClockWidget::~ClockWidget()
PlainClock::PlainClock(ClockApplet *applet, Prefs *prefs, TQWidget *parent, const char *name)
: TQLabel(parent, name), ClockWidget(applet, prefs)
{
setWFlags(WNoAutoErase);
setWFlags(TQt::WNoAutoErase);
setBackgroundOrigin(AncestorOrigin);
loadSettings();
updateClock();
@ -300,7 +300,7 @@ void PlainClock::drawContents(TQPainter *p)
DigitalClock::DigitalClock(ClockApplet *applet, Prefs *prefs, TQWidget *parent, const char *name)
: TQLCDNumber(parent, name), ClockWidget(applet, prefs)
{
setWFlags(WNoAutoErase);
setWFlags(TQt::WNoAutoErase);
setBackgroundOrigin(AncestorOrigin);
loadSettings();
updateClock();
@ -472,7 +472,7 @@ bool DigitalClock::showDayOfWeek()
AnalogClock::AnalogClock(ClockApplet *applet, Prefs *prefs, TQWidget *parent, const char *name)
: TQFrame(parent, name), ClockWidget(applet, prefs), _spPx(NULL)
{
setWFlags(WNoAutoErase);
setWFlags(TQt::WNoAutoErase);
setBackgroundOrigin(AncestorOrigin);
loadSettings();
}

@ -76,7 +76,7 @@ KMiniPagerButton::KMiniPagerButton(int desk, bool useViewPorts, const TQPoint& v
{
setToggleButton(true);
setAcceptDrops(true);
setWFlags(WNoAutoErase);
setWFlags(TQt::WNoAutoErase);
setBackgroundOrigin(AncestorOrigin);
installEventFilter(KickerTip::the());

@ -75,7 +75,7 @@ PanelButton::PanelButton( TQWidget* parent, const char* name )
m_fontPercent(0.40)
{
setBackgroundOrigin(AncestorOrigin);
setWFlags(WNoAutoErase);
setWFlags(TQt::WNoAutoErase);
KGlobal::locale()->insertCatalogue("libkicker");
calculateIconSize();
setAcceptDrops(true);

@ -117,7 +117,7 @@ TaskContainer::TaskContainer(Startup::Ptr startup, PixmapList& startupFrames,
void TaskContainer::init()
{
setWFlags(WNoAutoErase);
setWFlags(TQt::WNoAutoErase);
setBackgroundMode(NoBackground);
animBg = TQPixmap(16, 16);

@ -331,7 +331,7 @@ void TEWidget::setFont(const TQFont &)
/* ------------------------------------------------------------------------- */
TEWidget::TEWidget(TQWidget *parent, const char *name)
:TQFrame(parent,name,WNoAutoErase)
:TQFrame(parent,name,TQt::WNoAutoErase)
,font_h(1)
,font_w(1)
,font_a(1)
@ -1007,7 +1007,7 @@ void TEWidget::paintEvent( TQPaintEvent* pe )
drawFrame( &paint );
// Since we're using WNoAutoErase, we have to make sure that
// Since we're using TQt::WNoAutoErase, we have to make sure that
// every single pixel is painted by the paint event.
// To do this, we must figure out which pixels are left in the
// area between the terminal image and the frame border.

@ -894,7 +894,7 @@ void KSMPushButton::keyReleaseEvent( TQKeyEvent* e )
FlatButton::FlatButton( TQWidget *parent, const char *name )
: TQToolButton( parent, name/*, WNoAutoErase*/ ),
: TQToolButton( parent, name/*, TQt::WNoAutoErase*/ ),
m_pressed(false)
{
init();

@ -109,7 +109,7 @@ int KCommonDecoration::layoutMetric(LayoutMetric lm, bool, const KCommonDecorati
void KCommonDecoration::init()
{
createMainWidget(WNoAutoErase);
createMainWidget(TQt::WNoAutoErase);
// for flicker-free redraws
widget()->setBackgroundMode(NoBackground);

@ -41,7 +41,7 @@ namespace KWinInternal
extern TQPixmap* kwin_get_menu_pix_hack();
TabBox::TabBox( Workspace *ws, const char *name )
: TQFrame( 0, name, WNoAutoErase ), current_client( NULL ), wspace(ws)
: TQFrame( 0, name, TQt::WNoAutoErase ), current_client( NULL ), wspace(ws)
{
setFrameStyle(TQFrame::StyledPanel | TQFrame::Plain);
setLineWidth(2);

Loading…
Cancel
Save