summaryrefslogtreecommitdiffstats
path: root/certmanager/customactions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'certmanager/customactions.cpp')
-rw-r--r--certmanager/customactions.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/certmanager/customactions.cpp b/certmanager/customactions.cpp
index bf637538..2db64ebb 100644
--- a/certmanager/customactions.cpp
+++ b/certmanager/customactions.cpp
@@ -47,7 +47,7 @@ LabelAction::LabelAction( const TQString & text, TDEActionCollection * parent,
}
int LabelAction::plug( TQWidget * widget, int index ) {
- if ( kapp && !kapp->authorizeTDEAction( name() ) )
+ if ( tdeApp && !tdeApp->authorizeTDEAction( name() ) )
return -1;
if ( widget->inherits( "TDEToolBar" ) ) {
TDEToolBar * bar = (TDEToolBar *)widget;
@@ -55,7 +55,7 @@ int LabelAction::plug( TQWidget * widget, int index ) {
TQLabel* label = new TQLabel( text(), bar, "tde toolbar widget" );
bar->insertWidget( id_, label->width(), label, index );
addContainer( bar, id_ );
- connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) );
+ connect( bar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) );
return containerCount() - 1;
}
@@ -71,7 +71,7 @@ LineEditAction::LineEditAction( const TQString & text, TDEActionCollection * par
}
int LineEditAction::plug( TQWidget * widget, int index ) {
- if ( kapp && !kapp->authorizeTDEAction( name() ) )
+ if ( tdeApp && !tdeApp->authorizeTDEAction( name() ) )
return -1;
if ( widget->inherits( "TDEToolBar" ) ) {
TDEToolBar *bar = (TDEToolBar *)widget;
@@ -82,8 +82,8 @@ int LineEditAction::plug( TQWidget * widget, int index ) {
bar->insertWidget( id_, _le->width(), _le, index );
bar->setStretchableWidget( _le );
addContainer( bar, id_ );
- connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) );
- connect( _le, TQT_SIGNAL( returnPressed() ), _receiver, _member );
+ connect( bar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) );
+ connect( _le, TQ_SIGNAL( returnPressed() ), _receiver, _member );
return containerCount() - 1;
}
@@ -118,15 +118,15 @@ ComboAction::ComboAction( const TQStringList & lst, TDEActionCollection * paren
}
int ComboAction::plug( TQWidget * widget, int index ) {
- if ( kapp && !kapp->authorizeTDEAction( name() ) )
+ if ( tdeApp && !tdeApp->authorizeTDEAction( name() ) )
return -1;
if ( widget->inherits( "TDEToolBar" ) ) {
TDEToolBar *bar = (TDEToolBar *)widget;
int id_ = getToolButtonID();
- bar->insertCombo( _lst, id_, false, TQT_SIGNAL( highlighted(int) ), _receiver, _member );
+ bar->insertCombo( _lst, id_, false, TQ_SIGNAL( highlighted(int) ), _receiver, _member );
bar->setCurrentComboItem( id_,_selectedId );
addContainer( bar, id_ );
- connect( bar, TQT_SIGNAL( destroyed() ), this, TQT_SLOT( slotDestroyed() ) );
+ connect( bar, TQ_SIGNAL( destroyed() ), this, TQ_SLOT( slotDestroyed() ) );
return containerCount() - 1;
}