summaryrefslogtreecommitdiffstats
path: root/arts/builder/propertypanel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/builder/propertypanel.cpp')
-rw-r--r--arts/builder/propertypanel.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/arts/builder/propertypanel.cpp b/arts/builder/propertypanel.cpp
index 25809100..46615711 100644
--- a/arts/builder/propertypanel.cpp
+++ b/arts/builder/propertypanel.cpp
@@ -43,20 +43,20 @@ PropertyPanel::PropertyPanel( TQWidget* parent, const char* name, WFlags fl )
{
setTitleFont();
setTitleColors();
- connect( kapp, TQT_SIGNAL( tdedisplayFontChanged() ),
- this, TQT_SLOT( setTitleFont() ));
- connect( kapp, TQT_SIGNAL( tdedisplayPaletteChanged() ),
- this, TQT_SLOT( setTitleColors() ));
- connect( portValueGroup, TQT_SIGNAL( clicked(int) ),
- this, TQT_SLOT( pvModeChanged(int) ));
- connect( constantValueEdit, TQT_SIGNAL( returnPressed() ),
- this, TQT_SLOT( writePortProperties() ));
- connect( constantValueComboBox, TQT_SIGNAL( activated(int) ),
- this, TQT_SLOT( writePortProperties() ));
- connect( portCombo, TQT_SIGNAL( activated(int) ),
- this, TQT_SLOT( comboPortSelected(int) ));
- connect( connectButton, TQT_SIGNAL( clicked() ),
- this, TQT_SLOT( connectButtonClicked() ));
+ connect( tdeApp, TQ_SIGNAL( tdedisplayFontChanged() ),
+ this, TQ_SLOT( setTitleFont() ));
+ connect( tdeApp, TQ_SIGNAL( tdedisplayPaletteChanged() ),
+ this, TQ_SLOT( setTitleColors() ));
+ connect( portValueGroup, TQ_SIGNAL( clicked(int) ),
+ this, TQ_SLOT( pvModeChanged(int) ));
+ connect( constantValueEdit, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( writePortProperties() ));
+ connect( constantValueComboBox, TQ_SIGNAL( activated(int) ),
+ this, TQ_SLOT( writePortProperties() ));
+ connect( portCombo, TQ_SIGNAL( activated(int) ),
+ this, TQ_SLOT( comboPortSelected(int) ));
+ connect( connectButton, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( connectButtonClicked() ));
constantValueComboBox->hide();
setEnabled( false );
@@ -341,7 +341,7 @@ bool PropertyPanel::eventFilter( TQObject *o, TQEvent *e )
{
if( port && !constantValueEdit->hasFocus() && (e->type() == TQEvent::KeyPress) ) {
// kdDebug() << TQString(" ..is KeyPress") << endl;
- TQString entered = TQT_TQKEYEVENT(e)->text();
+ TQString entered = static_cast<TQKeyEvent*>(e)->text();
bool goodString = entered.length() > 0;
// kdDebug() << TQString("pressed '%1'").arg(entered) << endl;
@@ -355,12 +355,12 @@ bool PropertyPanel::eventFilter( TQObject *o, TQEvent *e )
constantValueEdit->setText( entered );
constantValueEdit->setFocus();
// kdDebug() << "keyPress used in propPanel" << endl;
- return TRUE; // eat event
+ return true; // eat event
}
}
// else
// kdDebug() << "event type = " << e->type() << " != " << TQEvent::KeyPress << endl;
- return FALSE; // PropertyPanelBase::eventFilter( o, e );
+ return false; // PropertyPanelBase::eventFilter( o, e );
}
bool PropertyPanel::isEnum(const std::string& type)