summaryrefslogtreecommitdiffstats
path: root/chalk/ui/layerlist.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 /chalk/ui/layerlist.h
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'chalk/ui/layerlist.h')
-rw-r--r--chalk/ui/layerlist.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/chalk/ui/layerlist.h b/chalk/ui/layerlist.h
index 39cd0214..b51a1c68 100644
--- a/chalk/ui/layerlist.h
+++ b/chalk/ui/layerlist.h
@@ -26,12 +26,12 @@
class TQMouseEvent;
class TQString;
-class KPopupMenu;
+class TDEPopupMenu;
class LayerItem;
class LayerFolder;
template<class T> class TQPtrList;
-class LayerList: public KListView
+class LayerList: public TDEListView
{
Q_OBJECT
@@ -68,7 +68,7 @@ public:
{
enum { NewLayer = 0, NewFolder, RemoveLayer, LayerProperties, COUNT };
};
- KPopupMenu *contextMenu() const;
+ TDEPopupMenu *contextMenu() const;
public slots:
void setFoldersCanBeActive( bool can );
@@ -143,7 +143,7 @@ protected slots:
virtual void menuActivated( int id, LayerItem *layer );
private:
- typedef KListView super;
+ typedef TDEListView super;
friend class LayerItem;
friend class LayerToolTIp;
@@ -166,7 +166,7 @@ protected:
virtual void findDrop( const TQPoint &pos, TQListViewItem *&parent, TQListViewItem *&after );
};
-class LayerItem: public KListViewItem
+class LayerItem: public TDEListViewItem
{
public:
LayerItem( const TQString &displayName, LayerList *parent, LayerItem *after = 0, int id = -1 );
@@ -240,7 +240,7 @@ protected:
virtual TQImage tooltipPreview() const;
private:
- typedef KListViewItem super;
+ typedef TDEListViewItem super;
friend class LayerList;
friend class LayerToolTip;