summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-11 05:14:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-11 05:14:35 +0000
commit2b11e515172c67290909f2496784e139f2492541 (patch)
tree6caaefccd37bb6fc744e48db87394eba9e727eac
parentd83a80f295597e6cd696cf5f308ff7d5545f8629 (diff)
downloadtdebase-2b11e515172c67290909f2496784e139f2492541.tar.gz
tdebase-2b11e515172c67290909f2496784e139f2492541.zip
Specify namespace when using WNoAutoErase
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1227631 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--kdm/kfrontend/kdmshutdown.cpp2
-rw-r--r--kdm/kfrontend/kfdialog.cpp2
-rw-r--r--kicker/applets/clock/clock.cpp6
-rw-r--r--kicker/applets/minipager/pagerbutton.cpp2
-rw-r--r--kicker/libkicker/panelbutton.cpp2
-rw-r--r--kicker/taskbar/taskcontainer.cpp2
-rw-r--r--konsole/konsole/TEWidget.cpp4
-rw-r--r--ksmserver/shutdowndlg.cpp2
-rw-r--r--kwin/lib/kcommondecoration.cpp2
-rw-r--r--kwin/tabbox.cpp2
10 files changed, 13 insertions, 13 deletions
diff --git a/kdm/kfrontend/kdmshutdown.cpp b/kdm/kfrontend/kdmshutdown.cpp
index 8a556d2c8..9bcb589ca 100644
--- a/kdm/kfrontend/kdmshutdown.cpp
+++ b/kdm/kfrontend/kdmshutdown.cpp
@@ -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();
diff --git a/kdm/kfrontend/kfdialog.cpp b/kdm/kfrontend/kfdialog.cpp
index 5052e7165..a9475a7d2 100644
--- a/kdm/kfrontend/kfdialog.cpp
+++ b/kdm/kfrontend/kfdialog.cpp
@@ -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
diff --git a/kicker/applets/clock/clock.cpp b/kicker/applets/clock/clock.cpp
index 48cd1d2ae..79f627833 100644
--- a/kicker/applets/clock/clock.cpp
+++ b/kicker/applets/clock/clock.cpp
@@ -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();
}
diff --git a/kicker/applets/minipager/pagerbutton.cpp b/kicker/applets/minipager/pagerbutton.cpp
index 77d751a07..7120fb1f1 100644
--- a/kicker/applets/minipager/pagerbutton.cpp
+++ b/kicker/applets/minipager/pagerbutton.cpp
@@ -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());
diff --git a/kicker/libkicker/panelbutton.cpp b/kicker/libkicker/panelbutton.cpp
index 4d61566b2..06e9a0b41 100644
--- a/kicker/libkicker/panelbutton.cpp
+++ b/kicker/libkicker/panelbutton.cpp
@@ -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);
diff --git a/kicker/taskbar/taskcontainer.cpp b/kicker/taskbar/taskcontainer.cpp
index 749c33c03..4cd893e1b 100644
--- a/kicker/taskbar/taskcontainer.cpp
+++ b/kicker/taskbar/taskcontainer.cpp
@@ -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);
diff --git a/konsole/konsole/TEWidget.cpp b/konsole/konsole/TEWidget.cpp
index fb0a64376..6b350b261 100644
--- a/konsole/konsole/TEWidget.cpp
+++ b/konsole/konsole/TEWidget.cpp
@@ -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.
diff --git a/ksmserver/shutdowndlg.cpp b/ksmserver/shutdowndlg.cpp
index 18ba7d7ce..3a415d193 100644
--- a/ksmserver/shutdowndlg.cpp
+++ b/ksmserver/shutdowndlg.cpp
@@ -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();
diff --git a/kwin/lib/kcommondecoration.cpp b/kwin/lib/kcommondecoration.cpp
index eabcc16b5..556e20c9e 100644
--- a/kwin/lib/kcommondecoration.cpp
+++ b/kwin/lib/kcommondecoration.cpp
@@ -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);
diff --git a/kwin/tabbox.cpp b/kwin/tabbox.cpp
index f5a9b9f03..0f229637a 100644
--- a/kwin/tabbox.cpp
+++ b/kwin/tabbox.cpp
@@ -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);