@ -80,46 +80,46 @@ KSquirrelPart::KSquirrelPart(TQWidget *parentWidget, const char *,
KAction * a ;
KAction * a ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_Plus ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_Plus ) ) ;
new KAction ( i18n ( " Zoom + " ) , " viewmag+ " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart zoom in " ) ;
new KAction ( i18n ( " Zoom + " ) , " viewmag+ " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart zoom in " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_Minus ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_Minus ) ) ;
new KAction ( i18n ( " Zoom - " ) , " viewmag- " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart zoom out " ) ;
new KAction ( i18n ( " Zoom - " ) , " viewmag- " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart zoom out " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_P ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_P ) ) ;
new KAction ( i18n ( " Properties " ) , " image " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart properties " ) ;
new KAction ( i18n ( " Properties " ) , " image " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart properties " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_R ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_R ) ) ;
new KAction ( i18n ( " Normalize " ) , " rebuild " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart normalize " ) ;
new KAction ( i18n ( " Normalize " ) , " rebuild " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart normalize " ) ;
// colorize & filters
// colorize & filters
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_D ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_D ) ) ;
new KAction ( i18n ( " Color balance... " ) , " colorize " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart colorbalance " ) ;
new KAction ( i18n ( " Color balance... " ) , " colorize " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart colorbalance " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_U ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_U ) ) ;
new KAction ( i18n ( " Apply filter... " ) , " effect " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart filter " ) ;
new KAction ( i18n ( " Apply filter... " ) , " effect " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart filter " ) ;
// rotate
// rotate
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_Left + CTRL ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_Left + CTRL ) ) ;
new KAction ( i18n ( " Rotate left " ) , " rotate_ccw " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart rotateleft " ) ;
new KAction ( i18n ( " Rotate left " ) , " rotate_ccw " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart rotateleft " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_Right + CTRL ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_Right + CTRL ) ) ;
new KAction ( i18n ( " Rotate right " ) , " rotate_cw " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart rotateright " ) ;
new KAction ( i18n ( " Rotate right " ) , " rotate_cw " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart rotateright " ) ;
// copy/move
// copy/move
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_F5 ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_F5 ) ) ;
new KAction ( i18n ( " Copy to... " ) , " editcopy " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart copyto " ) ;
new KAction ( i18n ( " Copy to... " ) , " editcopy " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart copyto " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_F7 ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_F7 ) ) ;
new KAction ( i18n ( " Move to... " ) , " editcut " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart moveto " ) ;
new KAction ( i18n ( " Move to... " ) , " editcut " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart moveto " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_F6 ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_F6 ) ) ;
new KAction ( i18n ( " Copy to last folder " ) , " " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart copy " ) ;
new KAction ( i18n ( " Copy to last folder " ) , " " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart copy " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_F8 ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_F8 ) ) ;
new KAction ( i18n ( " Move to last folder " ) , " " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart move " ) ;
new KAction ( i18n ( " Move to last folder " ) , " " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart move " ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . tq arg( TQt : : Key_S ) ) ;
a = gl - > actionCollection ( ) - > action ( TQString ( " action_%1 " ) . arg( TQt : : Key_S ) ) ;
new KAction ( i18n ( " Save As... " ) , " filesaveas " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart saveas " ) ;
new KAction ( i18n ( " Save As... " ) , " filesaveas " , 0 , a , TQT_SLOT ( activate ( ) ) , actionCollection ( ) , " ksquirrelpart saveas " ) ;
sa = new KSelectAction ( i18n ( " Zoom " ) , 0 , actionCollection ( ) , " ksquirrelpart zoom " ) ;
sa = new KSelectAction ( i18n ( " Zoom " ) , 0 , actionCollection ( ) , " ksquirrelpart zoom " ) ;
@ -228,7 +228,7 @@ bool KSquirrelPart::openFile()
void KSquirrelPart : : setKonquerorWindowCaption ( const KURL & , const TQString & filename )
void KSquirrelPart : : setKonquerorWindowCaption ( const KURL & , const TQString & filename )
{
{
TQString caption = TQString ( " %1 " ) . tq arg( filename ) ;
TQString caption = TQString ( " %1 " ) . arg( filename ) ;
emit setWindowCaption ( caption ) ;
emit setWindowCaption ( caption ) ;
}
}