summaryrefslogtreecommitdiffstats
path: root/kicker/proxy
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /kicker/proxy
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/proxy')
-rw-r--r--kicker/proxy/appletproxy.cpp18
-rw-r--r--kicker/proxy/appletproxy.h2
-rw-r--r--kicker/proxy/extensionproxy.cpp12
3 files changed, 16 insertions, 16 deletions
diff --git a/kicker/proxy/appletproxy.cpp b/kicker/proxy/appletproxy.cpp
index 0501fcd9a..da8508956 100644
--- a/kicker/proxy/appletproxy.cpp
+++ b/kicker/proxy/appletproxy.cpp
@@ -226,9 +226,9 @@ KPanelApplet* AppletProxy::loadApplet(const AppletInfo& info)
return init_ptr(0, info.configFile());
}
-void AppletProxy::repaintApplet(TQWidget* widget)
+void AppletProxy::tqrepaintApplet(TQWidget* widget)
{
- widget->repaint();
+ widget->tqrepaint();
const TQObjectList* children = widget->children();
@@ -243,7 +243,7 @@ void AppletProxy::repaintApplet(TQWidget* widget)
TQWidget *w = dynamic_cast<TQWidget*>(*it);
if (w)
{
- repaintApplet(w);
+ tqrepaintApplet(w);
}
}
}
@@ -372,14 +372,14 @@ bool AppletProxy::process(const TQCString &fun, const TQByteArray &data,
}
return true;
}
- else if ( fun == "setAlignment(int)" )
+ else if ( fun == "tqsetAlignment(int)" )
{
TQDataStream dataStream( data, IO_ReadOnly );
- int alignment;
- dataStream >> alignment;
+ int tqalignment;
+ dataStream >> tqalignment;
if(_applet) {
- _applet->setAlignment( (KPanelApplet::Alignment)alignment );
+ _applet->tqsetAlignment( (KPanelApplet::Alignment)tqalignment );
}
return true;
}
@@ -435,13 +435,13 @@ bool AppletProxy::process(const TQCString &fun, const TQByteArray &data,
if(_applet)
if ( _bg.isNull() ) { // no transparency
_applet->unsetPalette();
- _applet->repaint();
+ _applet->tqrepaint();
}
else { //transparency
_applet->blockSignals(true);
_applet->setBackgroundMode(Qt::FixedPixmap);
_applet->setPaletteBackgroundPixmap(_bg);
- repaintApplet(_applet);
+ tqrepaintApplet(_applet);
_applet->blockSignals(false);
}
return true;
diff --git a/kicker/proxy/appletproxy.h b/kicker/proxy/appletproxy.h
index 4c504022f..40ff78cc4 100644
--- a/kicker/proxy/appletproxy.h
+++ b/kicker/proxy/appletproxy.h
@@ -56,7 +56,7 @@ protected slots:
void slotApplicationRemoved(const TQCString&);
private:
- void repaintApplet(TQWidget* widget);
+ void tqrepaintApplet(TQWidget* widget);
AppletInfo *_info;
KPanelApplet *_applet;
diff --git a/kicker/proxy/extensionproxy.cpp b/kicker/proxy/extensionproxy.cpp
index 3d931c95b..73b4052ab 100644
--- a/kicker/proxy/extensionproxy.cpp
+++ b/kicker/proxy/extensionproxy.cpp
@@ -258,7 +258,7 @@ void ExtensionProxy::dock(const TQCString& callbackID)
bool ExtensionProxy::process(const TQCString &fun, const TQByteArray &data,
TQCString& replyType, TQByteArray &replyData)
{
- if ( fun == "sizeHint(int,TQSize)" )
+ if ( fun == "tqsizeHint(int,TQSize)" )
{
TQDataStream dataStream( data, IO_ReadOnly );
int pos;
@@ -272,7 +272,7 @@ bool ExtensionProxy::process(const TQCString &fun, const TQByteArray &data,
if(!_extension)
reply << maxSize;
else
- reply << _extension->sizeHint((KPanelExtension::Position)pos, maxSize);
+ reply << _extension->tqsizeHint((KPanelExtension::Position)pos, maxSize);
return true;
}
@@ -287,14 +287,14 @@ bool ExtensionProxy::process(const TQCString &fun, const TQByteArray &data,
}
return true;
}
- else if ( fun == "setAlignment(int)" )
+ else if ( fun == "tqsetAlignment(int)" )
{
TQDataStream dataStream( data, IO_ReadOnly );
- int alignment;
- dataStream >> alignment;
+ int tqalignment;
+ dataStream >> tqalignment;
if(_extension) {
- _extension->setAlignment( (KPanelExtension::Alignment)alignment );
+ _extension->tqsetAlignment( (KPanelExtension::Alignment)tqalignment );
}
return true;
}