summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/opieinput
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/opieinput')
-rw-r--r--languages/cpp/app_templates/opieinput/simpleimpl.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/languages/cpp/app_templates/opieinput/simpleimpl.cpp b/languages/cpp/app_templates/opieinput/simpleimpl.cpp
index a77f413b..dd3475e1 100644
--- a/languages/cpp/app_templates/opieinput/simpleimpl.cpp
+++ b/languages/cpp/app_templates/opieinput/simpleimpl.cpp
@@ -11,33 +11,33 @@
: TQHBox(par, "name", fl )
{
TQCheckBox *box1 = new TQCheckBox(tr("Alt"),this);
- connect(box1,TQT_SIGNAL(toggled(bool)),
- this,TQT_SLOT(slotAlt(bool)));
+ connect(box1,TQ_SIGNAL(toggled(bool)),
+ this,TQ_SLOT(slotAlt(bool)));
m_alt = box1;
box1 = new TQCheckBox(tr("Shift"),this );
- connect(box1,TQT_SIGNAL(toggled(bool)),
- this,TQT_SLOT(slotShift(bool)));
+ connect(box1,TQ_SIGNAL(toggled(bool)),
+ this,TQ_SLOT(slotShift(bool)));
m_shi = box1;
box1 = new TQCheckBox(tr("Ctrl","Control Shortcut on keyboard"),this );
- connect(box1,TQT_SIGNAL(toggled(bool)),
- this,TQT_SLOT(slotCtrl(bool)));
+ connect(box1,TQ_SIGNAL(toggled(bool)),
+ this,TQ_SLOT(slotCtrl(bool)));
m_ctrl = box1;
TQSignalMapper *map = new TQSignalMapper(this);
TQPushButton *btn = new TQPushButton("a",this);
map->setMapping(btn,0);
- connect(btn,TQT_SIGNAL(clicked()),map,TQT_SLOT(map()));
+ connect(btn,TQ_SIGNAL(clicked()),map,TQ_SLOT(map()));
btn = new TQPushButton("b",this);
map->setMapping(btn,1);
- connect(btn,TQT_SIGNAL(clicked()),map,TQT_SLOT(map()));
+ connect(btn,TQ_SIGNAL(clicked()),map,TQ_SLOT(map()));
btn = new TQPushButton("c",this);
map->setMapping(btn,2);
- connect(btn,TQT_SIGNAL(clicked()),map,TQT_SLOT(map()));
+ connect(btn,TQ_SIGNAL(clicked()),map,TQ_SLOT(map()));
- connect(map,TQT_SIGNAL(mapped(int)),
- this,TQT_SLOT(slotKey(int)));
+ connect(map,TQ_SIGNAL(mapped(int)),
+ this,TQ_SLOT(slotKey(int)));
resetState();
}
@@ -130,7 +130,7 @@ TQString %{APPNAME}Impl::name()
void %{APPNAME}Impl::onKeyPress( TQObject *receiver, const char *slot )
{
if ( m_pickboard )
- TQObject::connect( m_pickboard, TQT_SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot );
+ TQObject::connect( m_pickboard, TQ_SIGNAL(key(ushort,ushort,ushort,bool,bool)), receiver, slot );
}
#ifndef TQT_NO_COMPONENT