Replace various '#define' strings - part 6

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/36/head
Michele Calgaro 9 months ago
parent 3c87f89058
commit 1e8a010fe1
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -104,7 +104,7 @@ void PhaseStyleConfig::defaults()
extern "C" extern "C"
{ {
KDE_EXPORT TQObject* allocate_tdestyle_config(TQWidget* parent) { KDE_EXPORT TQObject* allocate_tdestyle_config(TQWidget* parent) {
return(TQT_TQOBJECT(new PhaseStyleConfig(parent))); return(new PhaseStyleConfig(parent));
} }
} }

@ -187,7 +187,7 @@ bool KPartSaver::openURL( KURL url )
} }
// create kpart // 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 ) { if( !m_part ) {
kdDebug() << "Part for " << url.url() << " can't be constructed" << endl; kdDebug() << "Part for " << url.url() << " can't be constructed" << endl;
return false; return false;

@ -120,7 +120,7 @@ GlowConfigDialog::GlowConfigDialog( TDEConfig * conf, TQWidget * parent )
// create signal mapper // create signal mapper
_titleButtonMapper = new TQSignalMapper(this); _titleButtonMapper = new TQSignalMapper(this);
for( uint i=0; i<_titleButtonList.size(); i++ ) { 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(_titleButtonList[i], TQT_SIGNAL(clicked()),_titleButtonMapper, TQT_SLOT(map()));
} }
connect(_titleButtonMapper, TQT_SIGNAL(mapped(int)),this, TQT_SLOT(slotTitleButtonClicked(int))); connect(_titleButtonMapper, TQT_SIGNAL(mapped(int)),this, TQT_SLOT(slotTitleButtonClicked(int)));

Loading…
Cancel
Save