summaryrefslogtreecommitdiffstats
path: root/kig/filters
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:38:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 11:17:57 +0900
commitc8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6 (patch)
tree546585ccc13868dc2e89ed4728a4911123bd3849 /kig/filters
parent402e94ba9dc2f1ac6e929b18919e9c31c228b47e (diff)
downloadtdeedu-c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6.tar.gz
tdeedu-c8e3d1d47df0efdc66fe6b96f8b1c78a2cb18ee6.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kig/filters')
-rw-r--r--kig/filters/cabri-filter.cpp6
-rw-r--r--kig/filters/drgeo-filter.cpp4
-rw-r--r--kig/filters/latexexporter.cpp8
-rw-r--r--kig/filters/native-filter.cpp2
4 files changed, 10 insertions, 10 deletions
diff --git a/kig/filters/cabri-filter.cpp b/kig/filters/cabri-filter.cpp
index 0a94f140..f65a0138 100644
--- a/kig/filters/cabri-filter.cpp
+++ b/kig/filters/cabri-filter.cpp
@@ -343,12 +343,12 @@ KigDocument* KigFilterCabri::load( const TQString& file )
return 0;
// reading linestyle
- Qt::PenStyle ls = Qt::SolidLine;
+ TQt::PenStyle ls = TQt::SolidLine;
if ( ( obj.lineSegLength > 1 ) && ( obj.lineSegLength < 6 ) &&
( obj.lineSegSplit > 1 ) && ( obj.lineSegSplit <= 10 ) )
- ls = Qt::DotLine;
+ ls = TQt::DotLine;
else if ( ( obj.lineSegLength >= 6 ) && ( obj.lineSegSplit > 10 ) )
- ls = Qt::DashLine;
+ ls = TQt::DashLine;
int ps = 0;
args.clear();
diff --git a/kig/filters/drgeo-filter.cpp b/kig/filters/drgeo-filter.cpp
index 9742fcf5..1c904c3e 100644
--- a/kig/filters/drgeo-filter.cpp
+++ b/kig/filters/drgeo-filter.cpp
@@ -729,7 +729,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
// Normal -> the medium
// Thick -> the biggest one
int w = -1;
- Qt::PenStyle s = Qt::SolidLine;
+ TQt::PenStyle s = TQt::SolidLine;
if ( domelem.tagName() == "point" )
{
if ( domelem.attribute( "thickness" ) == "Normal" )
@@ -740,7 +740,7 @@ KigDocument* KigFilterDrgeo::importFigure( TQDomNode f, const TQString& file, co
else
{
if ( domelem.attribute( "thickness" ) == "Dashed" )
- s = Qt::DotLine;
+ s = TQt::DotLine;
if ( domelem.attribute( "thickness" ) == "Thick" )
w = 2;
}
diff --git a/kig/filters/latexexporter.cpp b/kig/filters/latexexporter.cpp
index 622a1a49..bbf6144a 100644
--- a/kig/filters/latexexporter.cpp
+++ b/kig/filters/latexexporter.cpp
@@ -126,7 +126,7 @@ private:
* Draws a line (segment) or a vector if vector is true.
*/
void emitLine( const Coordinate& a, const Coordinate& b, const int width,
- const Qt::PenStyle s, bool vector = false );
+ const TQt::PenStyle s, bool vector = false );
/**
* Sends a new line character ( \n ) to stream.
*/
@@ -144,7 +144,7 @@ private:
/**
* Converts a pen style into latex style string.
*/
- TQString writeStyle( Qt::PenStyle style );
+ TQString writeStyle( TQt::PenStyle style );
/**
* Plots a generic curve though its points calc'ed with getPoint.
*/
@@ -157,7 +157,7 @@ void LatexExportImpVisitor::emitCoord( const Coordinate& c )
}
void LatexExportImpVisitor::emitLine( const Coordinate& a, const Coordinate& b,
- const int width, const Qt::PenStyle s,
+ const int width, const TQt::PenStyle s,
bool vector )
{
mstream << "\\psline[linecolor=" << mcurcolorid << ",linewidth=" << width / 100.0
@@ -210,7 +210,7 @@ double LatexExportImpVisitor::dimRealToCoord( int dim )
return fabs( r.width() );
}
-TQString LatexExportImpVisitor::writeStyle( Qt::PenStyle style )
+TQString LatexExportImpVisitor::writeStyle( TQt::PenStyle style )
{
TQString ret( "linestyle=" );
if ( style == TQt::DashLine )
diff --git a/kig/filters/native-filter.cpp b/kig/filters/native-filter.cpp
index cf6521b2..e18f26bb 100644
--- a/kig/filters/native-filter.cpp
+++ b/kig/filters/native-filter.cpp
@@ -536,7 +536,7 @@ KigDocument* KigFilterNative::load07( const TQString& file, const TQDomElement&
if ( ! ok ) width = -1;
tmp = e.attribute( "style" );
- Qt::PenStyle style = ObjectDrawer::styleFromString( tmp );
+ TQt::PenStyle style = ObjectDrawer::styleFromString( tmp );
tmp = e.attribute( "point-style" );
int pointstyle = ObjectDrawer::pointStyleFromString( tmp );