summaryrefslogtreecommitdiffstats
path: root/src/basket.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-14 21:19:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-14 21:25:04 +0900
commit7b0920cd4180823f7a42350d1bdb914d697f4b9c (patch)
tree642d4c71c1e0b0a060be3119313c682943720363 /src/basket.cpp
parent1a620eed38cfa429508f6ac347e09a694b4adf16 (diff)
downloadbasket-7b0920cd4180823f7a42350d1bdb914d697f4b9c.tar.gz
basket-7b0920cd4180823f7a42350d1bdb914d697f4b9c.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/basket.cpp')
-rw-r--r--src/basket.cpp8
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())