summaryrefslogtreecommitdiffstats
path: root/kugar
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kugar
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'kugar')
-rw-r--r--kugar/lib/inputmask.cpp4
-rw-r--r--kugar/lib/mpagedisplay.cpp2
-rw-r--r--kugar/lib/mpagedisplay.h2
-rw-r--r--kugar/lib/mreportengine.cpp6
-rw-r--r--kugar/lib/mreportengine.h2
-rw-r--r--kugar/lib/mreportsection.cpp2
-rw-r--r--kugar/lib/mreportviewer.cpp6
-rw-r--r--kugar/lib/mreportviewer.h2
8 files changed, 13 insertions, 13 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/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..77f402ed 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;
diff --git a/kugar/lib/mreportengine.h b/kugar/lib/mreportengine.h
index 33b651cc..aaf36107 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:
diff --git a/kugar/lib/mreportsection.cpp b/kugar/lib/mreportsection.cpp
index 1184d773..5040d64c 100644
--- a/kugar/lib/mreportsection.cpp
+++ b/kugar/lib/mreportsection.cpp
@@ -24,7 +24,7 @@ MReportSection::MReportSection()
frequency = MReportSection::EveryPage;
// Set special field data
- reportDate = TQDate::tqcurrentDate();
+ reportDate = TQDate::currentDate();
pageNumber = 0;
// Set the line list to AutoDelete
diff --git a/kugar/lib/mreportviewer.cpp b/kugar/lib/mreportviewer.cpp
index a3fd9ab5..9e7f02d1 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 & ) ),
@@ -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();