From 580d345952faf597f69347256e0ad3411725988a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 4 Feb 2013 14:16:27 -0600 Subject: Rename KIcon to enhance compatibility with KDE4 --- kiconedit/properties.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kiconedit/properties.h') diff --git a/kiconedit/properties.h b/kiconedit/properties.h index 0f4e7b0e..e4872273 100644 --- a/kiconedit/properties.h +++ b/kiconedit/properties.h @@ -26,11 +26,11 @@ #include "kicongrid.h" -class KIconEditProperties : public TQObject +class TDEIconEditProperties : public TQObject { public: - static KIconEditProperties* self(); - ~KIconEditProperties(); + static TDEIconEditProperties* self(); + ~TDEIconEditProperties(); TQString bgPixmap() { return m_bgPixmap; } TQColor bgColor() { return m_bgColor; } @@ -40,10 +40,10 @@ public: bool showRulers() { return m_showRulers; } int gridScale() { return m_gridScale; } - KIconEditGrid::TransparencyDisplayType transparencyDisplayType() const { return m_transparencyDisplayType; } + TDEIconEditGrid::TransparencyDisplayType transparencyDisplayType() const { return m_transparencyDisplayType; } TQColor checkerboardColor1() const { return m_checkerboardColor1; } TQColor checkerboardColor2() const { return m_checkerboardColor2; } - KIconEditGrid::CheckerboardSize checkerboardSize() const { return m_checkerboardSize; } + TDEIconEditGrid::CheckerboardSize checkerboardSize() const { return m_checkerboardSize; } TQColor transparencySolidColor() const { return m_transparencySolidColor; } void setBgPixmap( const TQString &p ) { m_bgPixmap = p; } @@ -53,16 +53,16 @@ public: void setPasteTransparent( bool b ) { m_pasteTransparent = b; } void setShowRulers( bool b ) { m_showRulers = b; } void setGridScale( int s ) { m_gridScale = s; } - void setTransparencyDisplayType(KIconEditGrid::TransparencyDisplayType t) { m_transparencyDisplayType = t; } + void setTransparencyDisplayType(TDEIconEditGrid::TransparencyDisplayType t) { m_transparencyDisplayType = t; } void setCheckerboardColor1(const TQColor& c) { m_checkerboardColor1 = c; } void setCheckerboardColor2(const TQColor& c) { m_checkerboardColor2 = c; } - void setCheckerboardSize(KIconEditGrid::CheckerboardSize size) { m_checkerboardSize = size; } + void setCheckerboardSize(TDEIconEditGrid::CheckerboardSize size) { m_checkerboardSize = size; } void setTransparencySolidColor(const TQColor& c) { m_transparencySolidColor = c; } void save(); protected: - KIconEditProperties(); + TDEIconEditProperties(); TQString m_bgPixmap; TQColor m_bgColor; TQWidget::BackgroundMode m_bgMode; @@ -70,13 +70,13 @@ protected: bool m_pasteTransparent; bool m_showRulers; int m_gridScale; - KIconEditGrid::TransparencyDisplayType m_transparencyDisplayType; + TDEIconEditGrid::TransparencyDisplayType m_transparencyDisplayType; TQColor m_checkerboardColor1; TQColor m_checkerboardColor2; - KIconEditGrid::CheckerboardSize m_checkerboardSize; + TDEIconEditGrid::CheckerboardSize m_checkerboardSize; TQColor m_transparencySolidColor; - static KIconEditProperties* m_self; + static TDEIconEditProperties* m_self; }; #endif //__PROPS_H__ -- cgit v1.2.1