@ -80,46 +80,46 @@ KSquirrelPart::KSquirrelPart(TQWidget *parentWidget, const char *,
TDEAction * a ;
TDEAction * a ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_Plus ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_Plus ) .local8Bit ( ) );
new TDEAction ( i18n ( " Zoom + " ) , " zoom-in " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart zoom in " ) ;
new TDEAction ( i18n ( " Zoom + " ) , " zoom-in " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart zoom in " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_Minus ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_Minus ) .local8Bit ( ) );
new TDEAction ( i18n ( " Zoom - " ) , " zoom-out " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart zoom out " ) ;
new TDEAction ( i18n ( " Zoom - " ) , " zoom-out " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart zoom out " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_P ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_P ) .local8Bit ( ) );
new TDEAction ( i18n ( " Properties " ) , " image-x-generic " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart properties " ) ;
new TDEAction ( i18n ( " Properties " ) , " image-x-generic " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart properties " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_R ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_R ) .local8Bit ( ) );
new TDEAction ( i18n ( " Normalize " ) , " rebuild " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart normalize " ) ;
new TDEAction ( i18n ( " Normalize " ) , " rebuild " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart normalize " ) ;
// colorize & filters
// colorize & filters
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_D ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_D ) .local8Bit ( ) );
new TDEAction ( i18n ( " Color balance... " ) , " colorize " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart colorbalance " ) ;
new TDEAction ( i18n ( " Color balance... " ) , " colorize " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart colorbalance " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_U ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_U ) .local8Bit ( ) );
new TDEAction ( i18n ( " Apply filter... " ) , " effect " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart filter " ) ;
new TDEAction ( i18n ( " Apply filter... " ) , " effect " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart filter " ) ;
// rotate
// rotate
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_Left + CTRL ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_Left + CTRL ) .local8Bit ( ) );
new TDEAction ( i18n ( " Rotate left " ) , " object-rotate-left " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart rotateleft " ) ;
new TDEAction ( i18n ( " Rotate left " ) , " object-rotate-left " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart rotateleft " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_Right + CTRL ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_Right + CTRL ) .local8Bit ( ) );
new TDEAction ( i18n ( " Rotate right " ) , " object-rotate-right " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart rotateright " ) ;
new TDEAction ( i18n ( " Rotate right " ) , " object-rotate-right " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart rotateright " ) ;
// copy/move
// copy/move
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_F5 ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_F5 ) .local8Bit ( ) );
new TDEAction ( i18n ( " Copy to... " ) , " edit-copy " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart copyto " ) ;
new TDEAction ( i18n ( " Copy to... " ) , " edit-copy " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart copyto " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_F7 ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_F7 ) .local8Bit ( ) );
new TDEAction ( i18n ( " Move to... " ) , " edit-cut " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart moveto " ) ;
new TDEAction ( i18n ( " Move to... " ) , " edit-cut " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart moveto " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_F6 ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_F6 ) .local8Bit ( ) );
new TDEAction ( i18n ( " Copy to last folder " ) , " " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart copy " ) ;
new TDEAction ( i18n ( " Copy to last folder " ) , " " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart copy " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_F8 ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_F8 ) .local8Bit ( ) );
new TDEAction ( i18n ( " Move to last folder " ) , " " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart move " ) ;
new TDEAction ( i18n ( " Move to last folder " ) , " " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart move " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_S ) );
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg ( TQt : : Key_S ) .local8Bit ( ) );
new TDEAction ( i18n ( " Save As... " ) , " document-save-as " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart saveas " ) ;
new TDEAction ( i18n ( " Save As... " ) , " document-save-as " , 0 , a , TQ_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart saveas " ) ;
sa = new TDESelectAction ( i18n ( " Zoom " ) , 0 , actionCollection ( ) , " ksquirrelpart zoom " ) ;
sa = new TDESelectAction ( i18n ( " Zoom " ) , 0 , actionCollection ( ) , " ksquirrelpart zoom " ) ;