summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
Diffstat (limited to 'twin')
-rw-r--r--twin/kcmtwin/twinrules/kcm.cpp2
-rw-r--r--twin/sm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/twin/kcmtwin/twinrules/kcm.cpp b/twin/kcmtwin/twinrules/kcm.cpp
index 2f28bc5dd..6e7b54890 100644
--- a/twin/kcmtwin/twinrules/kcm.cpp
+++ b/twin/kcmtwin/twinrules/kcm.cpp
@@ -44,7 +44,7 @@ KCMRules::KCMRules( TQWidget *parent, const char *name )
{
TQVBoxLayout *layout = new TQVBoxLayout( this );
widget = new KCMRulesList( this );
- layout->addWidget( TQT_TQWIDGET(widget) );
+ layout->addWidget( widget );
connect( widget, TQT_SIGNAL( changed( bool )), TQT_SLOT( moduleChanged( bool )));
TDEAboutData *about = new TDEAboutData(I18N_NOOP( "kcmtwinrules" ),
I18N_NOOP( "Window-Specific Settings Configuration Module" ),
diff --git a/twin/sm.cpp b/twin/sm.cpp
index 53d2a5f29..316322edd 100644
--- a/twin/sm.cpp
+++ b/twin/sm.cpp
@@ -416,7 +416,7 @@ SessionSaveDoneHelper::SessionSaveDoneHelper()
SmProp* p[ 5 ] = { &props[ 0 ], &props[ 1 ], &props[ 2 ], &props[ 3 ], &props[ 4 ] };
SmcSetProperties( conn, 5, p );
notifier = new TQSocketNotifier( IceConnectionNumber( SmcGetIceConnection( conn )),
- TQSocketNotifier::Read, TQT_TQOBJECT(this) );
+ TQSocketNotifier::Read, this );
connect( notifier, TQT_SIGNAL( activated( int )), TQT_SLOT( processData()));
}