summaryrefslogtreecommitdiffstats
path: root/plugins/stats/ChartDrawerData.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /plugins/stats/ChartDrawerData.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'plugins/stats/ChartDrawerData.h')
-rw-r--r--plugins/stats/ChartDrawerData.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/plugins/stats/ChartDrawerData.h b/plugins/stats/ChartDrawerData.h
index 561e76a..19d16e5 100644
--- a/plugins/stats/ChartDrawerData.h
+++ b/plugins/stats/ChartDrawerData.h
@@ -21,7 +21,7 @@
#ifndef CHARTDRAWERDATA_H_
#define CHARTDRAWERDATA_H_
-#include <qpen.h>
+#include <tqpen.h>
#include <vector>
#include <map>
@@ -43,18 +43,18 @@ class ChartDrawerData
private:
///Pen used for drawing
- QPen * pmQp;
+ TQPen * pmQp;
///Values
val_t * pmVals;
///Name of set
- QString mName;
+ TQString mName;
public:
/**
\brief Constructor
\param rN Name
*/
- ChartDrawerData(const QString & rN);
+ ChartDrawerData(const TQString & rN);
/**
\brief Copy constructor
\param rS Source
@@ -65,20 +65,20 @@ class ChartDrawerData
\param s Size
\param rN Name
*/
- ChartDrawerData(const size_t s, const QString & rN);
+ ChartDrawerData(const size_t s, const TQString & rN);
/**
\brief Constructor
\param rQp Pen used for drawing
\param rN Name
*/
- ChartDrawerData(const QPen & rQp, const QString & rN);
+ ChartDrawerData(const TQPen & rQp, const TQString & rN);
/**
\brief Constructor
\param rQp Pen used for drawing
\param s Size
\param rN Name
*/
- ChartDrawerData(const QPen & rQp, const size_t s, const QString & rN);
+ ChartDrawerData(const TQPen & rQp, const size_t s, const TQString & rN);
///Destructor
~ChartDrawerData();
@@ -92,23 +92,23 @@ class ChartDrawerData
\brief Gets pen
\return Pointer pen
*/
- const QPen * GetPen() const;
+ const TQPen * GetPen() const;
/**
\brief Gets name
\return Name
*/
- QString GetName() const;
+ TQString GetName() const;
/**
\brief Sets pen
\param rQp Pen
*/
- void SetPen(const QPen & rQp);
+ void SetPen(const TQPen & rQp);
/**
\brief Sets name
\param rN Name
*/
- void SetName( const QString & rN );
+ void SetName( const TQString & rN );
/**
\brief Finds maximum value