diff options
Diffstat (limited to 'knights/accel.cpp')
-rw-r--r-- | knights/accel.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/knights/accel.cpp b/knights/accel.cpp index c2ef168..e0ac9fc 100644 --- a/knights/accel.cpp +++ b/knights/accel.cpp @@ -18,7 +18,7 @@ #include "accel.moc" #include <klocale.h> -Accel::Accel( QWidget *parent, QObject *target ) : KAccel( parent ) +Accel::Accel( TQWidget *tqparent, TQObject *target ) : KAccel( tqparent ) { insertItem( i18n("Previous Move"), "Previous Move", Key_Up, TRUE ); insertItem( i18n("Next Move"), "Next Move", Key_Down, TRUE ); @@ -42,19 +42,19 @@ Accel::~Accel() { writeSettings(); } -void Accel::setTarget( QObject *target ) +void Accel::setTarget( TQObject *target ) { - connectItem( "Board Down" , target, SIGNAL( board_down() ) ); - connectItem( "Board Up" , target, SIGNAL( board_up() ) ); - connectItem( "Previous Move" , target, SIGNAL( move_prev() ) ); - connectItem( "Next Move" , target, SIGNAL( move_next() ) ); - connectItem( "Page Up", target, SIGNAL( page_up() ) ); - connectItem( "Page Down", target, SIGNAL( page_down() ) ); - connectItem( "Last History Item", target, SIGNAL( history_prev() ) ); - connectItem( "Next History Item", target, SIGNAL( history_next() ) ); - connectItem( "Tell Reply", target, SIGNAL( reply_tell() ) ); - connectItem( "Channel Reply", target, SIGNAL( reply_channel() ) ); - connectItem( "Enter Text", target, SIGNAL( focus() ) ); - connectItem( "Kibitz", target, SIGNAL( kibitz() ) ); - connectItem( "Whisper", target, SIGNAL( whisper() ) ); + connectItem( "Board Down" , target, TQT_SIGNAL( board_down() ) ); + connectItem( "Board Up" , target, TQT_SIGNAL( board_up() ) ); + connectItem( "Previous Move" , target, TQT_SIGNAL( move_prev() ) ); + connectItem( "Next Move" , target, TQT_SIGNAL( move_next() ) ); + connectItem( "Page Up", target, TQT_SIGNAL( page_up() ) ); + connectItem( "Page Down", target, TQT_SIGNAL( page_down() ) ); + connectItem( "Last History Item", target, TQT_SIGNAL( history_prev() ) ); + connectItem( "Next History Item", target, TQT_SIGNAL( history_next() ) ); + connectItem( "Tell Reply", target, TQT_SIGNAL( reply_tell() ) ); + connectItem( "Channel Reply", target, TQT_SIGNAL( reply_channel() ) ); + connectItem( "Enter Text", target, TQT_SIGNAL( focus() ) ); + connectItem( "Kibitz", target, TQT_SIGNAL( kibitz() ) ); + connectItem( "Whisper", target, TQT_SIGNAL( whisper() ) ); } |