summaryrefslogtreecommitdiffstats
path: root/examples/themes/themes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/themes/themes.cpp')
-rw-r--r--examples/themes/themes.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/themes/themes.cpp b/examples/themes/themes.cpp
index 88111945..7eee9c99 100644
--- a/examples/themes/themes.cpp
+++ b/examples/themes/themes.cpp
@@ -57,7 +57,7 @@ Themes::Themes( TQWidget *parent, const char *name, WFlags f )
TQActionGroup *ag = new TQActionGroup( this, 0 );
ag->setExclusive( TRUE );
TQSignalMapper *styleMapper = new TQSignalMapper( this );
- connect( styleMapper, SIGNAL( mapped( const TQString& ) ), this, SLOT( makeStyle( const TQString& ) ) );
+ connect( styleMapper, TQ_SIGNAL( mapped( const TQString& ) ), this, TQ_SLOT( makeStyle( const TQString& ) ) );
TQStringList list = TQStyleFactory::keys();
list.sort();
#ifndef TQT_NO_STYLE_WINDOWS
@@ -81,18 +81,18 @@ Themes::Themes( TQWidget *parent, const char *name, WFlags f )
styleAccel = "&"+styleAccel;
}
TQAction *a = new TQAction( styleStr, TQIconSet(), styleAccel, 0, ag, 0, ag->isExclusive() );
- connect( a, SIGNAL( activated() ), styleMapper, SLOT(map()) );
+ connect( a, TQ_SIGNAL( activated() ), styleMapper, TQ_SLOT(map()) );
styleMapper->setMapping( a, a->text() );
}
ag->addTo(style);
style->insertSeparator();
- style->insertItem("&Quit", tqApp, SLOT( quit() ), CTRL | Key_Q );
+ style->insertItem("&Quit", tqApp, TQ_SLOT( quit() ), CTRL | Key_Q );
TQPopupMenu * help = new TQPopupMenu( this );
menuBar()->insertSeparator();
menuBar()->insertItem( "&Help", help );
- help->insertItem( "&About", this, SLOT(about()), Key_F1);
- help->insertItem( "About &TQt", this, SLOT(aboutTQt()));
+ help->insertItem( "&About", this, TQ_SLOT(about()), Key_F1);
+ help->insertItem( "About &TQt", this, TQ_SLOT(aboutTQt()));
#ifndef TQT_NO_STYLE_WINDOWS
tqApp->setStyle( new NorwegianWoodStyle );