summaryrefslogtreecommitdiffstats
path: root/ksim/library/chart.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 /ksim/library/chart.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 'ksim/library/chart.h')
-rw-r--r--ksim/library/chart.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/ksim/library/chart.h b/ksim/library/chart.h
index b51ab83..1eb5a93 100644
--- a/ksim/library/chart.h
+++ b/ksim/library/chart.h
@@ -36,6 +36,7 @@ namespace KSim
class KDE_EXPORT Chart : public TQWidget, public KSim::Base
{
Q_OBJECT
+ TQ_OBJECT
public:
enum DataType { DataIn = 0, DataOut };
enum LabelType { Label = 0, Progress, Led };
@@ -46,10 +47,10 @@ namespace KSim
* @param minValue is the minimum value to show
* @param maxValue is the maximum value to show
* @param title is the title off the krell bar (if enabled)
- * @param parent is the parent widget
+ * @param tqparent is the tqparent widget
*/
Chart(bool displayMeter, int maxValue,
- const TQString &title, TQWidget *parent,
+ const TQString &title, TQWidget *tqparent,
const char *name = 0, WFlags fl = 0);
/**
* Constructs a KSim::Chart.
@@ -57,10 +58,10 @@ namespace KSim
* @param showKrell is if the krellbar should be shown
* @param minValue is the minimum value to show
* @param maxValue is the maximum value to show
- * @param parent is the parent widget
+ * @param tqparent is the tqparent widget
*/
Chart(bool displayMeter, int maxValue,
- TQWidget *parent, const char *name = 0,
+ TQWidget *tqparent, const char *name = 0,
WFlags fl = 0);
/**
* destructs KSim::Chart
@@ -103,16 +104,16 @@ namespace KSim
/**
* reimplemented for internal reasons
*/
- virtual void configureObject(bool repaintWidget = true);
+ virtual void configureObject(bool tqrepaintWidget = true);
/**
* reimplemented for internal reasons
*/
- TQSize sizeHint() const;
+ TQSize tqsizeHint() const;
/**
* reimplemented for internal reasons
*/
- TQSize minimumSizeHint() const;
+ TQSize tqminimumSizeHint() const;
void disableAutomaticUpdates();
@@ -133,7 +134,7 @@ namespace KSim
/**
* sets the current text that apears in the top left hand corner
*/
- void setText(const TQString &in, const TQString &out = TQString::null);
+ void setText(const TQString &in, const TQString &out = TQString());
/**
* Sets the minimum value the graph will display
*/