summaryrefslogtreecommitdiffstats
path: root/kchart/kdchart/KDFrameProfileSection.h
diff options
context:
space:
mode:
Diffstat (limited to 'kchart/kdchart/KDFrameProfileSection.h')
-rw-r--r--kchart/kdchart/KDFrameProfileSection.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kchart/kdchart/KDFrameProfileSection.h b/kchart/kdchart/KDFrameProfileSection.h
index f1b4ac87..8ca011ec 100644
--- a/kchart/kdchart/KDFrameProfileSection.h
+++ b/kchart/kdchart/KDFrameProfileSection.h
@@ -29,9 +29,9 @@
#ifndef __KDFRAMEPROFILESECTION__
#define __KDFRAMEPROFILESECTION__
-#include <qregion.h>
-#include <qpen.h>
-#include <qdom.h>
+#include <tqregion.h>
+#include <tqpen.h>
+#include <tqdom.h>
#include "KDChartGlobal.h"
@@ -51,7 +51,7 @@ public:
\Note Since a frame border may consist of several parts you must specify the
direction mode for each of these parts. This is quite different from the
- QFrame::Shadow / QFrame::Shape schema where you would select a predefined
+ TQFrame::Shadow / TQFrame::Shape schema where you would select a predefined
profile. KDFrame lets you specify both the number of sections used
to compose frame border's profile and the look of each individual
section by calling \c addProfileSection() multiple times.
@@ -70,7 +70,7 @@ public:
\param dir the direction enum to convert
\return the string representation of the direction enum
*/
- static QString directionToString( Direction dir ) {
+ static TQString directionToString( Direction dir ) {
switch( dir ) {
case DirPlain:
return "Plain";
@@ -90,7 +90,7 @@ public:
\param string the string to convert
\return the direction enum value
*/
- static Direction stringToDirection( const QString& string ) {
+ static Direction stringToDirection( const TQString& string ) {
if( string == "Plain" )
return DirPlain;
else if( string == "Raising" )
@@ -104,7 +104,7 @@ public:
/**
- Profile Curvature Mode: specifying the shape of a frame profile section.
+ Profile Curvature Mode: specifying the tqshape of a frame profile section.
(curvature setting will be ignored for \c DirPlain profiles)
\li \c CvtFlat looking like a evenly sloping surface.
@@ -119,7 +119,7 @@ public:
\param curv the curvature enum to convert
\return the string representation of the curvature enum
*/
- static QString curvatureToString( Curvature curv ) {
+ static TQString curvatureToString( Curvature curv ) {
switch( curv ) {
case CvtPlain:
return "Plain";
@@ -139,7 +139,7 @@ public:
\param string the string to convert
\return the curvature enum value
*/
- static Curvature stringToCurvature( const QString& string ) {
+ static Curvature stringToCurvature( const TQString& string ) {
if( string == "Plain" )
return CvtPlain;
else if( string == "Convex" )
@@ -160,7 +160,7 @@ public:
KDFrameProfileSection( Direction direction,
Curvature curvature,
int width,
- QPen pen )
+ TQPen pen )
: _direction( direction ),
_curvature( curvature ),
_width( width ),
@@ -176,7 +176,7 @@ public:
_direction = DirPlain;
_curvature = CvtPlain;
_width = 1;
- _pen = QPen( Qt::SolidLine );
+ _pen = TQPen( TQt::SolidLine );
}
/**
@@ -189,13 +189,13 @@ public:
section for use in a DOM document.
\param document the DOM document to which the node will belong
- \param parent the parent node to which the new node will be appended
+ \param tqparent the tqparent node to which the new node will be appended
\param elementName the name of the new node
\param section the section to be represented
*/
- static void createFrameProfileSectionNode( QDomDocument& document,
- QDomNode& parent,
- const QString& elementName,
+ static void createFrameProfileSectionNode( TQDomDocument& document,
+ TQDomNode& tqparent,
+ const TQString& elementName,
const KDFrameProfileSection* section );
/**
@@ -207,19 +207,19 @@ public:
\param section a pointer to the frame profile section object to
read the data into
*/
- static bool readFrameProfileSectionNode( const QDomElement& element,
+ static bool readFrameProfileSectionNode( const TQDomElement& element,
KDFrameProfileSection* section );
Direction direction() const { return _direction; }
Curvature curvature() const { return _curvature; }
int width() const { return _width; }
- QPen pen() const { return _pen; }
+ TQPen pen() const { return _pen; }
private:
Direction _direction;
Curvature _curvature;
int _width;
- QPen _pen;
+ TQPen _pen;
};
/**
@@ -227,6 +227,6 @@ private:
\sa setProfile, profile
*/
-typedef QPtrList < KDFrameProfileSection > KDFrameProfile;
+typedef TQPtrList < KDFrameProfileSection > KDFrameProfile;
#endif