diff options
author | Michele Calgaro <[email protected]> | 2023-12-16 13:06:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-16 14:36:55 +0900 |
commit | 58649ad84871bc59602cb310d8852db42c6f0c20 (patch) | |
tree | 1c3d1ed188a2737bf002d6ac5e7d2a8addcf62c0 /src/tdepowersave.cpp | |
parent | 96ba1bf77c4336832e3bf38df7d33b9649bbd5b3 (diff) | |
download | tdepowersave-58649ad84871bc59602cb310d8852db42c6f0c20.tar.gz tdepowersave-58649ad84871bc59602cb310d8852db42c6f0c20.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/tdepowersave.cpp')
-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(); |