diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:40:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-11 10:44:36 +0900 |
commit | ed7858de3a395180d6ec0c03d8358610b36938ea (patch) | |
tree | 1b81472d6cc0e957c603add6ab33814330e4afbe /kpackage/kpackage.cpp | |
parent | 41b29e64b5883035aba22b719c3174ed13d3a65a (diff) | |
download | tdeadmin-ed7858de3a395180d6ec0c03d8358610b36938ea.tar.gz tdeadmin-ed7858de3a395180d6ec0c03d8358610b36938ea.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kpackage/kpackage.cpp')
-rw-r--r-- | kpackage/kpackage.cpp | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kpackage/kpackage.cpp b/kpackage/kpackage.cpp index dc30f45..fb1d50f 100644 --- a/kpackage/kpackage.cpp +++ b/kpackage/kpackage.cpp @@ -93,53 +93,53 @@ KPKG::KPKG(TDEConfig *_config) void KPKG::setupMenu() { - pack_open = KStdAction::open(kpackage, TQT_SLOT(fileOpen()), + pack_open = KStdAction::open(kpackage, TQ_SLOT(fileOpen()), actionCollection()); - recent = KStdAction::openRecent(this, TQT_SLOT(openRecent(const KURL&)), + recent = KStdAction::openRecent(this, TQ_SLOT(openRecent(const KURL&)), actionCollection()); recent->loadEntries( config ); pack_find = new TDEAction( i18n("Find &Package..."), "edit-find", TDEStdAccel::shortcut(TDEStdAccel::Find), kpackage, - TQT_SLOT(find()), actionCollection(), "pack_find"); + TQ_SLOT(find()), actionCollection(), "pack_find"); pack_findf = new TDEAction( i18n("Find &File..."), "filefind", 0, kpackage, - TQT_SLOT(findf()), actionCollection(), "pack_findf"); + TQ_SLOT(findf()), actionCollection(), "pack_findf"); kpack_reload = new TDEAction( i18n("&Reload"), "reload", TDEStdAccel::shortcut(TDEStdAccel::Reload), kpackage, - TQT_SLOT(reload()), actionCollection(), "kpack_reload"); + TQ_SLOT(reload()), actionCollection(), "kpack_reload"); - (void) KStdAction::quit(kpackage, TQT_SLOT(fileQuit()), + (void) KStdAction::quit(kpackage, TQ_SLOT(fileQuit()), actionCollection()); - pack_prev = KStdAction::back(kpackage->management->treeList, TQT_SLOT(previous()), + pack_prev = KStdAction::back(kpackage->management->treeList, TQ_SLOT(previous()), actionCollection(),"pack_prev"); - pack_next = KStdAction::forward(kpackage->management->treeList, TQT_SLOT(next()), + pack_next = KStdAction::forward(kpackage->management->treeList, TQ_SLOT(next()), actionCollection(),"pack_next"); (void) (new TDEAction( i18n("&Expand Tree"), "ftout", 0, kpackage, - TQT_SLOT(expandTree()), actionCollection(), "kpack_expand")); + TQ_SLOT(expandTree()), actionCollection(), "kpack_expand")); (void) (new TDEAction( i18n("&Collapse Tree"), "ftin", 0, kpackage, - TQT_SLOT(collapseTree()), actionCollection(), "kpack_collapse")); + TQ_SLOT(collapseTree()), actionCollection(), "kpack_collapse")); (void) (new TDEAction( i18n("Clear &Marked"), TQString(), 0, kpackage, - TQT_SLOT(clearMarked()), actionCollection(), "kpack_clear")); + TQ_SLOT(clearMarked()), actionCollection(), "kpack_clear")); (void) (new TDEAction( i18n("Mark &All"), TQString(), 0, kpackage, - TQT_SLOT(markAll()), actionCollection(), "kpack_markall")); + TQ_SLOT(markAll()), actionCollection(), "kpack_markall")); pack_install = new TDEAction( i18n("&Install"), TQString(), 0, kpackage->management, - TQT_SLOT(installSingleClicked()), actionCollection(), "install_single"); + TQ_SLOT(installSingleClicked()), actionCollection(), "install_single"); pack_install->setEnabled(false); kpackage->management->setInstallAction(pack_install); @@ -147,7 +147,7 @@ void KPKG::setupMenu() pack_uninstall = new TDEAction( i18n("&Uninstall"), TQString(), 0, kpackage->management, - TQT_SLOT(uninstallSingleClicked()), actionCollection(), "uninstall_single"); + TQ_SLOT(uninstallSingleClicked()), actionCollection(), "uninstall_single"); pack_uninstall->setEnabled(false); kpackage->management->setUninstallAction(pack_uninstall); @@ -155,32 +155,32 @@ void KPKG::setupMenu() (void) (new TDEAction( i18n("&Install Marked"), TQString(), 0, kpackage->management, - TQT_SLOT(installMultClicked()), actionCollection(), "install_marked")); + TQ_SLOT(installMultClicked()), actionCollection(), "install_marked")); (void) (new TDEAction( i18n("&Uninstall Marked"), TQString(), 0, kpackage->management, - TQT_SLOT(uninstallMultClicked()), actionCollection(), "uninstall_marked")); + TQ_SLOT(uninstallMultClicked()), actionCollection(), "uninstall_marked")); setStandardToolBarMenuEnabled(true); - KStdAction::configureToolbars( this, TQT_SLOT(configureToolBars()), + KStdAction::configureToolbars( this, TQ_SLOT(configureToolBars()), actionCollection()); - KStdAction::saveOptions( this, TQT_SLOT(saveSettings()), actionCollection()); + KStdAction::saveOptions( this, TQ_SLOT(saveSettings()), actionCollection()); - KStdAction::keyBindings( guiFactory(), TQT_SLOT(configureShortcuts()), actionCollection()); + KStdAction::keyBindings( guiFactory(), TQ_SLOT(configureShortcuts()), actionCollection()); (void) (new TDEAction( i18n("Configure &KPackage..."), "configure", 0, this, - TQT_SLOT(setOptions()), actionCollection(), "kpack_options")); + TQ_SLOT(setOptions()), actionCollection(), "kpack_options")); (void) (new TDEAction( i18n("Clear Package &Folder Cache"), TQString(), 0, this, - TQT_SLOT(clearDCache()), actionCollection(), "clear_dcache")); + TQ_SLOT(clearDCache()), actionCollection(), "clear_dcache")); (void) (new TDEAction( i18n("Clear &Package Cache"), TQString(), 0, this, - TQT_SLOT(clearPCache()), actionCollection(), "clear_pcache")); + TQ_SLOT(clearPCache()), actionCollection(), "clear_pcache")); int i; for (i = 0; i < kpinterfaceN; i++) { @@ -239,7 +239,7 @@ void KPKG::add_recent_file(const TQString &newfile){ void KPKG::configureToolBars() { KEditToolbar dlg(actionCollection()); - connect(&dlg,TQT_SIGNAL(newToolbarConfig()),this,TQT_SLOT(slotNewToolbarConfig())); + connect(&dlg,TQ_SIGNAL(newToolbarConfig()),this,TQ_SLOT(slotNewToolbarConfig())); dlg.exec(); } |