diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-14 21:19:09 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-15 11:44:14 +0900 |
| commit | 50245e3df9d78cdd42e9551fb32a3ea032434b0e (patch) | |
| tree | fc0ca43d4b1e690730e54765a97263c0c25f290e /src/basket.cpp | |
| parent | b70474e0dea4405c89c44d798dad759bd7e5d7a9 (diff) | |
| download | basket-50245e3d.tar.gz basket-50245e3d.zip | |
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7b0920cd4180823f7a42350d1bdb914d697f4b9c)
Diffstat (limited to 'src/basket.cpp')
| -rw-r--r-- | src/basket.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/basket.cpp b/src/basket.cpp index 8d57e8d..f6f76d7 100644 --- a/src/basket.cpp +++ b/src/basket.cpp @@ -1308,7 +1308,7 @@ void Basket::setShortcut(TDEShortcut shortcut, int action) m_shortcutAction = action; if (action > 0) - Global::globalAccel->insert(sAction, m_action->text(), /*whatsThis=*/"", m_action->shortcut(), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(activatedShortcut()), /*configurable=*/false); + Global::globalAccel->insert(sAction, m_action->text(), /*whatsThis=*/"", m_action->shortcut(), TDEShortcut(), this, TQT_SLOT(activatedShortcut()), /*configurable=*/false); Global::globalAccel->updateConnections(); } @@ -1357,7 +1357,7 @@ Basket::Basket(TQWidget *parent, const TQString &folderName) m_finishLoadOnFirstShow(false), m_relayoutOnNextShow(false) { TQString sAction = "local_basket_activate_" + folderName; - m_action = new TDEAction("FAKE TEXT", "FAKE ICON", TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(activatedShortcut()), Global::bnpView->actionCollection(), sAction.utf8()); + m_action = new TDEAction("FAKE TEXT", "FAKE ICON", TDEShortcut(), this, TQT_SLOT(activatedShortcut()), Global::bnpView->actionCollection(), sAction.utf8()); m_action->setShortcutConfigurable(false); // We do it in the basket properties dialog (and keep it in sync with the global one) if (!m_folderName.endsWith("/")) @@ -1377,7 +1377,7 @@ Basket::Basket(TQWidget *parent, const TQString &folderName) viewport()->setBackgroundMode(NoBackground); // Do not clear the widget before paintEvent() because we always draw every pixels (faster and flicker-free) // File Watcher: - m_watcher = new KDirWatch(TQT_TQOBJECT(this)); + m_watcher = new KDirWatch(this); connect( m_watcher, TQT_SIGNAL(dirty(const TQString&)), this, TQT_SLOT(watchedFileModified(const TQString&)) ); connect( m_watcher, TQT_SIGNAL(deleted(const TQString&)), this, TQT_SLOT(watchedFileDeleted(const TQString&)) ); connect( &m_watcherTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(updateModifiedNotes()) ); @@ -5413,7 +5413,7 @@ bool Basket::saveToFile(const TQString& fullPath, const TQByteArray& array, TQ_U : i18n("File permissions are bad for <b>%1</b>. Please check that you have write access to it and the parent folders.") .arg(fullPath) ), - TQT_TQWIDGET(kapp->activeWindow()) + kapp->activeWindow() ); } if (!dialog->isShown()) |
