summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/tkcoloractions.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /lib/kofficeui/tkcoloractions.h
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'lib/kofficeui/tkcoloractions.h')
-rw-r--r--lib/kofficeui/tkcoloractions.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/kofficeui/tkcoloractions.h b/lib/kofficeui/tkcoloractions.h
index 5ef5d3f4..2b5dcd82 100644
--- a/lib/kofficeui/tkcoloractions.h
+++ b/lib/kofficeui/tkcoloractions.h
@@ -28,9 +28,9 @@
class TQGridLayout;
class TKColorPanel;
-class TKSelectColorActionPrivate;
+class TTDESelectColorActionPrivate;
-class TKColorPopupMenu : public KPopupMenu
+class TKColorPopupMenu : public TDEPopupMenu
{ Q_OBJECT
public:
@@ -41,7 +41,7 @@ public slots:
void updateItemSize();
};
/****************************************************************************************/
-class KOFFICEUI_EXPORT TKSelectColorAction : public TKAction
+class KOFFICEUI_EXPORT TTDESelectColorAction : public TTDEAction
{ Q_OBJECT
public:
@@ -52,16 +52,16 @@ public:
Color
};
- TKSelectColorAction( const TQString& text, Type type, TQObject* parent, const char* name, bool menuDefaultColor=false);
- TKSelectColorAction( const TQString& text, Type type,
+ TTDESelectColorAction( const TQString& text, Type type, TQObject* parent, const char* name, bool menuDefaultColor=false);
+ TTDESelectColorAction( const TQString& text, Type type,
TQObject* receiver, const char* slot,
TQObject* parent, const char* name,bool menuDefaultColor=false );
- virtual ~TKSelectColorAction();
+ virtual ~TTDESelectColorAction();
TQColor color() const { return m_pCurrentColor; }
- KPopupMenu* popupMenu() const { return m_pMenu; }
+ TDEPopupMenu* popupMenu() const { return m_pMenu; }
void setDefaultColor(const TQColor &_col);
@@ -82,9 +82,9 @@ protected slots:
protected:
void init();
- virtual void initToolBarButton(TKToolBarButton*);
+ virtual void initToolBarButton(TTDEToolBarButton*);
void updatePixmap();
- void updatePixmap(TKToolBarButton*);
+ void updatePixmap(TTDEToolBarButton*);
protected:
TKColorPopupMenu* m_pMenu;
@@ -95,7 +95,7 @@ protected:
TQColor m_pCurrentColor;
private:
- TKSelectColorActionPrivate *d;
+ TTDESelectColorActionPrivate *d;
};
/****************************************************************************************/
class TKColorPanelButton : public TQFrame