diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kolourpaint/kpdocumentsaveoptions.h | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolourpaint/kpdocumentsaveoptions.h')
-rw-r--r-- | kolourpaint/kpdocumentsaveoptions.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kolourpaint/kpdocumentsaveoptions.h b/kolourpaint/kpdocumentsaveoptions.h index 0d77ec2c..d6279885 100644 --- a/kolourpaint/kpdocumentsaveoptions.h +++ b/kolourpaint/kpdocumentsaveoptions.h @@ -30,8 +30,8 @@ #define KP_DOCUMENT_SAVE_OPTIONS_H -class QPixmap; -class QString; +class TQPixmap; +class TQString; class KConfigBase; @@ -41,7 +41,7 @@ class kpDocumentSaveOptions public: kpDocumentSaveOptions (); kpDocumentSaveOptions (const kpDocumentSaveOptions &rhs); - kpDocumentSaveOptions (QString mimeType, int colorDepth, bool dither, int quality); + kpDocumentSaveOptions (TQString mimeType, int colorDepth, bool dither, int quality); virtual ~kpDocumentSaveOptions (); bool operator== (const kpDocumentSaveOptions &rhs) const; @@ -50,14 +50,14 @@ public: kpDocumentSaveOptions &operator= (const kpDocumentSaveOptions &rhs); - void printDebug (const QString &prefix) const; + void printDebug (const TQString &prefix) const; - QString mimeType () const; - void setMimeType (const QString &mimeType); + TQString mimeType () const; + void setMimeType (const TQString &mimeType); - static QString invalidMimeType (); - static bool mimeTypeIsInvalid (const QString &mimeType); + static TQString invalidMimeType (); + static bool mimeTypeIsInvalid (const TQString &mimeType); bool mimeTypeIsInvalid () const; @@ -86,8 +86,8 @@ public: // (All assume that <config>'s group has been set) // (None of them call KConfigBase::reparseConfig() nor KConfigBase::sync()) - static QString defaultMimeType (KConfigBase *config); - static void saveDefaultMimeType (KConfigBase *config, const QString &mimeType); + static TQString defaultMimeType (KConfigBase *config); + static void saveDefaultMimeType (KConfigBase *config, const TQString &mimeType); static int defaultColorDepth (KConfigBase *config); static void saveDefaultColorDepth (KConfigBase *config, int colorDepth); @@ -108,14 +108,14 @@ public: public: // (purely for informational purposes - not enforced by this class) - static int mimeTypeMaximumColorDepth (const QString &mimeType); + static int mimeTypeMaximumColorDepth (const TQString &mimeType); int mimeTypeMaximumColorDepth () const; - static bool mimeTypeHasConfigurableColorDepth (const QString &mimeType); + static bool mimeTypeHasConfigurableColorDepth (const TQString &mimeType); bool mimeTypeHasConfigurableColorDepth () const; - static bool mimeTypeHasConfigurableQuality (const QString &mimeType); + static bool mimeTypeHasConfigurableQuality (const TQString &mimeType); bool mimeTypeHasConfigurableQuality () const; @@ -136,7 +136,7 @@ public: // Returns whether saving <pixmap> with these options will result in // loss of information. Returned value is the bitwise OR of // LossType enum possiblities. - int isLossyForSaving (const QPixmap &pixmap) const; + int isLossyForSaving (const TQPixmap &pixmap) const; private: |