summaryrefslogtreecommitdiffstats
path: root/kicker/proxy
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:46:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:46:05 -0600
commit73c08b592db45af554b9f21029bc549d70f683ab (patch)
tree122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /kicker/proxy
parente81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff)
downloadtdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz
tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kicker/proxy')
-rw-r--r--kicker/proxy/appletproxy.cpp12
-rw-r--r--kicker/proxy/extensiondebugger.cpp2
-rw-r--r--kicker/proxy/extensionproxy.cpp12
3 files changed, 13 insertions, 13 deletions
diff --git a/kicker/proxy/appletproxy.cpp b/kicker/proxy/appletproxy.cpp
index 0f18914f3..b472356e1 100644
--- a/kicker/proxy/appletproxy.cpp
+++ b/kicker/proxy/appletproxy.cpp
@@ -228,7 +228,7 @@ KPanelApplet* AppletProxy::loadApplet(const AppletInfo& info)
void AppletProxy::repaintApplet(TQWidget* widget)
{
- widget->tqrepaint();
+ widget->repaint();
const TQObjectList children = widget->childrenListObject();
@@ -372,14 +372,14 @@ bool AppletProxy::process(const TQCString &fun, const TQByteArray &data,
}
return true;
}
- else if ( fun == "tqsetAlignment(int)" )
+ else if ( fun == "setAlignment(int)" )
{
TQDataStream dataStream( data, IO_ReadOnly );
- int tqalignment;
- dataStream >> tqalignment;
+ int alignment;
+ dataStream >> alignment;
if(_applet) {
- _applet->tqsetAlignment( (KPanelApplet::Alignment)tqalignment );
+ _applet->setAlignment( (KPanelApplet::Alignment)alignment );
}
return true;
}
@@ -435,7 +435,7 @@ bool AppletProxy::process(const TQCString &fun, const TQByteArray &data,
if(_applet)
if ( _bg.isNull() ) { // no transparency
_applet->unsetPalette();
- _applet->tqrepaint();
+ _applet->repaint();
}
else { //transparency
_applet->blockSignals(true);
diff --git a/kicker/proxy/extensiondebugger.cpp b/kicker/proxy/extensiondebugger.cpp
index 796f10c93..25ac426e0 100644
--- a/kicker/proxy/extensiondebugger.cpp
+++ b/kicker/proxy/extensiondebugger.cpp
@@ -22,7 +22,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
******************************************************************/
#include <tqfile.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <kapplication.h>
diff --git a/kicker/proxy/extensionproxy.cpp b/kicker/proxy/extensionproxy.cpp
index d4b4d67d6..48a64c612 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 == "tqsizeHint(int,TQSize)" )
+ if ( fun == "sizeHint(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->tqsizeHint((KPanelExtension::Position)pos, maxSize);
+ reply << _extension->sizeHint((KPanelExtension::Position)pos, maxSize);
return true;
}
@@ -287,14 +287,14 @@ bool ExtensionProxy::process(const TQCString &fun, const TQByteArray &data,
}
return true;
}
- else if ( fun == "tqsetAlignment(int)" )
+ else if ( fun == "setAlignment(int)" )
{
TQDataStream dataStream( data, IO_ReadOnly );
- int tqalignment;
- dataStream >> tqalignment;
+ int alignment;
+ dataStream >> alignment;
if(_extension) {
- _extension->tqsetAlignment( (KPanelExtension::Alignment)tqalignment );
+ _extension->setAlignment( (KPanelExtension::Alignment)alignment );
}
return true;
}