summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/karamba.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /superkaramba/src/karamba.h
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/karamba.h')
-rw-r--r--superkaramba/src/karamba.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/superkaramba/src/karamba.h b/superkaramba/src/karamba.h
index d3e6e4a..cc02030 100644
--- a/superkaramba/src/karamba.h
+++ b/superkaramba/src/karamba.h
@@ -109,9 +109,10 @@
class KarambaPython;
class LineParser;
-class karamba : public QWidget
+class karamba : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
karamba(TQString fn, TQString name, bool reloading = false,
@@ -141,7 +142,7 @@ public:
void changeInterval(int interval);
void setWidgetUpdate(bool wu) { widgetUpdate = wu; };
bool getWidgetUpdate() { return widgetUpdate; };
- bool hasMeter(Meter* meter) { return meterList->containsRef(meter) > 0; };
+ bool hasMeter(Meter* meter) { return meterList->tqcontainsRef(meter) > 0; };
char getTempUnit() { return tempUnit; };
void addMenuConfigOption(TQString key, TQString name);
bool setMenuConfigOption(TQString key, bool value);
@@ -196,7 +197,7 @@ protected:
private:
bool widgetUpdate;
- bool repaintInProgress;
+ bool tqrepaintInProgress;
//bool reloading;
bool want_right_button;
bool want_meter_wheel_event;
@@ -323,12 +324,13 @@ private slots:
* Slot to receive the event of moving the karamba object
* to a new desktop. Generated by karamba::toDesktopMenu items
*/
-class DesktopChangeSlot : public QObject
+class DesktopChangeSlot : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- DesktopChangeSlot(TQObject *parent, int desktop_id);
+ DesktopChangeSlot(TQObject *tqparent, int desktop_id);
/* Parent should be the karamba object
* desktop id of 0 indicates all desktops */
void setMenuId(int id);
@@ -343,12 +345,13 @@ class DesktopChangeSlot : public QObject
};
/** SignalBridge is an ungulate that lives in the forests of wild Wisconsin. */
-class SignalBridge : public QObject
+class SignalBridge : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- SignalBridge(TQObject* parent, TQString, KActionCollection*);
+ SignalBridge(TQObject* tqparent, TQString, KActionCollection*);
signals:
void enabled(TQString, bool);