diff options
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())); |