diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-18 17:00:31 +0000 |
commit | 395a904bff7b4d6ead445c342f7ac0c5fbf29121 (patch) | |
tree | 9829cadb79d2cc7c29a940627fadb28b11e54150 /noatun-plugins/oblique/menu.cpp | |
parent | 399f47c376fdf4d19192732a701ea9578d11619d (diff) | |
download | tdeaddons-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.cpp')
-rw-r--r-- | noatun-plugins/oblique/menu.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/noatun-plugins/oblique/menu.cpp b/noatun-plugins/oblique/menu.cpp index 3867f19..ae22592 100644 --- a/noatun-plugins/oblique/menu.cpp +++ b/noatun-plugins/oblique/menu.cpp @@ -7,8 +7,8 @@ #include "tree.h" -FileMenu::FileMenu(TQWidget *parent, Oblique *oblique, File file) - : KPopupMenu(parent) +FileMenu::FileMenu(TQWidget *tqparent, Oblique *oblique, File file) + : KPopupMenu(tqparent) { if (file) mFiles.append(file); @@ -20,8 +20,8 @@ FileMenu::FileMenu(TQWidget *parent, Oblique *oblique, File file) (new SliceListAction( i18n("&Slices"), oblique, - this, TQT_SLOT(toggleInSlice(Slice *)), - mFiles, this + TQT_TQOBJECT(this), TQT_SLOT(toggleInSlice(Slice *)), + mFiles, TQT_TQOBJECT(this) ))->plug(this); } @@ -39,8 +39,8 @@ static void addTo(TQValueList<File> &files, TreeItem *item) } } -FileMenu::FileMenu(TQWidget *parent, Oblique *oblique, TreeItem *items) - : KPopupMenu(parent) +FileMenu::FileMenu(TQWidget *tqparent, Oblique *oblique, TreeItem *items) + : KPopupMenu(tqparent) { addTo(mFiles, items); @@ -52,8 +52,8 @@ FileMenu::FileMenu(TQWidget *parent, Oblique *oblique, TreeItem *items) (new SliceListAction( i18n("&Slices"), oblique, - this, TQT_SLOT(toggleInSlice(Slice *)), - mFiles, this + TQT_TQOBJECT(this), TQT_SLOT(toggleInSlice(Slice *)), + mFiles,TQT_TQOBJECT(this) ))->plug(this); } @@ -67,7 +67,7 @@ void FileMenu::removeFromList() void FileMenu::properties() { - new ObliquePropertiesDialog(mFiles, parentWidget()); + new ObliquePropertiesDialog(mFiles, tqparentWidget()); } void FileMenu::toggleInSlice(Slice *slice) @@ -92,8 +92,8 @@ void FileMenu::toggleInSlice(Slice *slice) SliceListAction::SliceListAction( const TQString &text, Oblique *oblique, TQObject *reciever, const char *slot, - const TQValueList<File> &files, TQObject *parent, const char *name - ) : KActionMenu(text, parent, name) + const TQValueList<File> &files, TQObject *tqparent, const char *name + ) : KActionMenu(text, tqparent, name) { mFiles = files; mOblique = oblique; @@ -153,8 +153,8 @@ void SliceListAction::hit(int index) SchemaListAction::SchemaListAction( const TQString &text, TQObject *reciever, const char *slot, - TQObject *parent, const char *name - ) : KActionMenu(text, parent, name) + TQObject *tqparent, const char *name + ) : KActionMenu(text, tqparent, name) { mTree = 0; if (reciever) @@ -197,8 +197,8 @@ void SchemaListAction::hit(int index) -ObliquePropertiesDialog::ObliquePropertiesDialog(const TQValueList<File> &files, TQWidget *parent) - : KPropertiesDialog(makeItems(files), parent), mFiles(files) +ObliquePropertiesDialog::ObliquePropertiesDialog(const TQValueList<File> &files, TQWidget *tqparent) + : KPropertiesDialog(makeItems(files), tqparent), mFiles(files) { connect(this, TQT_SIGNAL(propertiesClosed()), TQT_SLOT(deleteLater())); connect(this, TQT_SIGNAL(applied()), TQT_SLOT(modified())); |