summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-20 22:30:17 +0900
committerMichele Calgaro <[email protected]>2023-12-21 09:04:04 +0900
commitf2e4e24eda15469d2da0675284408825a0275c2f (patch)
treedc0ae4bb60277f594963b2af8c30a5fe0a13938a
parent856d6d139529d49b4875ecd9319b61d0dcbad8c3 (diff)
downloadtdeartwork-f2e4e24eda15469d2da0675284408825a0275c2f.tar.gz
tdeartwork-f2e4e24eda15469d2da0675284408825a0275c2f.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 1e8a010fe1ef1f1e9b605ceda2ee2f05846bc7be)
-rw-r--r--styles/phase/config/phasestyleconfig.cpp2
-rw-r--r--tdescreensaver/tdepartsaver/tdepartsaver.cpp2
-rw-r--r--twin-styles/glow/config/glowconfigdialog.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/styles/phase/config/phasestyleconfig.cpp b/styles/phase/config/phasestyleconfig.cpp
index d3695b83..df48f9e3 100644
--- a/styles/phase/config/phasestyleconfig.cpp
+++ b/styles/phase/config/phasestyleconfig.cpp
@@ -104,7 +104,7 @@ void PhaseStyleConfig::defaults()
extern "C"
{
KDE_EXPORT TQObject* allocate_tdestyle_config(TQWidget* parent) {
- return(TQT_TQOBJECT(new PhaseStyleConfig(parent)));
+ return(new PhaseStyleConfig(parent));
}
}
diff --git a/tdescreensaver/tdepartsaver/tdepartsaver.cpp b/tdescreensaver/tdepartsaver/tdepartsaver.cpp
index 92517d8f..98a20ee3 100644
--- a/tdescreensaver/tdepartsaver/tdepartsaver.cpp
+++ b/tdescreensaver/tdepartsaver/tdepartsaver.cpp
@@ -187,7 +187,7 @@ bool KPartSaver::openURL( KURL url )
}
// create kpart
- m_part = (KParts::ReadOnlyPart *)factory->create( TQT_TQOBJECT(this), "kpart", "KParts::ReadOnlyPart" );
+ m_part = (KParts::ReadOnlyPart *)factory->create( this, "kpart", "KParts::ReadOnlyPart" );
if( !m_part ) {
kdDebug() << "Part for " << url.url() << " can't be constructed" << endl;
return false;
diff --git a/twin-styles/glow/config/glowconfigdialog.cpp b/twin-styles/glow/config/glowconfigdialog.cpp
index f28e31c1..af13655e 100644
--- a/twin-styles/glow/config/glowconfigdialog.cpp
+++ b/twin-styles/glow/config/glowconfigdialog.cpp
@@ -120,7 +120,7 @@ GlowConfigDialog::GlowConfigDialog( TDEConfig * conf, TQWidget * parent )
// create signal mapper
_titleButtonMapper = new TQSignalMapper(this);
for( uint i=0; i<_titleButtonList.size(); i++ ) {
- _titleButtonMapper->setMapping(TQT_TQOBJECT(_titleButtonList[i]), i);
+ _titleButtonMapper->setMapping(_titleButtonList[i], i);
connect(_titleButtonList[i], TQT_SIGNAL(clicked()),_titleButtonMapper, TQT_SLOT(map()));
}
connect(_titleButtonMapper, TQT_SIGNAL(mapped(int)),this, TQT_SLOT(slotTitleButtonClicked(int)));