From 94844816550ad672ccfcdc25659c625546239998 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:32:11 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- kspread/kspread_sheet.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kspread/kspread_sheet.h') diff --git a/kspread/kspread_sheet.h b/kspread/kspread_sheet.h index 5d907810..723e6807 100644 --- a/kspread/kspread_sheet.h +++ b/kspread/kspread_sheet.h @@ -22,7 +22,7 @@ #ifndef KSPREAD_SHEET #define KSPREAD_SHEET -#include +#include #include #include #include @@ -160,7 +160,7 @@ public: void setPlain( TQString const & _plain ) { setText( _plain ); } void setKSpread( TQByteArray const & _kspread ) { m_kspread = _kspread; } - virtual TQByteArray tqencodedData( const char * mime ) const; + virtual TQByteArray encodedData( const char * mime ) const; virtual const char* format( int i ) const; static bool canDecode( TQMimeSource * e ); @@ -240,11 +240,11 @@ public: Doc* doc() const; /** - * Saves the sheet and all it's tqchildren in XML format + * Saves the sheet and all it's children in XML format */ virtual TQDomElement saveXML( TQDomDocument& ); /** - * Loads the sheet and all it's tqchildren in XML format + * Loads the sheet and all it's children in XML format */ virtual bool loadXML( const TQDomElement& ); @@ -259,12 +259,12 @@ public: void saveOasisPrintStyleLayout( KoGenStyle &style ) const; /** - * Saves a tqchildren + * Saves a children */ virtual bool saveChildren( KoStore* _store, const TQString &_path ); bool saveOasisObjects( KoStore *store, KoXmlWriter &xmlWriter, KoGenStyles& mainStyles, int & indexObj, int &partIndexObj ); /** - * Loads a tqchildren + * Loads a children */ virtual bool loadChildren( KoStore* _store ); @@ -305,13 +305,13 @@ public: void unifyObjectName( EmbeddedObject *object ); /** - * Returns the tqlayout direction of the sheet. + * Returns the layout direction of the sheet. */ LayoutDirection layoutDirection() const; /** - * Sets the tqlayout direction of the sheet. For example, for Arabic or Hebrew - * documents, it is possibly to tqlayout the sheet from right to left. + * Sets the layout direction of the sheet. For example, for Arabic or Hebrew + * documents, it is possibly to layout the sheet from right to left. */ void setLayoutDirection( LayoutDirection dir ); @@ -991,9 +991,9 @@ public: void autofill( TQRect &src, TQRect &dest ); - bool insertChild( const KoRect& _tqgeometry, KoDocumentEntry& ); + bool insertChild( const KoRect& _geometry, KoDocumentEntry& ); - bool insertChart( const KoRect& _tqgeometry, KoDocumentEntry&, const TQRect& _data ); + bool insertChart( const KoRect& _geometry, KoDocumentEntry&, const TQRect& _data ); /** @@ -1016,9 +1016,9 @@ public: */ bool insertPicture( const KoPoint& point, const TQPixmap& pixmap ); - void changeChildGeometry( EmbeddedKOfficeObject *_child, const KoRect& _tqgeometry ); + void changeChildGeometry( EmbeddedKOfficeObject *_child, const KoRect& _geometry ); - const TQColorGroup& tqcolorGroup() { return widget()->tqcolorGroup(); } + const TQColorGroup& colorGroup() { return widget()->colorGroup(); } int id() const; @@ -1033,7 +1033,7 @@ public: * Checks if the argument _column is out of the current maximum range of the vertical border * If this is the case, the current maximum value m_iMaxColumn is adjusted and the vertical border * is resized. - * Use this function with care, as it involves a tqrepaint of the border, when it is out of range. + * Use this function with care, as it involves a repaint of the border, when it is out of range. */ void checkRangeHBorder ( int _column ); @@ -1048,7 +1048,7 @@ public: * Checks if the argument _row is out of the current maximum range of the horizontal border * If this is the case, the current maximum value m_iMaxRow is adjusted and the horizontal border * is resized. - * Use this function with care, as it involves a tqrepaint of the border, when it is out of range. + * Use this function with care, as it involves a repaint of the border, when it is out of range. */ void checkRangeVBorder ( int _row ); @@ -1064,7 +1064,7 @@ public: #endif /** - * Calculates the cell if necessary, makes its tqlayout if necessary, + * Calculates the cell if necessary, makes its layout if necessary, * and force redraw. * Then it sets the cell's @ref Cell::m_bDisplayDirtyFlag to false. */ @@ -1102,7 +1102,7 @@ public: */ void refreshView(const Region& region); - void emit_updateRow( RowFormat *_format, int _row, bool tqrepaint = true ); + void emit_updateRow( RowFormat *_format, int _row, bool repaint = true ); void emit_updateColumn( ColumnFormat *_format, int _column ); /** -- cgit v1.2.1