From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpf/src/Applet.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'kpf/src/Applet.h') diff --git a/kpf/src/Applet.h b/kpf/src/Applet.h index 9520d237..bd41962f 100644 --- a/kpf/src/Applet.h +++ b/kpf/src/Applet.h @@ -46,6 +46,7 @@ namespace KPF class Applet : public KPanelApplet { Q_OBJECT + TQ_OBJECT public: @@ -92,13 +93,13 @@ namespace KPF /** * Called when a WebServer object has been created. Creates an - * AppletItem, associates it with the former, and updates the layout. + * AppletItem, associates it with the former, and updates the tqlayout. */ void slotServerCreated(WebServer *); /** * Called when a WebServer object has been disabled. - * Deletes the associated AppletItem and updates the layout. + * Deletes the associated AppletItem and updates the tqlayout. */ void slotServerDisabled(WebServer *); @@ -120,13 +121,13 @@ namespace KPF virtual void about(); /** - * Overridden to keep track of orientation change and update layout + * Overridden to keep track of orientation change and update tqlayout * accordingly. */ - virtual void orientationChange(Orientation); + virtual void orientationChange(Qt::Orientation); /** - * Overridden to update layout accordingly. + * Overridden to update tqlayout accordingly. */ virtual void moveEvent(TQMoveEvent *); virtual void resizeEvent(TQResizeEvent *); @@ -137,7 +138,7 @@ namespace KPF virtual void mousePressEvent(TQMouseEvent *); /** - * Updates the layout, moving AppletItem objects into proper positions. + * Updates the tqlayout, moving AppletItem objects into proper positions. */ virtual void resetLayout(); -- cgit v1.2.1