diff options
Diffstat (limited to 'noatun-plugins/oblique')
-rw-r--r-- | noatun-plugins/oblique/cmodule.cpp | 2 | ||||
-rw-r--r-- | noatun-plugins/oblique/menu.cpp | 8 | ||||
-rw-r--r-- | noatun-plugins/oblique/view.cpp | 14 |
3 files changed, 12 insertions, 12 deletions
diff --git a/noatun-plugins/oblique/cmodule.cpp b/noatun-plugins/oblique/cmodule.cpp index b3bf45f..f7f8448 100644 --- a/noatun-plugins/oblique/cmodule.cpp +++ b/noatun-plugins/oblique/cmodule.cpp @@ -355,7 +355,7 @@ void SchemaConfig::editValueRegexp() { mRegexpEditor = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( - "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) + "KRegExpEditor/KRegExpEditor", TQString(), this ); } diff --git a/noatun-plugins/oblique/menu.cpp b/noatun-plugins/oblique/menu.cpp index 84a46c8..cbf67c3 100644 --- a/noatun-plugins/oblique/menu.cpp +++ b/noatun-plugins/oblique/menu.cpp @@ -20,8 +20,8 @@ FileMenu::FileMenu(TQWidget *parent, Oblique *oblique, File file) (new SliceListAction( i18n("&Slices"), oblique, - TQT_TQOBJECT(this), TQT_SLOT(toggleInSlice(Slice *)), - mFiles, TQT_TQOBJECT(this) + this, TQT_SLOT(toggleInSlice(Slice *)), + mFiles, this ))->plug(this); } @@ -52,8 +52,8 @@ FileMenu::FileMenu(TQWidget *parent, Oblique *oblique, TreeItem *items) (new SliceListAction( i18n("&Slices"), oblique, - TQT_TQOBJECT(this), TQT_SLOT(toggleInSlice(Slice *)), - mFiles,TQT_TQOBJECT(this) + this, TQT_SLOT(toggleInSlice(Slice *)), + mFiles,this ))->plug(this); } diff --git a/noatun-plugins/oblique/view.cpp b/noatun-plugins/oblique/view.cpp index d2d0a87..32210cd 100644 --- a/noatun-plugins/oblique/view.cpp +++ b/noatun-plugins/oblique/view.cpp @@ -42,9 +42,9 @@ View::View(Oblique *oblique) setCentralWidget(mTabs); TDEAction *ac; - ac = new TDEAction(i18n("Add &Files..."), "queue", 0, TQT_TQOBJECT(this), TQT_SLOT(addFiles()), actionCollection(), "add_files"); + ac = new TDEAction(i18n("Add &Files..."), "queue", 0, this, TQT_SLOT(addFiles()), actionCollection(), "add_files"); ac->setWhatsThis(i18n("Add a reference to a media file on disk to this collection.")); - ac = new TDEAction(i18n("Add Fol&ders..."), "folder", 0, TQT_TQOBJECT(this), TQT_SLOT(addDirectory()), actionCollection(), "add_dir"); + ac = new TDEAction(i18n("Add Fol&ders..."), "folder", 0, this, TQT_SLOT(addDirectory()), actionCollection(), "add_dir"); // ac = new TDEAction(i18n("&Reload"), "reload", 0, oblique, TQT_SLOT(reload()), actionCollection(), "reload"); @@ -52,22 +52,22 @@ View::View(Oblique *oblique) ac = new SliceListAction( i18n("&Slices"), oblique, - TQT_TQOBJECT(this), TQT_SLOT(use(Slice*)), TQValueList<File>(), actionCollection(), "slices" + this, TQT_SLOT(use(Slice*)), TQValueList<File>(), actionCollection(), "slices" ); ac->setWhatsThis(i18n("Select a sub-collection to display")); mSchemaListAction = new SchemaListAction( - i18n("&Schemas"), TQT_TQOBJECT(this), TQT_SLOT(setSchema(const TQString&)), actionCollection(), "schemas" + i18n("&Schemas"), this, TQT_SLOT(setSchema(const TQString&)), actionCollection(), "schemas" ); mSchemaListAction->setWhatsThis(i18n("Select a schema to use to collate the tree.")); ac = new TDEAction( - i18n("&New Tab"), "tab_new", "CTRL+SHIFT+N;CTRL+T", TQT_TQOBJECT(this), TQT_SLOT(addTab()), + i18n("&New Tab"), "tab_new", "CTRL+SHIFT+N;CTRL+T", this, TQT_SLOT(addTab()), actionCollection(), "newtab" ); mRemoveTabAction = new TDEAction( - i18n("&Close Current Tab"), "tab_remove", CTRL+Key_W, TQT_TQOBJECT(this), TQT_SLOT(removeTab()), + i18n("&Close Current Tab"), "tab_remove", CTRL+Key_W, this, TQT_SLOT(removeTab()), actionCollection(), "removecurrenttab" ); @@ -87,7 +87,7 @@ View::View(Oblique *oblique) connect(jumpAction->lineEdit(), TQT_SIGNAL(textChanged(const TQString&)), TQT_SLOT(jumpTextChanged(const TQString&))); } - KStdAction::configureToolbars(TQT_TQOBJECT(this), TQT_SLOT(configureToolBars()), actionCollection()); + KStdAction::configureToolbars(this, TQT_SLOT(configureToolBars()), actionCollection()); applyMainWindowSettings(TDEGlobal::config(), "Oblique View"); createGUI("obliqueui.rc"); |