diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kivio/kiviopart/kivioglobal.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 |