summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/oblique/menu.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-18 17:00:31 +0000
commit395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch)
tree9829cadb79d2cc7c29a940627fadb28b11e54150 /noatun-plugins/oblique/menu.h
parent399f47c376fdf4d19192732a701ea9578d11619d (diff)
downloadtdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.tar.gz
tdeaddons-395a904bff7b4d6ead445c342f7ac0c5fbf29121.zip
TQt4 port kdeaddons
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1237404 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun-plugins/oblique/menu.h')
-rw-r--r--noatun-plugins/oblique/menu.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/noatun-plugins/oblique/menu.h b/noatun-plugins/oblique/menu.h
index da464dc..1c12fa7 100644
--- a/noatun-plugins/oblique/menu.h
+++ b/noatun-plugins/oblique/menu.h
@@ -17,14 +17,15 @@
class FileMenu : public KPopupMenu
{
Q_OBJECT
+ TQ_OBJECT
TQValueList<File> mFiles;
public:
- FileMenu(TQWidget *parent, Oblique *oblique, File file);
+ FileMenu(TQWidget *tqparent, Oblique *oblique, File file);
/**
* @recursively uses everything under @p files
**/
- FileMenu(TQWidget *parent, Oblique *oblique, TreeItem *files);
+ FileMenu(TQWidget *tqparent, Oblique *oblique, TreeItem *files);
private slots:
void removeFromList();
@@ -35,6 +36,7 @@ private slots:
class SliceListAction : public KActionMenu
{
Q_OBJECT
+ TQ_OBJECT
TQMap<int, Slice*> mIndexToSlices;
TQValueList<File> mFiles;
Oblique *mOblique;
@@ -43,7 +45,7 @@ public:
SliceListAction(
const TQString &text, Oblique *oblique,
TQObject *reciever, const char *slot,
- const TQValueList<File> &files = TQValueList<File>(), TQObject *parent=0, const char *name=0
+ const TQValueList<File> &files = TQValueList<File>(), TQObject *tqparent=0, const char *name=0
);
signals:
@@ -58,6 +60,7 @@ private slots:
class SchemaListAction : public KActionMenu
{
Q_OBJECT
+ TQ_OBJECT
TQMap<int, TQString> mIndexToSchemas;
Tree *mTree;
@@ -65,7 +68,7 @@ public:
SchemaListAction(
const TQString &text,
TQObject *reciever, const char *slot,
- TQObject *parent, const char *name
+ TQObject *tqparent, const char *name
);
void setTree(Tree *tree) { mTree = tree; }
@@ -82,10 +85,11 @@ private slots:
class ObliquePropertiesDialog : public KPropertiesDialog
{
Q_OBJECT
+ TQ_OBJECT
TQValueList<File> mFiles;
public:
- ObliquePropertiesDialog(const TQValueList<File> &files, TQWidget *parent);
+ ObliquePropertiesDialog(const TQValueList<File> &files, TQWidget *tqparent);
private:
static KFileItemList makeItems(const TQValueList<File> &files);