diff options
Diffstat (limited to 'kugar/lib/mpagecollection.cpp')
-rw-r--r-- | kugar/lib/mpagecollection.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kugar/lib/mpagecollection.cpp b/kugar/lib/mpagecollection.cpp index 3359f4b4..22618656 100644 --- a/kugar/lib/mpagecollection.cpp +++ b/kugar/lib/mpagecollection.cpp @@ -15,7 +15,7 @@ namespace Kugar { /** Constructor */ -MPageCollection::MPageCollection( QObject *parent ) : QObject( parent ) +MPageCollection::MPageCollection( TQObject *tqparent ) : TQObject( tqparent ) { // Set page list to AutoDelete pages.setAutoDelete( true ); @@ -29,7 +29,7 @@ MPageCollection::MPageCollection( QObject *parent ) : QObject( parent ) } /** Copy constructor */ -MPageCollection::MPageCollection( const MPageCollection& mPageCollection ) /*: QObject((QObject &) mPageCollection)*/ +MPageCollection::MPageCollection( const MPageCollection& mPageCollection ) /*: TQObject((TQObject &) mPageCollection)*/ { copy( &mPageCollection ); } @@ -44,7 +44,7 @@ MPageCollection MPageCollection::operator=( const MPageCollection& mPageCollecti copy( &mPageCollection ); // Copy the base class's data - //((QObject &) *this) = mPageCollection; + //((TQObject &) *this) = mPageCollection; return *this; } @@ -65,13 +65,13 @@ void MPageCollection::clear() /** Appends a new page to the page collection */ void MPageCollection::appendPage() { - pages.append( new QPicture() ); + pages.append( new TQPicture() ); } /** Gets the current page in the page collection, * the current page may be null */ -QPicture* MPageCollection::getCurrentPage() +TQPicture* MPageCollection::getCurrentPage() { return pages.current(); } @@ -79,7 +79,7 @@ QPicture* MPageCollection::getCurrentPage() /** Gets the first page in the page collection, * returns NULL if the list is empty */ -QPicture* MPageCollection::getFirstPage() +TQPicture* MPageCollection::getFirstPage() { return pages.first(); } @@ -87,7 +87,7 @@ QPicture* MPageCollection::getFirstPage() /** Gets the next page in the page collection, * returns NULL if the end of the list has been reached */ -QPicture* MPageCollection::getNextPage() +TQPicture* MPageCollection::getNextPage() { return pages.next(); } @@ -95,7 +95,7 @@ QPicture* MPageCollection::getNextPage() /** Get the previous page in the page collection, * returns NULL if the beginning of the list has been reached */ -QPicture* MPageCollection::getPreviousPage() +TQPicture* MPageCollection::getPreviousPage() { return pages.prev(); } @@ -103,7 +103,7 @@ QPicture* MPageCollection::getPreviousPage() /** Gets the last page in the page collection, * returns NULL if the list is empty */ -QPicture* MPageCollection::getLastPage() +TQPicture* MPageCollection::getLastPage() { return pages.last(); } @@ -133,7 +133,7 @@ void MPageCollection::setPageOrientation( int o ) } /** Sets the page dimensions */ -void MPageCollection::setPageDimensions( QSize dim ) +void MPageCollection::setPageDimensions( TQSize dim ) { dimensions = dim; } @@ -151,7 +151,7 @@ int MPageCollection::pageOrientation() } /** Returns the page dimensions */ -QSize MPageCollection::pageDimensions() +TQSize MPageCollection::pageDimensions() { return dimensions; } |