diff options
author | Michele Calgaro <[email protected]> | 2023-12-16 13:06:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-17 20:13:58 +0900 |
commit | f5832e4abf01ded35901fb49f2f5edd73b594cc8 (patch) | |
tree | 190be2585fc82470c43d750e8c5dce7b635b81d1 | |
parent | c492704ab1b4289b3be8924fb96faa73a1f7627b (diff) | |
download | tdepowersave-f5832e4abf01ded35901fb49f2f5edd73b594cc8.tar.gz tdepowersave-f5832e4abf01ded35901fb49f2f5edd73b594cc8.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 58649ad84871bc59602cb310d8852db42c6f0c20)
-rw-r--r-- | src/tdepowersave.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tdepowersave.cpp b/src/tdepowersave.cpp index 3bfdb5d..28ba46a 100644 --- a/src/tdepowersave.cpp +++ b/src/tdepowersave.cpp @@ -123,13 +123,13 @@ tdepowersave::tdepowersave( bool force_acpi_check, bool trace_func ) : KSystemTr connect(autoDimm, TQT_SIGNAL(UserIsActiveAgain()), this, TQT_SLOT(do_upDimm())); // connect to hotkeys - m_globalAccel = new TDEGlobalAccel( TQT_TQOBJECT(this) ); + m_globalAccel = new TDEGlobalAccel( this ); m_globalAccel->insert( "Power button", i18n( "Execute configured power button action"), TQString(), - TDEShortcut(TQString("XF86PowerOff")), TDEShortcut(TQString("XF86PowerOff")), TQT_TQOBJECT(this), TQT_SLOT( handlePowerButtonEvent() ) ); + TDEShortcut(TQString("XF86PowerOff")), TDEShortcut(TQString("XF86PowerOff")), this, TQT_SLOT( handlePowerButtonEvent() ) ); m_globalAccel->insert( "Suspend button", i18n( "Suspend configured power button action"), TQString(), - TDEShortcut(TQString("XF86Suspend")), TDEShortcut(TQString("XF86Suspend")), TQT_TQOBJECT(this), TQT_SLOT( handleSuspendButtonEvent() ) ); + TDEShortcut(TQString("XF86Suspend")), TDEShortcut(TQString("XF86Suspend")), this, TQT_SLOT( handleSuspendButtonEvent() ) ); m_globalAccel->insert( "Hibernate button", i18n( "Hibernate configured power button action"), TQString(), - TDEShortcut(TQString("XF86Suspend")), TDEShortcut(TQString("XF86Suspend")), TQT_TQOBJECT(this), TQT_SLOT( handleS2DiskButtonEvent() ) ); + TDEShortcut(TQString("XF86Suspend")), TDEShortcut(TQString("XF86Suspend")), this, TQT_SLOT( handleS2DiskButtonEvent() ) ); m_globalAccel->readSettings(); m_globalAccel->updateConnections(); |