diff options
Diffstat (limited to 'kivio/kiviopart/kivioglobal.h')
-rw-r--r-- | kivio/kiviopart/kivioglobal.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/kivio/kiviopart/kivioglobal.h b/kivio/kiviopart/kivioglobal.h index 28b3abed..1e94f79b 100644 --- a/kivio/kiviopart/kivioglobal.h +++ b/kivio/kiviopart/kivioglobal.h @@ -24,9 +24,9 @@ #include <KoPageLayout.h> #include <KoSize.h> -class QDomElement; -class QPixmap; -class QString; +class TQDomElement; +class TQPixmap; +class TQString; class KoGenStyle; class KivioStencil; @@ -37,14 +37,14 @@ namespace Kivio }; /** - * Save a page layout to a QDomElement + * Save a page tqlayout to a TQDomElement */ - void savePageLayout(QDomElement& e, const KoPageLayout& layout); - KoGenStyle savePageLayout(const KoPageLayout& layout); + void savePageLayout(TQDomElement& e, const KoPageLayout& tqlayout); + KoGenStyle savePageLayout(const KoPageLayout& tqlayout); /** - * Load a page layout from a QDomElement + * Load a page tqlayout from a TQDomElement */ - KoPageLayout loadPageLayout(const QDomElement& e); + KoPageLayout loadPageLayout(const TQDomElement& e); /** * Convert from the old TkUnit to KoUnit */ @@ -52,51 +52,51 @@ namespace Kivio /** * Return an approperiate string for the orientation */ - QString orientationString(KoOrientation o); + TQString orientationString(KoOrientation o); /** * Return the orientation based on the string */ - KoOrientation orientationFromString(const QString& s); - void setFormatOrientation(KoPageLayout& layout); + KoOrientation orientationFromString(const TQString& s); + void setFormatOrientation(KoPageLayout& tqlayout); /** - * Load a KoSize from a QDomElement + * Load a KoSize from a TQDomElement */ - KoSize loadSize(const QDomElement& e, const QString& name, const KoSize& def); + KoSize loadSize(const TQDomElement& e, const TQString& name, const KoSize& def); /** - * Save a KoSize to a QDomElement + * Save a KoSize to a TQDomElement */ - void saveSize(QDomElement& e, const QString& name, const KoSize& size); + void saveSize(TQDomElement& e, const TQString& name, const KoSize& size); /** - * Get the pagesize string from a QPrinter::PageSize value + * Get the pagesize string from a TQPrinter::PageSize value */ - QString pageSizeString(int pageSize); + TQString pageSizeString(int pageSize); /** * Returns a pixmap with all arrowheads */ - QPixmap arrowHeadPixmap(); + TQPixmap arrowHeadPixmap(); /** * Returns the connector target pixmap */ - QPixmap connectorTargetPixmap(); + TQPixmap connectorTargetPixmap(); /** * Returns the lock pixmap */ - QPixmap lockPixmap(); + TQPixmap lockPixmap(); /** * Get system default unit */ - QString systemDefaultUnit(); + TQString systemDefaultUnit(); /** * Generate a pixmap from a stencil */ - QPixmap generatePixmapFromStencil(int width, int height, KivioStencil* stencil); + TQPixmap generatePixmapFromStencil(int width, int height, KivioStencil* stencil); } #endif |