summaryrefslogtreecommitdiffstats
path: root/kpf/src/Applet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kpf/src/Applet.cpp')
-rw-r--r--kpf/src/Applet.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kpf/src/Applet.cpp b/kpf/src/Applet.cpp
index 0eee06c8..8311231c 100644
--- a/kpf/src/Applet.cpp
+++ b/kpf/src/Applet.cpp
@@ -54,7 +54,7 @@ static const char kpfVersion[] = "1.0.1";
extern "C"
{
KDE_EXPORT KPanelApplet *
- init(TQWidget * parent, const TQString & configFile)
+ init(TQWidget * tqparent, const TQString & configFile)
{
if (0 == kpf::userId() || 0 == kpf::effectiveUserId())
{
@@ -79,7 +79,7 @@ extern "C"
configFile,
KPanelApplet::Normal,
KPanelApplet::About|KPanelApplet::Help,
- parent,
+ tqparent,
"kpf"
);
}
@@ -93,10 +93,10 @@ namespace KPF
const TQString & configFile,
Type type,
int actions,
- TQWidget * parent,
+ TQWidget * tqparent,
const char * name
)
- : KPanelApplet (configFile, type, actions, parent, name),
+ : KPanelApplet (configFile, type, actions, tqparent, name),
wizard_ (0L),
popup_ (0L),
dcopClient_ (0L)
@@ -148,7 +148,7 @@ namespace KPF
if (0 == serverCount)
serverCount = 1;
- if (Vertical == orientation())
+ if (Qt::Vertical == orientation())
return h / serverCount;
else
return h * serverCount;
@@ -162,7 +162,7 @@ namespace KPF
if (0 == serverCount)
serverCount = 1;
- if (Vertical == orientation())
+ if (Qt::Vertical == orientation())
return w * serverCount;
else
return w / serverCount;
@@ -171,7 +171,7 @@ namespace KPF
void
Applet::help()
{
- kapp->invokeHelp( TQString::null, "kpf" );
+ kapp->invokeHelp( TQString(), "kpf" );
}
void
@@ -220,7 +220,7 @@ namespace KPF
}
void
- Applet::orientationChange(Orientation)
+ Applet::orientationChange(Qt::Orientation)
{
resetLayout();
}
@@ -248,7 +248,7 @@ namespace KPF
switch (orientation())
{
- case Vertical:
+ case Qt::Vertical:
{
uint itemHeight = height() / itemList_.count();
@@ -262,7 +262,7 @@ namespace KPF
}
break;
- case Horizontal:
+ case Qt::Horizontal:
{
uint itemWidth = width() / itemList_.count();