diff options
author | Michele Calgaro <[email protected]> | 2023-12-21 11:50:28 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-22 10:21:09 +0900 |
commit | d4393c1136b5fda7936d7506e3b9e3e6ac8e5897 (patch) | |
tree | 4e62267e24b4002d3a0f36a5b62578b902937bd7 /kdf | |
parent | 5b1fdb9a3fa898c7bc3921e75ae04eece2332fb3 (diff) | |
download | tdeutils-d4393c1136b5fda7936d7506e3b9e3e6ac8e5897.tar.gz tdeutils-d4393c1136b5fda7936d7506e3b9e3e6ac8e5897.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2)
Diffstat (limited to 'kdf')
-rw-r--r-- | kdf/kdf.cpp | 6 | ||||
-rw-r--r-- | kdf/kdfwidget.cpp | 2 | ||||
-rw-r--r-- | kdf/kwikdisk.cpp | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/kdf/kdf.cpp b/kdf/kdf.cpp index e316b3e..60b590d 100644 --- a/kdf/kdf.cpp +++ b/kdf/kdf.cpp @@ -41,10 +41,10 @@ KDFTopLevel::KDFTopLevel(TQWidget *, const char *name) { kdf = new KDFWidget(this,"kdf",FALSE); TQ_CHECK_PTR(kdf); - (void) new TDEAction( i18n( "&Update" ), 0, TQT_TQOBJECT(kdf), TQT_SLOT( updateDF() ), actionCollection(), "updatedf" ); + (void) new TDEAction( i18n( "&Update" ), 0, kdf, TQT_SLOT( updateDF() ), actionCollection(), "updatedf" ); - KStdAction::quit(TQT_TQOBJECT(this), TQT_SLOT(close()), actionCollection()); - KStdAction::preferences(TQT_TQOBJECT(kdf), TQT_SLOT(settingsBtnClicked()), actionCollection()); + KStdAction::quit(this, TQT_SLOT(close()), actionCollection()); + KStdAction::preferences(kdf, TQT_SLOT(settingsBtnClicked()), actionCollection()); KStdAction::keyBindings(guiFactory(), TQT_SLOT(configureShortcuts()), actionCollection()); setCentralWidget(kdf); diff --git a/kdf/kdfwidget.cpp b/kdf/kdfwidget.cpp index 7c5121d..5a759ed 100644 --- a/kdf/kdfwidget.cpp +++ b/kdf/kdfwidget.cpp @@ -283,7 +283,7 @@ void KDFWidget::setUpdateFrequency( int frequency ) // Kill current timer and restart it if the frequency is // larger than zero. // - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); if( frequency > 0 ) { startTimer( frequency * 1000 ); diff --git a/kdf/kwikdisk.cpp b/kdf/kwikdisk.cpp index c06e9c2..6b9dafb 100644 --- a/kdf/kwikdisk.cpp +++ b/kdf/kwikdisk.cpp @@ -134,7 +134,7 @@ void KwikDisk::setUpdateFrequency(int frequency) // Kill current timer and restart it if the frequency is // larger than zero. // - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); if( frequency > 0 ) { startTimer(frequency * 1000); |