diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 19:14:52 +0900 |
commit | 83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2 (patch) | |
tree | 3f06640cc30ddc08f2603471e4b66a2b108e3eae /kdf | |
parent | aa69f1c2ffda0e4e0339c1686a9ff4b3d00f4ac7 (diff) | |
download | tdeutils-83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2.tar.gz tdeutils-83b7abfb88bb8d138bab0ab1c9f3e2d3afa418c2.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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); |