summaryrefslogtreecommitdiffstats
path: root/kugar/lib/mpagecollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'kugar/lib/mpagecollection.h')
-rw-r--r--kugar/lib/mpagecollection.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kugar/lib/mpagecollection.h b/kugar/lib/mpagecollection.h
index 8b1c84aa..c4b78cee 100644
--- a/kugar/lib/mpagecollection.h
+++ b/kugar/lib/mpagecollection.h
@@ -9,10 +9,10 @@
#ifndef MPAGECOLLECTION_H
#define MPAGECOLLECTION_H
-#include <qobject.h>
-#include <qptrlist.h>
-#include <qpicture.h>
-#include <qsize.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
+#include <tqpicture.h>
+#include <tqsize.h>
/**Kugar report page collection
*@author Mutiny Bay Software
@@ -21,12 +21,12 @@
namespace Kugar
{
-class MPageCollection : public QObject
+class MPageCollection : public TQObject
{
public:
/** Constructor */
- MPageCollection( QObject *parent );
+ MPageCollection( TQObject *tqparent );
/** Copy constructor */
MPageCollection( const MPageCollection& mPageCollection );
/** Assignment operator */
@@ -36,9 +36,9 @@ public:
private:
/** The report page list */
- QPtrList<QPicture> pages;
+ TQPtrList<TQPicture> pages;
/** Page dimensions */
- QSize dimensions;
+ TQSize dimensions;
/** Page size */
int size;
/** Page orientation */
@@ -54,23 +54,23 @@ public:
/** Gets the current page in the page collection,
* the current page may be null
*/
- QPicture* getCurrentPage();
+ TQPicture* getCurrentPage();
/** Gets the first page in the page collection,
* returns NULL if the list is empty
*/
- QPicture* getFirstPage();
+ TQPicture* getFirstPage();
/** Get the previous page in the page collection,
* returns NULL if the beginning of the list has been reached
*/
- QPicture* getPreviousPage();
+ TQPicture* getPreviousPage();
/** Gets the next page in the page collection,
* returns NULL if the end of the list has been reached
*/
- QPicture* getNextPage();
+ TQPicture* getNextPage();
/** Gets the last page in the page collection,
* returns NULL if the list empty
*/
- QPicture* getLastPage();
+ TQPicture* getLastPage();
/** Get the index of the current page */
int getCurrentIndex();
@@ -82,13 +82,13 @@ public:
/** Sets the page orientation */
void setPageOrientation( int o );
/** Sets the page dimensions */
- void setPageDimensions( QSize dim );
+ void setPageDimensions( TQSize dim );
/** Returns the page size */
int pageSize();
/** Returns the page orientation */
int pageOrientation();
/** Returns the page dimensions */
- QSize pageDimensions();
+ TQSize pageDimensions();
/** Returns the number of pages in the page collection */
int pageCount();