summaryrefslogtreecommitdiffstats
path: root/extra/kde331/ktoolbarbutton.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:09:42 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:09:42 -0600
commit2df6bde18ab40472f2df8637cf6456cb80dc2329 (patch)
tree5a4362124ff46786fce835d2f1e7d583c92a5670 /extra/kde331/ktoolbarbutton.h
parentbe6cfa4b990910e65e8d2f4f212eba3f7da6ee72 (diff)
downloadpytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.tar.gz
pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'extra/kde331/ktoolbarbutton.h')
-rw-r--r--extra/kde331/ktoolbarbutton.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/extra/kde331/ktoolbarbutton.h b/extra/kde331/ktoolbarbutton.h
index 20ab5db..724e26b 100644
--- a/extra/kde331/ktoolbarbutton.h
+++ b/extra/kde331/ktoolbarbutton.h
@@ -29,19 +29,19 @@
#include <tqstring.h>
#include <kglobal.h>
-class KToolBar;
-class KToolBarButtonPrivate;
+class TDEToolBar;
+class TDEToolBarButtonPrivate;
class TDEInstance;
class TQEvent;
class TQPopupMenu;
class TQPainter;
/**
- * A toolbar button. This is used internally by KToolBar, use the
- * KToolBar methods instead.
+ * A toolbar button. This is used internally by TDEToolBar, use the
+ * TDEToolBar methods instead.
* @internal
*/
-class KToolBarButton : public TQToolButton
+class TDEToolBarButton : public TQToolButton
{
Q_OBJECT
@@ -58,7 +58,7 @@ public:
* @param txt This button's text (in a tooltip or otherwise)
* @param _instance the instance to use for this button
*/
- KToolBarButton(const TQString& icon, int id, TQWidget *parent,
+ TDEToolBarButton(const TQString& icon, int id, TQWidget *parent,
const char *name=0L, const TQString &txt=TQString::null,
TDEInstance *_instance = TDEGlobal::instance());
@@ -73,7 +73,7 @@ public:
* @param name This button's internal name
* @param txt This button's text (in a tooltip or otherwise)
*/
- KToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent,
+ TDEToolBarButton(const TQPixmap& pixmap, int id, TQWidget *parent,
const char *name=0L, const TQString &txt=TQString::null);
/**
@@ -82,12 +82,12 @@ public:
* @param parent This button's parent
* @param name This button's internal name
*/
- KToolBarButton(TQWidget *parent=0L, const char *name=0L);
+ TDEToolBarButton(TQWidget *parent=0L, const char *name=0L);
/**
* Standard destructor
*/
- ~KToolBarButton();
+ ~TDEToolBarButton();
#ifndef KDE_NO_COMPAT
/**
@@ -297,19 +297,19 @@ protected slots:
protected:
virtual void virtual_hook( int id, void* data );
private:
- KToolBarButtonPrivate *d;
+ TDEToolBarButtonPrivate *d;
};
/**
-* List of KToolBarButton objects.
+* List of TDEToolBarButton objects.
* @internal
* @version $Id: ktoolbarbutton.h,v 1.36 2004/03/18 02:50:16 bmeyer Exp $
*/
-class KToolBarButtonList : public TQIntDict<KToolBarButton>
+class TDEToolBarButtonList : public TQIntDict<TDEToolBarButton>
{
public:
- KToolBarButtonList();
- ~KToolBarButtonList() {}
+ TDEToolBarButtonList();
+ ~TDEToolBarButtonList() {}
};
#endif