summaryrefslogtreecommitdiffstats
path: root/kugar/lib
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /kugar/lib
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kugar/lib')
-rw-r--r--kugar/lib/inputmask.cpp4
-rw-r--r--kugar/lib/mlabelobject.cpp10
-rw-r--r--kugar/lib/mlabelobject.h12
-rw-r--r--kugar/lib/mlineobject.cpp4
-rw-r--r--kugar/lib/mpagedisplay.cpp2
-rw-r--r--kugar/lib/mpagedisplay.h2
-rw-r--r--kugar/lib/mreportengine.cpp58
-rw-r--r--kugar/lib/mreportengine.h20
-rw-r--r--kugar/lib/mreportobject.cpp4
-rw-r--r--kugar/lib/mreportsection.cpp6
-rw-r--r--kugar/lib/mreportviewer.cpp14
-rw-r--r--kugar/lib/mreportviewer.h2
-rw-r--r--kugar/lib/mutil.cpp24
13 files changed, 81 insertions, 81 deletions
diff --git a/kugar/lib/inputmask.cpp b/kugar/lib/inputmask.cpp
index 923323cb..850b7a73 100644
--- a/kugar/lib/inputmask.cpp
+++ b/kugar/lib/inputmask.cpp
@@ -210,13 +210,13 @@ bool InputMask::isValidInput( TQChar key, TQChar mask ) const
TQString InputMask::maskString( uint pos, const TQString &str, bool clear ) const
{
if ( pos >= ( uint ) m_maxLength )
- return TQString::tqfromLatin1( "" );
+ return TQString::fromLatin1( "" );
TQString fill;
fill = clear ? clearString( 0, m_maxLength ) : m_text;
uint strIndex = 0;
- TQString s = TQString::tqfromLatin1( "" );
+ TQString s = TQString::fromLatin1( "" );
int i = pos;
while ( i < m_maxLength )
{
diff --git a/kugar/lib/mlabelobject.cpp b/kugar/lib/mlabelobject.cpp
index 6a0db974..fecbd560 100644
--- a/kugar/lib/mlabelobject.cpp
+++ b/kugar/lib/mlabelobject.cpp
@@ -29,7 +29,7 @@ MLabelObject::MLabelObject() : MReportObject(), xMargin( 0 ), yMargin( 0 )
fontWeight = MLabelObject::Normal;
fontItalic = false;
- // Set the default tqalignment
+ // Set the default alignment
hAlignment = MLabelObject::Left;
vAlignment = MLabelObject::Top;
wordWrap = false;
@@ -76,13 +76,13 @@ void MLabelObject::setFont( const TQString family, int size, int weight, bool it
fontItalic = italic;
}
-/** Sets the label's horizontal tqalignment */
+/** Sets the label's horizontal alignment */
void MLabelObject::setHorizontalAlignment( int a )
{
hAlignment = a;
}
-/** Sets the label's vertical tqalignment */
+/** Sets the label's vertical alignment */
void MLabelObject::setVerticalAlignment( int a )
{
vAlignment = a;
@@ -113,7 +113,7 @@ void MLabelObject::draw( TQPainter* p, int xoffset, int yoffset )
p->setFont( font );
TQFontMetrics fm = p->fontMetrics();
- // Set the text tqalignment flags
+ // Set the text alignment flags
//Qt::Horizontal
switch ( hAlignment )
@@ -165,7 +165,7 @@ void MLabelObject::copy( const MLabelObject* mLabelObject )
fontWeight = mLabelObject->fontWeight;
fontItalic = mLabelObject->fontItalic;
- // Copy the label's tqalignment data
+ // Copy the label's alignment data
vAlignment = mLabelObject->vAlignment;
hAlignment = mLabelObject->hAlignment;
wordWrap = mLabelObject->wordWrap;
diff --git a/kugar/lib/mlabelobject.h b/kugar/lib/mlabelobject.h
index 2b35f233..3526552e 100644
--- a/kugar/lib/mlabelobject.h
+++ b/kugar/lib/mlabelobject.h
@@ -27,9 +27,9 @@ class MLabelObject : public MReportObject
public:
/** Font weight constants */
enum FontWeight { Light = 25, Normal = 50, DemiBold = 63, Bold = 75, Black = 87 };
- /**Qt::Horizontal tqalignment constants */
+ /**Qt::Horizontal alignment constants */
enum HAlignment { Left = 0, Center, Right };
- /** Vertial tqalignment constants */
+ /** Vertial alignment constants */
enum VAlignment { Top = 0, Middle, Bottom };
/** Constructor */
@@ -52,9 +52,9 @@ protected:
int fontWeight;
/** Label text font italic flag */
bool fontItalic;
- /** Lable text horizontal tqalignment */
+ /** Lable text horizontal alignment */
int hAlignment;
- /** Label text vertical tqalignment */
+ /** Label text vertical alignment */
int vAlignment;
/** Label text word wrap flag */
bool wordWrap;
@@ -70,9 +70,9 @@ public:
virtual void setText( const TQString txt );
/** Sets the label's text font - default is Times,10,Normal,false */
void setFont( const TQString family, int size, int weight, bool italic );
- /** Sets the label's horizontal tqalignment -default is Left */
+ /** Sets the label's horizontal alignment -default is Left */
void setHorizontalAlignment( int a );
- /** Sets the label's vertical tqalignment - default is Top */
+ /** Sets the label's vertical alignment - default is Top */
void setVerticalAlignment( int a );
/** Sets the label's word wrap flag - default is false */
void setWordWrap( bool state );
diff --git a/kugar/lib/mlineobject.cpp b/kugar/lib/mlineobject.cpp
index 2a4a0bc9..abd7927c 100644
--- a/kugar/lib/mlineobject.cpp
+++ b/kugar/lib/mlineobject.cpp
@@ -14,7 +14,7 @@ namespace Kugar
/** Constructor */
MLineObject::MLineObject() : TQObject()
{
- // Set the object's default tqgeometry
+ // Set the object's default geometry
xpos1 = 0;
ypos1 = 0;
xpos2 = 0;
@@ -104,7 +104,7 @@ void MLineObject::drawBase( TQPainter* p, int xoffset, int yoffset )
Used by the copy constructor and assignment operator */
void MLineObject::copy( const MLineObject* mLineObject )
{
- // Copy the object's tqgeometry
+ // Copy the object's geometry
xpos1 = mLineObject->xpos1;
ypos1 = mLineObject->ypos1;
xpos2 = mLineObject->xpos2;
diff --git a/kugar/lib/mpagedisplay.cpp b/kugar/lib/mpagedisplay.cpp
index 12eac741..4f4b1869 100644
--- a/kugar/lib/mpagedisplay.cpp
+++ b/kugar/lib/mpagedisplay.cpp
@@ -45,7 +45,7 @@ void MPageDisplay::setPageDimensions( TQSize size )
// Return the preferred size of the display.
-TQSize MPageDisplay::tqsizeHint() const
+TQSize MPageDisplay::sizeHint() const
{
return buffer.size();
}
diff --git a/kugar/lib/mpagedisplay.h b/kugar/lib/mpagedisplay.h
index 65a419d5..919d8a36 100644
--- a/kugar/lib/mpagedisplay.h
+++ b/kugar/lib/mpagedisplay.h
@@ -42,7 +42,7 @@ public:
/** Sets the page display dimensions */
void setPageDimensions( TQSize size );
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
TQSizePolicy sizePolicy() const;
protected:
diff --git a/kugar/lib/mreportengine.cpp b/kugar/lib/mreportengine.cpp
index 4e1544d3..ca747b3e 100644
--- a/kugar/lib/mreportengine.cpp
+++ b/kugar/lib/mreportengine.cpp
@@ -289,7 +289,7 @@ MPageCollection* MReportEngine::renderReport()
// Initialize the basic page data
currHeight = pageHeight - ( topMargin + bottomMargin + pFooter.getHeight() );
currPage = 0;
- currDate = TQDate::tqcurrentDate();
+ currDate = TQDate::currentDate();
// Initialise global report variables
unsigned int rowCount = records.length();
@@ -336,7 +336,7 @@ MPageCollection* MReportEngine::renderReport()
{
// Update status event
if ( ( chkRow = ( j / 2 ) % 20 ) == 0 )
- emit signalRendertqStatus( j / 2 );
+ emit signalRenderStatus( j / 2 );
// Check for cancel action
if ( cancelRender )
@@ -481,7 +481,7 @@ MPageCollection* MReportEngine::renderReport()
pages->setPageOrientation( pageOrientation );
// Send final status
- emit signalRendertqStatus( rowCount / 2 );
+ emit signalRenderStatus( rowCount / 2 );
m_needRegeneration = false;
m_pageCollection = pages;
return pages;
@@ -652,21 +652,21 @@ void MReportEngine::recalcDimensions()
recalcAttribute( "LeftMargin", rattributes );
recalcAttribute( "RightMargin", rattributes );
- TQDomNodeList tqchildren = report.childNodes();
- int childCount = tqchildren.length();
+ TQDomNodeList children = report.childNodes();
+ int childCount = children.length();
for ( int j = 0; j < childCount; j++ )
{
- child = tqchildren.item( j );
+ child = children.item( j );
TQDomNamedNodeMap attributes = child.attributes();
- TQDomNodeList tqchildren2 = child.childNodes();
- int childCount2 = tqchildren2.length();
+ TQDomNodeList children2 = child.childNodes();
+ int childCount2 = children2.length();
recalcAttribute( "Height", attributes );
for ( int k = 0; k < childCount2; k++ )
{
- TQDomNode child2 = tqchildren2.item( k );
+ TQDomNode child2 = children2.item( k );
TQDomNamedNodeMap attributes = child2.attributes();
recalcAttribute( "X", attributes );
recalcAttribute( "Y", attributes );
@@ -685,11 +685,11 @@ void MReportEngine::recalcAttribute( const TQString& name, TQDomNamedNodeMap att
{
if ( !attributes.namedItem( name ).isNull() )
{
- attributes.namedItem( name ).setNodeValue( TQString( "%1" ).tqarg( attributes.namedItem( name ).nodeValue().toInt() * 93 / 81 ) );
+ attributes.namedItem( name ).setNodeValue( TQString( "%1" ).arg( attributes.namedItem( name ).nodeValue().toInt() * 93 / 81 ) );
}
}
-/** Walks the document tree, setting the report tqlayout */
+/** Walks the document tree, setting the report layout */
void MReportEngine::initTemplate()
{
heightOfDetails = 0;
@@ -712,12 +712,12 @@ void MReportEngine::initTemplate()
setReportAttributes( &report );
// Get all the child report elements
- TQDomNodeList tqchildren = report.childNodes();
- int childCount = tqchildren.length();
+ TQDomNodeList children = report.childNodes();
+ int childCount = children.length();
for ( int j = 0; j < childCount; j++ )
{
- child = tqchildren.item( j );
+ child = children.item( j );
if ( child.nodeType() == TQDomNode::ElementNode )
{
@@ -748,7 +748,7 @@ void MReportEngine::initTemplate()
}
}
-/** Sets the main tqlayout attributes for the report */
+/** Sets the main layout attributes for the report */
void MReportEngine::setReportAttributes( TQDomNode* report )
{
// Get the attributes for the report
@@ -792,7 +792,7 @@ int MReportEngine::scaleDeltaHeight( int height ) const
return f > 1 ? int( f + 0.5 ) : ceil( f );
}
-/** Sets the tqlayout attributes for the given report section */
+/** Sets the layout attributes for the given report section */
void MReportEngine::setSectionAttributes( MReportSection* section, TQDomNode* report )
{
// Get the attributes for the section
@@ -803,14 +803,14 @@ void MReportEngine::setSectionAttributes( MReportSection* section, TQDomNode* re
section->setPrintFrequency( attributes.namedItem( "PrintFrequency" ).nodeValue().toInt() );
// Process the sections labels
- TQDomNodeList tqchildren = report->childNodes();
- int childCount = tqchildren.length();
+ TQDomNodeList children = report->childNodes();
+ int childCount = children.length();
// For each label, extract the attr list and add the new label
// to the sections's label collection
for ( int j = 0; j < childCount; j++ )
{
- TQDomNode child = tqchildren.item( j );
+ TQDomNode child = children.item( j );
if ( child.nodeType() == TQDomNode::ElementNode )
{
if ( child.nodeName() == "Line" )
@@ -852,7 +852,7 @@ void MReportEngine::setSectionAttributes( MReportSection* section, TQDomNode* re
}
}
-/** Sets the tqlayout attributes for the detail headers and footers */
+/** Sets the layout attributes for the detail headers and footers */
void MReportEngine::setDetMiscAttributes( MReportSection* section, TQDomNode* report )
{
// Get the attributes for the section
@@ -866,7 +866,7 @@ void MReportEngine::setDetMiscAttributes( MReportSection* section, TQDomNode* re
}
-/** Sets the tqlayout attributes for the detail section */
+/** Sets the layout attributes for the detail section */
void MReportEngine::setDetailAttributes( TQDomNode* report )
{
// Get the attributes for the detail section
@@ -881,12 +881,12 @@ void MReportEngine::setDetailAttributes( TQDomNode* report )
detail->setRepeat( attributes.namedItem( "Repeat" ).nodeValue() == "true" );
// Process the report detail labels
- TQDomNodeList tqchildren = report->childNodes();
- int childCount = tqchildren.length();
+ TQDomNodeList children = report->childNodes();
+ int childCount = children.length();
for ( int j = 0; j < childCount; j++ )
{
- TQDomNode child = tqchildren.item( j );
+ TQDomNode child = children.item( j );
if ( child.nodeType() == TQDomNode::ElementNode )
{
if ( child.nodeName() == "Line" )
@@ -923,7 +923,7 @@ void MReportEngine::setDetailAttributes( TQDomNode* report )
details.append( detail );
}
-/** Sets a line's tqlayout attributes */
+/** Sets a line's layout attributes */
void MReportEngine::setLineAttributes( MLineObject* line, TQDomNamedNodeMap* attr )
{
line->setLine( scaleDeltaWidth( attr->namedItem( "X1" ).nodeValue().toInt() ),
@@ -941,7 +941,7 @@ void MReportEngine::setLineAttributes( MLineObject* line, TQDomNamedNodeMap* att
line->setStyle( attr->namedItem( "Style" ).nodeValue().toInt() );
}
-/** Sets a label's tqlayout attributes */
+/** Sets a label's layout attributes */
void MReportEngine::setLabelAttributes( MLabelObject* label, TQDomNamedNodeMap* attr )
{
TQString tmp;
@@ -986,7 +986,7 @@ void MReportEngine::setLabelAttributes( MLabelObject* label, TQDomNamedNodeMap*
label->setWordWrap( attr->namedItem( "WordWrap" ).nodeValue().toInt() == 0 ? false : true );
}
-/** Sets a special field's tqlayout attributes */
+/** Sets a special field's layout attributes */
void MReportEngine::setSpecialAttributes( MSpecialObject* field, TQDomNamedNodeMap* attr )
{
field->setType( attr->namedItem( "Type" ).nodeValue().toInt() );
@@ -995,7 +995,7 @@ void MReportEngine::setSpecialAttributes( MSpecialObject* field, TQDomNamedNodeM
setLabelAttributes( ( MLabelObject * ) field, attr );
}
-/** Sets a field's tqlayout attributes */
+/** Sets a field's layout attributes */
void MReportEngine::setFieldAttributes( MFieldObject* field, TQDomNamedNodeMap* attr )
{
field->setFieldName( attr->namedItem( "Field" ).nodeValue() );
@@ -1015,7 +1015,7 @@ void MReportEngine::setFieldAttributes( MFieldObject* field, TQDomNamedNodeMap*
setLabelAttributes( ( MLabelObject * ) field, attr );
}
-/** Sets a calculated field's tqlayout attributes */
+/** Sets a calculated field's layout attributes */
void MReportEngine::setCalculatedFieldAttributes( MCalcObject* field, TQDomNamedNodeMap* attr )
{
field->setCalculationType( attr->namedItem( "CalculationType" ).nodeValue().toInt() );
diff --git a/kugar/lib/mreportengine.h b/kugar/lib/mreportengine.h
index 33b651cc..846d0a3a 100644
--- a/kugar/lib/mreportengine.h
+++ b/kugar/lib/mreportengine.h
@@ -71,7 +71,7 @@ public slots:
void slotCancelRendering();
signals:
- void signalRendertqStatus( int );
+ void signalRenderStatus( int );
void preferedTemplate( const TQString & );
protected:
@@ -170,27 +170,27 @@ private:
void initData();
void initTemplate();
- /** Sets the main tqlayout attributes for the report */
+ /** Sets the main layout attributes for the report */
void setReportAttributes( TQDomNode* report );
int scaleDeltaWidth( int width ) const;
int scaleDeltaHeight( int width ) const;
- /** Sets the tqlayout attributes for the given report section */
+ /** Sets the layout attributes for the given report section */
void setSectionAttributes( MReportSection* section, TQDomNode* report );
- /** Sets the tqlayout attributes for the detail headers and footers */
+ /** Sets the layout attributes for the detail headers and footers */
void setDetMiscAttributes( MReportSection* section, TQDomNode* report );
- /** Sets the tqlayout attributes for the detail section */
+ /** Sets the layout attributes for the detail section */
void setDetailAttributes( TQDomNode* report );
- /** Sets a line's tqlayout attributes */
+ /** Sets a line's layout attributes */
void setLineAttributes( MLineObject* line, TQDomNamedNodeMap* attr );
- /** Sets a label's tqlayout attributes */
+ /** Sets a label's layout attributes */
void setLabelAttributes( MLabelObject* label, TQDomNamedNodeMap* attr );
- /** Sets a special field's tqlayout attributes */
+ /** Sets a special field's layout attributes */
void setSpecialAttributes( MSpecialObject* field, TQDomNamedNodeMap* attr );
- /** Sets a field's tqlayout attributes */
+ /** Sets a field's layout attributes */
void setFieldAttributes( MFieldObject* field, TQDomNamedNodeMap* attr );
- /** Sets a calculated field's tqlayout attributes */
+ /** Sets a calculated field's layout attributes */
void setCalculatedFieldAttributes( MCalcObject* field, TQDomNamedNodeMap* attr );
/** Copies member data from one object to another.
diff --git a/kugar/lib/mreportobject.cpp b/kugar/lib/mreportobject.cpp
index 7fec9dd9..7a9366f6 100644
--- a/kugar/lib/mreportobject.cpp
+++ b/kugar/lib/mreportobject.cpp
@@ -16,7 +16,7 @@ namespace Kugar
/** Constructor */
MReportObject::MReportObject() : TQObject()
{
- // Set the object's default tqgeometry
+ // Set the object's default geometry
xpos = 0;
ypos = 0;
width = 40;
@@ -166,7 +166,7 @@ void MReportObject::setBorderStyle( int style )
Used by the copy constructor and assignment operator */
void MReportObject::copy( const MReportObject* mReportObject )
{
- // Copy the object's tqgeometry
+ // Copy the object's geometry
xpos = mReportObject->xpos;
ypos = mReportObject->ypos;
width = mReportObject->width;
diff --git a/kugar/lib/mreportsection.cpp b/kugar/lib/mreportsection.cpp
index 1184d773..b412d332 100644
--- a/kugar/lib/mreportsection.cpp
+++ b/kugar/lib/mreportsection.cpp
@@ -17,14 +17,14 @@ namespace Kugar
/** Constructor */
MReportSection::MReportSection()
{
- // Set tqgeometry
+ // Set geometry
height = 50;
// Set print frequency
frequency = MReportSection::EveryPage;
// Set special field data
- reportDate = TQDate::tqcurrentDate();
+ reportDate = TQDate::currentDate();
pageNumber = 0;
// Set the line list to AutoDelete
@@ -293,7 +293,7 @@ void MReportSection::drawObjects( TQPainter* p, int xoffset, int yoffset )
Used by the copy constructor and assignment operator */
void MReportSection::copy( const MReportSection* mReportSection )
{
- // Copy the section's tqgeometry
+ // Copy the section's geometry
height = mReportSection->height;
// Copy the print frequency
diff --git a/kugar/lib/mreportviewer.cpp b/kugar/lib/mreportviewer.cpp
index a3fd9ab5..5cbacf58 100644
--- a/kugar/lib/mreportviewer.cpp
+++ b/kugar/lib/mreportviewer.cpp
@@ -38,7 +38,7 @@ void MReportViewer::init()
scroller = new TQScrollView( this );
// Connect the rendering update signal and slot
- connect( rptEngine, TQT_SIGNAL( signalRendertqStatus( int ) ),
+ connect( rptEngine, TQT_SIGNAL( signalRenderStatus( int ) ),
TQT_SLOT( slotRenderProgress( int ) ) );
connect( rptEngine, TQT_SIGNAL( preferedTemplate( const TQString & ) ),
@@ -175,7 +175,7 @@ void MReportViewer::slotFirstPage()
if ( ( page = report->getFirstPage() ) != 0 )
{
display->setPage( page );
- display->tqrepaint();
+ display->repaint();
}
}
@@ -192,7 +192,7 @@ void MReportViewer::slotNextPage()
if ( ( page = report->getNextPage() ) != 0 )
{
display->setPage( page );
- display->tqrepaint();
+ display->repaint();
}
else
report->setCurrentPage( index );
@@ -211,7 +211,7 @@ void MReportViewer::slotPrevPage()
if ( ( page = report->getPreviousPage() ) != 0 )
{
display->setPage( page );
- display->tqrepaint();
+ display->repaint();
}
else
report->setCurrentPage( index );
@@ -228,7 +228,7 @@ void MReportViewer::slotLastPage()
if ( ( page = report->getLastPage() ) != 0 )
{
display->setPage( page );
- display->tqrepaint();
+ display->repaint();
}
}
@@ -273,9 +273,9 @@ void MReportViewer::slotRenderProgress( int p )
// Return the preferred size.
-TQSize MReportViewer::tqsizeHint() const
+TQSize MReportViewer::sizeHint() const
{
- return scroller -> tqsizeHint();
+ return scroller -> sizeHint();
}
void MReportViewer::printReport( KPrinter &printer )
diff --git a/kugar/lib/mreportviewer.h b/kugar/lib/mreportviewer.h
index 599e22db..ca47b12b 100644
--- a/kugar/lib/mreportviewer.h
+++ b/kugar/lib/mreportviewer.h
@@ -59,7 +59,7 @@ public:
void setupPrinter( KPrinter &printer );
void printReportSilent( int printFrom = -1, int printTo = -1, int printCopies = -1, TQString printerName = TQString() );
- TQSize tqsizeHint() const;
+ TQSize sizeHint() const;
public slots:
void slotFirstPage();
diff --git a/kugar/lib/mutil.cpp b/kugar/lib/mutil.cpp
index f70b67bf..e53c1ef2 100644
--- a/kugar/lib/mutil.cpp
+++ b/kugar/lib/mutil.cpp
@@ -40,40 +40,40 @@ TQString MUtil::formatDate( const TQDate& value, int format )
switch ( format )
{
case MUtil::MDY_SLASH:
- string = TQString( "%1/%2/%3" ).tqarg( value.month() ).tqarg( value.day() ).tqarg( year );
+ string = TQString( "%1/%2/%3" ).arg( value.month() ).arg( value.day() ).arg( year );
break;
case MUtil::MDY_DASH:
- string = TQString( "%1-%2-%3" ).tqarg( value.month() ).tqarg( value.day() ).tqarg( year );
+ string = TQString( "%1-%2-%3" ).arg( value.month() ).arg( value.day() ).arg( year );
break;
case MUtil::MMDDY_SLASH:
- string = TQString( "%1/%2/%3" ).tqarg( month ).tqarg( day ).tqarg( year );
+ string = TQString( "%1/%2/%3" ).arg( month ).arg( day ).arg( year );
break;
case MUtil::MMDDY_DASH:
- string = TQString( "%1-%2-%3" ).tqarg( month ).tqarg( day ).tqarg( year );
+ string = TQString( "%1-%2-%3" ).arg( month ).arg( day ).arg( year );
break;
case MUtil::MDYYYY_SLASH:
- string = TQString( "%1/%2/%3" ).tqarg( value.month() ).tqarg( value.day() ).tqarg( value.year() );
+ string = TQString( "%1/%2/%3" ).arg( value.month() ).arg( value.day() ).arg( value.year() );
break;
case MUtil::MDYYYY_DASH:
- string = TQString( "%1-%2-%3" ).tqarg( value.month() ).tqarg( value.day() ).tqarg( value.year() );
+ string = TQString( "%1-%2-%3" ).arg( value.month() ).arg( value.day() ).arg( value.year() );
break;
case MUtil::MMDDYYYY_SLASH:
- string = TQString( "%1/%2/%3" ).tqarg( month ).tqarg( day ).tqarg( value.year() );
+ string = TQString( "%1/%2/%3" ).arg( month ).arg( day ).arg( value.year() );
break;
case MUtil::MMDDYYYY_DASH:
- string = TQString( "%1-%2-%3" ).tqarg( month ).tqarg( day ).tqarg( value.year() );
+ string = TQString( "%1-%2-%3" ).arg( month ).arg( day ).arg( value.year() );
break;
case MUtil::YYYYMD_SLASH:
- string = TQString( "%1/%2/%3" ).tqarg( value.year() ).tqarg( value.month() ).tqarg( value.day() );
+ string = TQString( "%1/%2/%3" ).arg( value.year() ).arg( value.month() ).arg( value.day() );
break;
case MUtil::YYYYMD_DASH:
- string = TQString( "%1-%2-%3" ).tqarg( value.year() ).tqarg( value.month() ).tqarg( value.day() );
+ string = TQString( "%1-%2-%3" ).arg( value.year() ).arg( value.month() ).arg( value.day() );
break;
case MUtil::DDMMYY_PERIOD:
- string = TQString( "%1.%2.%3" ).tqarg( day ).tqarg( month ).tqarg( year );
+ string = TQString( "%1.%2.%3" ).arg( day ).arg( month ).arg( year );
break;
case MUtil::DDMMYYYY_PERIOD:
- string = TQString( "%1.%2.%3" ).tqarg( day ).tqarg( month ).tqarg( value.year() );
+ string = TQString( "%1.%2.%3" ).arg( day ).arg( month ).arg( value.year() );
break;
default:
string = value.toString();