@ -78,15 +78,15 @@
// Create actions
// Create actions
void SQ_GLWidget : : createActions ( )
void SQ_GLWidget : : createActions ( )
{
{
pASelectionRect = new TDEToggleAction ( i18n ( " Rectangle " ) , TQPixmap ( locate ( " data " , " images/actions/glselection_rect.png " ) ) , 0 , this , TQ T _SLOT( slotSelectionRect ( ) ) , ac , " SQ Selection Rect " ) ;
pASelectionRect = new TDEToggleAction ( i18n ( " Rectangle " ) , TQPixmap ( locate ( " data " , " images/actions/glselection_rect.png " ) ) , 0 , this , TQ _SLOT( slotSelectionRect ( ) ) , ac , " SQ Selection Rect " ) ;
pASelectionEllipse = new TDEToggleAction ( i18n ( " Ellipse " ) , TQPixmap ( locate ( " data " , " images/actions/glselection_ellipse.png " ) ) , 0 , this , TQ T _SLOT( slotSelectionEllipse ( ) ) , ac , " SQ Selection Ellipse " ) ;
pASelectionEllipse = new TDEToggleAction ( i18n ( " Ellipse " ) , TQPixmap ( locate ( " data " , " images/actions/glselection_ellipse.png " ) ) , 0 , this , TQ _SLOT( slotSelectionEllipse ( ) ) , ac , " SQ Selection Ellipse " ) ;
pASelectionClear = new TDEAction ( i18n ( " Clear " ) , 0 , 0 , this , TQ T _SLOT( slotSelectionClear ( ) ) , ac , " SQ Selection Clear " ) ;
pASelectionClear = new TDEAction ( i18n ( " Clear " ) , 0 , 0 , this , TQ _SLOT( slotSelectionClear ( ) ) , ac , " SQ Selection Clear " ) ;
pAZoomW = new TDEToggleAction ( i18n ( " Fit width " ) , TQPixmap ( locate ( " data " , " images/actions/zoomW.png " ) ) , 0 , this , TQ T _SLOT( slotZoomW ( ) ) , ac , " SQ ZoomW " ) ;
pAZoomW = new TDEToggleAction ( i18n ( " Fit width " ) , TQPixmap ( locate ( " data " , " images/actions/zoomW.png " ) ) , 0 , this , TQ _SLOT( slotZoomW ( ) ) , ac , " SQ ZoomW " ) ;
pAZoomH = new TDEToggleAction ( i18n ( " Fit height " ) , TQPixmap ( locate ( " data " , " images/actions/zoomH.png " ) ) , 0 , this , TQ T _SLOT( slotZoomH ( ) ) , ac , " SQ ZoomH " ) ;
pAZoomH = new TDEToggleAction ( i18n ( " Fit height " ) , TQPixmap ( locate ( " data " , " images/actions/zoomH.png " ) ) , 0 , this , TQ _SLOT( slotZoomH ( ) ) , ac , " SQ ZoomH " ) ;
pAZoomWH = new TDEToggleAction ( i18n ( " Fit image " ) , TQPixmap ( locate ( " data " , " images/actions/zoomWH.png " ) ) , 0 , this , TQ T _SLOT( slotZoomWH ( ) ) , ac , " SQ ZoomWH " ) ;
pAZoomWH = new TDEToggleAction ( i18n ( " Fit image " ) , TQPixmap ( locate ( " data " , " images/actions/zoomWH.png " ) ) , 0 , this , TQ _SLOT( slotZoomWH ( ) ) , ac , " SQ ZoomWH " ) ;
pAZoom100 = new TDEToggleAction ( i18n ( " Zoom 100% " ) , TQPixmap ( locate ( " data " , " images/actions/zoom100.png " ) ) , 0 , this , TQ T _SLOT( slotZoom100 ( ) ) , ac , " SQ Zoom100 " ) ;
pAZoom100 = new TDEToggleAction ( i18n ( " Zoom 100% " ) , TQPixmap ( locate ( " data " , " images/actions/zoom100.png " ) ) , 0 , this , TQ _SLOT( slotZoom100 ( ) ) , ac , " SQ Zoom100 " ) ;
pAZoomLast = new TDEToggleAction ( i18n ( " Leave previous zoom " ) , TQPixmap ( locate ( " data " , " images/actions/zoomlast.png " ) ) , 0 , this , TQ T _SLOT( slotZoomLast ( ) ) , ac , " SQ ZoomLast " ) ;
pAZoomLast = new TDEToggleAction ( i18n ( " Leave previous zoom " ) , TQPixmap ( locate ( " data " , " images/actions/zoomlast.png " ) ) , 0 , this , TQ _SLOT( slotZoomLast ( ) ) , ac , " SQ ZoomLast " ) ;
pAIfLess = new TDEToggleAction ( i18n ( " Ignore, if image is smaller than window " ) , TQPixmap ( locate ( " data " , " images/actions/ifless.png " ) ) , 0 , 0 , 0 , ac , " if less " ) ;
pAIfLess = new TDEToggleAction ( i18n ( " Ignore, if image is smaller than window " ) , TQPixmap ( locate ( " data " , " images/actions/ifless.png " ) ) , 0 , 0 , 0 , ac , " if less " ) ;
pAFull = new TDEToggleAction ( TQString ( ) , 0 , 0 , 0 , ac , " SQ GL Full " ) ;
pAFull = new TDEToggleAction ( TQString ( ) , 0 , 0 , 0 , ac , " SQ GL Full " ) ;
@ -102,10 +102,10 @@ void SQ_GLWidget::createActions()
pASelectionEllipse - > setExclusiveGroup ( squirrel_selection_type ) ;
pASelectionEllipse - > setExclusiveGroup ( squirrel_selection_type ) ;
pASelectionRect - > setExclusiveGroup ( squirrel_selection_type ) ;
pASelectionRect - > setExclusiveGroup ( squirrel_selection_type ) ;
connect ( pAIfLess , TQ T _SIGNAL( toggled ( bool ) ) , this , TQ T _SLOT( slotZoomIfLess ( ) ) ) ;
connect ( pAIfLess , TQ _SIGNAL( toggled ( bool ) ) , this , TQ _SLOT( slotZoomIfLess ( ) ) ) ;
# ifndef KSQUIRREL_PART
# ifndef KSQUIRREL_PART
connect ( pAFull , TQ T _SIGNAL( toggled ( bool ) ) , KSquirrel : : app ( ) , TQ T _SLOT( slotFullScreen ( bool ) ) ) ;
connect ( pAFull , TQ _SIGNAL( toggled ( bool ) ) , KSquirrel : : app ( ) , TQ _SLOT( slotFullScreen ( bool ) ) ) ;
# endif
# endif
SQ_Config : : instance ( ) - > setGroup ( " GL view " ) ;
SQ_Config : : instance ( ) - > setGroup ( " GL view " ) ;
@ -163,46 +163,46 @@ void SQ_GLWidget::createToolbar()
*
*
* Plugged TDEActions also don ' t know about autorepeat : (
* Plugged TDEActions also don ' t know about autorepeat : (
*/
*/
new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/file_first.png " ) ) , i18n ( " Go to first image " ) , this , TQ T _SLOT( slotFirst ( ) ) , toolbar ) ;
new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/file_first.png " ) ) , i18n ( " Go to first image " ) , this , TQ _SLOT( slotFirst ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/file_prev.png " ) ) , i18n ( " Previous image " ) , this , TQ T _SLOT( slotPrev ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/file_prev.png " ) ) , i18n ( " Previous image " ) , this , TQ _SLOT( slotPrev ( ) ) , toolbar ) ;
pATool - > setAutoRepeat ( true ) ;
pATool - > setAutoRepeat ( true ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/file_next.png " ) ) , i18n ( " Next image " ) , this , TQ T _SLOT( slotNext ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/file_next.png " ) ) , i18n ( " Next image " ) , this , TQ _SLOT( slotNext ( ) ) , toolbar ) ;
pATool - > setAutoRepeat ( true ) ;
pATool - > setAutoRepeat ( true ) ;
new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/file_last.png " ) ) , i18n ( " Go to last image " ) , this , TQ T _SLOT( slotLast ( ) ) , toolbar ) ;
new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/file_last.png " ) ) , i18n ( " Go to last image " ) , this , TQ _SLOT( slotLast ( ) ) , toolbar ) ;
// some toolbuttons need autorepeat...
// some toolbuttons need autorepeat...
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/zoom+.png " ) ) , i18n ( " Zoom + " ) , this , TQ T _SLOT( slotZoomPlus ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/zoom+.png " ) ) , i18n ( " Zoom + " ) , this , TQ _SLOT( slotZoomPlus ( ) ) , toolbar ) ;
pATool - > setAutoRepeat ( true ) ;
pATool - > setAutoRepeat ( true ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/zoom-.png " ) ) , i18n ( " Zoom - " ) , this , TQ T _SLOT( slotZoomMinus ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/zoom-.png " ) ) , i18n ( " Zoom - " ) , this , TQ _SLOT( slotZoomMinus ( ) ) , toolbar ) ;
pATool - > setAutoRepeat ( true ) ;
pATool - > setAutoRepeat ( true ) ;
pAToolZoom = new SQ_ToolButtonPopup ( TQPixmap ( locate ( " data " , " images/actions/zoom_template.png " ) ) , i18n ( " Zoom " ) , toolbar ) ;
pAToolZoom = new SQ_ToolButtonPopup ( TQPixmap ( locate ( " data " , " images/actions/zoom_template.png " ) ) , i18n ( " Zoom " ) , toolbar ) ;
pAToolZoom - > setPopup ( zoomMenu ) ;
pAToolZoom - > setPopup ( zoomMenu ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/rotateL.png " ) ) , i18n ( " Rotate left " ) , this , TQ T _SLOT( slotRotateLeft ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/rotateL.png " ) ) , i18n ( " Rotate left " ) , this , TQ _SLOT( slotRotateLeft ( ) ) , toolbar ) ;
pATool - > setAutoRepeat ( true ) ;
pATool - > setAutoRepeat ( true ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/rotateR.png " ) ) , i18n ( " Rotate right " ) , this , TQ T _SLOT( slotRotateRight ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/rotateR.png " ) ) , i18n ( " Rotate right " ) , this , TQ _SLOT( slotRotateRight ( ) ) , toolbar ) ;
pATool - > setAutoRepeat ( true ) ;
pATool - > setAutoRepeat ( true ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/flipV.png " ) ) , i18n ( " Flip vertically " ) , this , TQ T _SLOT( slotFlipV ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/flipV.png " ) ) , i18n ( " Flip vertically " ) , this , TQ _SLOT( slotFlipV ( ) ) , toolbar ) ;
pATool - > setAutoRepeat ( true ) ;
pATool - > setAutoRepeat ( true ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/flipH.png " ) ) , i18n ( " Flip horizontally " ) , this , TQ T _SLOT( slotFlipH ( ) ) , toolbar ) ;
pATool = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/flipH.png " ) ) , i18n ( " Flip horizontally " ) , this , TQ _SLOT( slotFlipH ( ) ) , toolbar ) ;
pATool - > setAutoRepeat ( true ) ;
pATool - > setAutoRepeat ( true ) ;
new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/reload.png " ) ) , i18n ( " Normalize " ) , this , TQ T _SLOT( slotMatrixReset ( ) ) , toolbar ) ;
new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/reload.png " ) ) , i18n ( " Normalize " ) , this , TQ _SLOT( slotMatrixReset ( ) ) , toolbar ) ;
pAToolFull = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/fullscreen.png " ) ) , i18n ( " Fullscreen " ) , pAFull , TQ T _SLOT( activate ( ) ) , toolbar ) ;
pAToolFull = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/fullscreen.png " ) ) , i18n ( " Fullscreen " ) , pAFull , TQ _SLOT( activate ( ) ) , toolbar ) ;
pAToolFull - > setToggleButton ( true ) ;
pAToolFull - > setToggleButton ( true ) ;
pAToolImages = new SQ_ToolButtonPopup ( TQPixmap ( locate ( " data " , " images/actions/images.png " ) ) , i18n ( " Select image " ) , toolbar ) ;
pAToolImages = new SQ_ToolButtonPopup ( TQPixmap ( locate ( " data " , " images/actions/images.png " ) ) , i18n ( " Select image " ) , toolbar ) ;
pAToolImages - > setPopup ( images ) ;
pAToolImages - > setPopup ( images ) ;
SQ_ToolButtonPopup * pAToolSel = new SQ_ToolButtonPopup ( TQPixmap ( locate ( " data " , " images/actions/glselection.png " ) ) , i18n ( " Selection " ) , toolbar ) ;
SQ_ToolButtonPopup * pAToolSel = new SQ_ToolButtonPopup ( TQPixmap ( locate ( " data " , " images/actions/glselection.png " ) ) , i18n ( " Selection " ) , toolbar ) ;
pAToolSel - > setPopup ( selectionMenu ) ;
pAToolSel - > setPopup ( selectionMenu ) ;
pAToolQuick = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/configure.png " ) ) , i18n ( " Codec settings " ) , this , TQ T _SLOT( slotShowCodecSettings ( ) ) , toolbar ) ;
pAToolQuick = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/configure.png " ) ) , i18n ( " Codec settings " ) , this , TQ _SLOT( slotShowCodecSettings ( ) ) , toolbar ) ;
pAToolQuick - > setEnabled ( false ) ;
pAToolQuick - > setEnabled ( false ) ;
pAToolProp = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/prop.png " ) ) , i18n ( " Image Properties " ) , this , TQ T _SLOT( slotProperties ( ) ) , toolbar ) ;
pAToolProp = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/prop.png " ) ) , i18n ( " Image Properties " ) , this , TQ _SLOT( slotProperties ( ) ) , toolbar ) ;
pAToolPrint = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/print.png " ) ) , i18n ( " Print " ) , this , TQ T _SLOT( slotPrint ( ) ) , toolbar ) ;
pAToolPrint = new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/print.png " ) ) , i18n ( " Print " ) , this , TQ _SLOT( slotPrint ( ) ) , toolbar ) ;
new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/shownav.png " ) ) , i18n ( " Show navigator " ) , this , TQ T _SLOT( slotShowNav ( ) ) , toolbar ) ;
new SQ_ToolButton ( TQPixmap ( locate ( " data " , " images/actions/shownav.png " ) ) , i18n ( " Show navigator " ) , this , TQ _SLOT( slotShowNav ( ) ) , toolbar ) ;
slider_zoom = new TQSlider ( 1 , 38 , 2 , 19 , TQt : : Horizontal , toolbar ) ;
slider_zoom = new TQSlider ( 1 , 38 , 2 , 19 , TQt : : Horizontal , toolbar ) ;
slider_zoom - > setTickmarks ( TQSlider : : Below ) ;
slider_zoom - > setTickmarks ( TQSlider : : Below ) ;
slider_zoom - > setTickInterval ( 19 ) ;
slider_zoom - > setTickInterval ( 19 ) ;
connect ( slider_zoom , TQ T _SIGNAL( valueChanged ( int ) ) , this , TQ T _SLOT( slotSetZoomPercents ( int ) ) ) ;
connect ( slider_zoom , TQ _SIGNAL( valueChanged ( int ) ) , this , TQ _SLOT( slotSetZoomPercents ( int ) ) ) ;
toolbar - > insertWidget ( 1000 , 0 , slider_zoom ) ;
toolbar - > insertWidget ( 1000 , 0 , slider_zoom ) ;
toolbar - > setItemAutoSized ( 1000 ) ;
toolbar - > setItemAutoSized ( 1000 ) ;
toolbar - > alignItemRight ( 1000 ) ;
toolbar - > alignItemRight ( 1000 ) ;
@ -335,7 +335,7 @@ void SQ_GLWidget::slotShowCodecSettings()
SQ_CodecSettingsSkeleton skel ( this ) ;
SQ_CodecSettingsSkeleton skel ( this ) ;
connect ( & skel , TQ T _SIGNAL( apply ( ) ) , this , TQ T _SLOT( slotApplyCodecSettings ( ) ) ) ;
connect ( & skel , TQ _SIGNAL( apply ( ) ) , this , TQ _SLOT( slotApplyCodecSettings ( ) ) ) ;
skel . addSettingsWidget ( tab - > lib - > config ) ;
skel . addSettingsWidget ( tab - > lib - > config ) ;
skel . setCodecInfo ( tab - > lib - > mime , tab - > lib - > quickinfo ) ;
skel . setCodecInfo ( tab - > lib - > mime , tab - > lib - > quickinfo ) ;
@ -609,7 +609,7 @@ void SQ_GLWidget::saveAs()
// src dst perm overwrite resume progress
// src dst perm overwrite resume progress
TDEIO : : Job * j = TDEIO : : file_copy ( path , url , - 1 , true , false , false ) ;
TDEIO : : Job * j = TDEIO : : file_copy ( path , url , - 1 , true , false , false ) ;
connect ( j , TQ T _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ T _SLOT( slotCopyResult ( TDEIO : : Job * ) ) ) ;
connect ( j , TQ _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ _SLOT( slotCopyResult ( TDEIO : : Job * ) ) ) ;
}
}
}
}
@ -632,7 +632,7 @@ void SQ_GLWidget::slotCopyResult(TDEIO::Job *job)
return ;
return ;
TDEIO : : Job * j = TDEIO : : file_copy ( tmp - > name ( ) , d . selectedURL ( ) , - 1 , true , false , false ) ;
TDEIO : : Job * j = TDEIO : : file_copy ( tmp - > name ( ) , d . selectedURL ( ) , - 1 , true , false , false ) ;
connect ( j , TQ T _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ T _SLOT( slotCopyResult ( TDEIO : : Job * ) ) ) ;
connect ( j , TQ _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ _SLOT( slotCopyResult ( TDEIO : : Job * ) ) ) ;
}
}
}
}
}
}
@ -663,7 +663,7 @@ void SQ_GLWidget::bcg()
_bcg . setPreviewImage ( generatePreview ( ) ) ;
_bcg . setPreviewImage ( generatePreview ( ) ) ;
connect ( & _bcg , TQ T _SIGNAL( bcg ( SQ_ImageBCGOptions * ) ) , this , TQ T _SLOT( slotBCG ( SQ_ImageBCGOptions * ) ) ) ;
connect ( & _bcg , TQ _SIGNAL( bcg ( SQ_ImageBCGOptions * ) ) , this , TQ _SLOT( slotBCG ( SQ_ImageBCGOptions * ) ) ) ;
_bcg . exec ( ) ;
_bcg . exec ( ) ;
@ -681,7 +681,7 @@ void SQ_GLWidget::filter()
flt . setPreviewImage ( generatePreview ( ) ) ;
flt . setPreviewImage ( generatePreview ( ) ) ;
connect ( & flt , TQ T _SIGNAL( filter ( SQ_ImageFilterOptions * ) ) , this , TQ T _SLOT( slotFilter ( SQ_ImageFilterOptions * ) ) ) ;
connect ( & flt , TQ _SIGNAL( filter ( SQ_ImageFilterOptions * ) ) , this , TQ _SLOT( slotFilter ( SQ_ImageFilterOptions * ) ) ) ;
flt . exec ( ) ;
flt . exec ( ) ;
@ -871,96 +871,96 @@ void SQ_GLWidget::initAccelsAndMenu()
menu - > insertItem ( i18n ( " Image " ) , menuImage ) ;
menu - > insertItem ( i18n ( " Image " ) , menuImage ) ;
# define SQ_ADD_KACTION(b) \
# define SQ_ADD_KACTION(b) \
( new TDEAction ( TQString ( ) , b , this , TQ T _SLOT( slotAccelActivated ( ) ) , ac , TQString : : fromLatin1 ( " action_%1 " ) . arg ( b ) ) )
( new TDEAction ( TQString ( ) , b , this , TQ _SLOT( slotAccelActivated ( ) ) , ac , TQString : : fromLatin1 ( " action_%1 " ) . arg ( b ) ) )
id_saveas = menuFile - > insertItem ( SQ_IconLoader : : instance ( ) - > loadIcon ( " document-save-as " , TDEIcon : : Desktop , TDEIcon : : SizeSmall ) , i18n ( " Save As... " ) + " \t S " , SQ_ADD_KACTION ( TQt : : Key_S ) , TQ T _SLOT( activate ( ) ) ) ;
id_saveas = menuFile - > insertItem ( SQ_IconLoader : : instance ( ) - > loadIcon ( " document-save-as " , TDEIcon : : Desktop , TDEIcon : : SizeSmall ) , i18n ( " Save As... " ) + " \t S " , SQ_ADD_KACTION ( TQt : : Key_S ) , TQ _SLOT( activate ( ) ) ) ;
# ifndef KSQUIRREL_PART
# ifndef KSQUIRREL_PART
menuFile - > insertSeparator ( ) ;
menuFile - > insertSeparator ( ) ;
menuFile - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/next16.png " ) ) , i18n ( " Next " ) + " \t PageDown " , SQ_ADD_KACTION ( TQt : : Key_PageDown ) , TQ T _SLOT( activate ( ) ) ) ;
menuFile - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/next16.png " ) ) , i18n ( " Next " ) + " \t PageDown " , SQ_ADD_KACTION ( TQt : : Key_PageDown ) , TQ _SLOT( activate ( ) ) ) ;
menuFile - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/prev16.png " ) ) , i18n ( " Previous " ) + " \t PageUp " , SQ_ADD_KACTION ( TQt : : Key_PageUp ) , TQ T _SLOT( activate ( ) ) ) ;
menuFile - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/prev16.png " ) ) , i18n ( " Previous " ) + " \t PageUp " , SQ_ADD_KACTION ( TQt : : Key_PageUp ) , TQ _SLOT( activate ( ) ) ) ;
menuFile - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/first16.png " ) ) , i18n ( " First " ) + " \t Home " , SQ_ADD_KACTION ( TQt : : Key_Home ) , TQ T _SLOT( activate ( ) ) ) ;
menuFile - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/first16.png " ) ) , i18n ( " First " ) + " \t Home " , SQ_ADD_KACTION ( TQt : : Key_Home ) , TQ _SLOT( activate ( ) ) ) ;
menuFile - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/last16.png " ) ) , i18n ( " Last " ) + " \t End " , SQ_ADD_KACTION ( TQt : : Key_End ) , TQ T _SLOT( activate ( ) ) ) ;
menuFile - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/last16.png " ) ) , i18n ( " Last " ) + " \t End " , SQ_ADD_KACTION ( TQt : : Key_End ) , TQ _SLOT( activate ( ) ) ) ;
# endif
# endif
menuFile - > insertSeparator ( ) ;
menuFile - > insertSeparator ( ) ;
id_f5 = menuFile - > insertItem ( i18n ( " Copy to... " ) + " \t F5 " , SQ_ADD_KACTION ( TQt : : Key_F5 ) , TQ T _SLOT( activate ( ) ) ) ;
id_f5 = menuFile - > insertItem ( i18n ( " Copy to... " ) + " \t F5 " , SQ_ADD_KACTION ( TQt : : Key_F5 ) , TQ _SLOT( activate ( ) ) ) ;
id_f6 = menuFile - > insertItem ( i18n ( " Move to... " ) + " \t F6 " , SQ_ADD_KACTION ( TQt : : Key_F7 ) , TQ T _SLOT( activate ( ) ) ) ;
id_f6 = menuFile - > insertItem ( i18n ( " Move to... " ) + " \t F6 " , SQ_ADD_KACTION ( TQt : : Key_F7 ) , TQ _SLOT( activate ( ) ) ) ;
id_f7 = menuFile - > insertItem ( i18n ( " Copy to last folder " ) + " \t F7 " , SQ_ADD_KACTION ( TQt : : Key_F6 ) , TQ T _SLOT( activate ( ) ) ) ;
id_f7 = menuFile - > insertItem ( i18n ( " Copy to last folder " ) + " \t F7 " , SQ_ADD_KACTION ( TQt : : Key_F6 ) , TQ _SLOT( activate ( ) ) ) ;
id_f8 = menuFile - > insertItem ( i18n ( " Move to last folder " ) + " \t F8 " , SQ_ADD_KACTION ( TQt : : Key_F8 ) , TQ T _SLOT( activate ( ) ) ) ;
id_f8 = menuFile - > insertItem ( i18n ( " Move to last folder " ) + " \t F8 " , SQ_ADD_KACTION ( TQt : : Key_F8 ) , TQ _SLOT( activate ( ) ) ) ;
menuFile - > insertSeparator ( ) ;
menuFile - > insertSeparator ( ) ;
id_del = menuFile - > insertItem ( i18n ( " Delete " ) + " \t Delete " , SQ_ADD_KACTION ( TQt : : Key_Delete ) , TQ T _SLOT( activate ( ) ) ) ;
id_del = menuFile - > insertItem ( i18n ( " Delete " ) + " \t Delete " , SQ_ADD_KACTION ( TQt : : Key_Delete ) , TQ _SLOT( activate ( ) ) ) ;
menuRotate - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/rotateLeft16.png " ) ) , i18n ( " Rotate left " ) + " \t Ctrl+Left " , SQ_ADD_KACTION ( TQt : : Key_Left + CTRL ) , TQ T _SLOT( activate ( ) ) ) ;
menuRotate - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/rotateLeft16.png " ) ) , i18n ( " Rotate left " ) + " \t Ctrl+Left " , SQ_ADD_KACTION ( TQt : : Key_Left + CTRL ) , TQ _SLOT( activate ( ) ) ) ;
menuRotate - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/rotateRight16.png " ) ) , i18n ( " Rotate right " ) + " \t Ctrl+Right " , SQ_ADD_KACTION ( TQt : : Key_Right + CTRL ) , TQ T _SLOT( activate ( ) ) ) ;
menuRotate - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/rotateRight16.png " ) ) , i18n ( " Rotate right " ) + " \t Ctrl+Right " , SQ_ADD_KACTION ( TQt : : Key_Right + CTRL ) , TQ _SLOT( activate ( ) ) ) ;
menuRotate - > insertSeparator ( ) ;
menuRotate - > insertSeparator ( ) ;
menuRotate - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/18016.png " ) ) , i18n ( " Rotate 180' " ) + " \t Ctrl+Up " , SQ_ADD_KACTION ( TQt : : Key_Up + CTRL ) , TQ T _SLOT( activate ( ) ) ) ;
menuRotate - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/18016.png " ) ) , i18n ( " Rotate 180' " ) + " \t Ctrl+Up " , SQ_ADD_KACTION ( TQt : : Key_Up + CTRL ) , TQ _SLOT( activate ( ) ) ) ;
menuRotate - > insertSeparator ( ) ;
menuRotate - > insertSeparator ( ) ;
menuRotate - > insertItem ( i18n ( " Rotate 1' left " ) + " \t Alt+Left " , SQ_ADD_KACTION ( TQt : : Key_Left + ALT ) , TQ T _SLOT( activate ( ) ) ) ;
menuRotate - > insertItem ( i18n ( " Rotate 1' left " ) + " \t Alt+Left " , SQ_ADD_KACTION ( TQt : : Key_Left + ALT ) , TQ _SLOT( activate ( ) ) ) ;
menuRotate - > insertItem ( i18n ( " Rotate 1' right " ) + " \t Alt+Right " , SQ_ADD_KACTION ( TQt : : Key_Right + ALT ) , TQ T _SLOT( activate ( ) ) ) ;
menuRotate - > insertItem ( i18n ( " Rotate 1' right " ) + " \t Alt+Right " , SQ_ADD_KACTION ( TQt : : Key_Right + ALT ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom+16.png " ) ) , i18n ( " Zoom + " ) + " \t + " , SQ_ADD_KACTION ( TQt : : Key_Plus ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom+16.png " ) ) , i18n ( " Zoom + " ) + " \t + " , SQ_ADD_KACTION ( TQt : : Key_Plus ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom-16.png " ) ) , i18n ( " Zoom - " ) + " \t - " , SQ_ADD_KACTION ( TQt : : Key_Minus ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom-16.png " ) ) , i18n ( " Zoom - " ) + " \t - " , SQ_ADD_KACTION ( TQt : : Key_Minus ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( i18n ( " Zoom 2x " ) + " \t Ctrl++ " , SQ_ADD_KACTION ( TQt : : Key_Plus + CTRL ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( i18n ( " Zoom 2x " ) + " \t Ctrl++ " , SQ_ADD_KACTION ( TQt : : Key_Plus + CTRL ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( i18n ( " Zoom 1/2x " ) + " \t Ctrl+- " , SQ_ADD_KACTION ( TQt : : Key_Minus + CTRL ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( i18n ( " Zoom 1/2x " ) + " \t Ctrl+- " , SQ_ADD_KACTION ( TQt : : Key_Minus + CTRL ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertSeparator ( ) ;
menuZoom - > insertSeparator ( ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom10016.png " ) ) , TQString : : fromLatin1 ( " 100% " ) + " \t 1 " , SQ_ADD_KACTION ( TQt : : Key_1 ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom10016.png " ) ) , TQString : : fromLatin1 ( " 100% " ) + " \t 1 " , SQ_ADD_KACTION ( TQt : : Key_1 ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom20016.png " ) ) , TQString : : fromLatin1 ( " 200% " ) + " \t 2 " , SQ_ADD_KACTION ( TQt : : Key_2 ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom20016.png " ) ) , TQString : : fromLatin1 ( " 200% " ) + " \t 2 " , SQ_ADD_KACTION ( TQt : : Key_2 ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom30016.png " ) ) , TQString : : fromLatin1 ( " 300% " ) + " \t 3 " , SQ_ADD_KACTION ( TQt : : Key_3 ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom30016.png " ) ) , TQString : : fromLatin1 ( " 300% " ) + " \t 3 " , SQ_ADD_KACTION ( TQt : : Key_3 ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom50016.png " ) ) , TQString : : fromLatin1 ( " 500% " ) + " \t 5 " , SQ_ADD_KACTION ( TQt : : Key_5 ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom50016.png " ) ) , TQString : : fromLatin1 ( " 500% " ) + " \t 5 " , SQ_ADD_KACTION ( TQt : : Key_5 ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom70016.png " ) ) , TQString : : fromLatin1 ( " 700% " ) + " \t 7 " , SQ_ADD_KACTION ( TQt : : Key_7 ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom70016.png " ) ) , TQString : : fromLatin1 ( " 700% " ) + " \t 7 " , SQ_ADD_KACTION ( TQt : : Key_7 ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom90016.png " ) ) , TQString : : fromLatin1 ( " 900% " ) + " \t 9 " , SQ_ADD_KACTION ( TQt : : Key_9 ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom90016.png " ) ) , TQString : : fromLatin1 ( " 900% " ) + " \t 9 " , SQ_ADD_KACTION ( TQt : : Key_9 ) , TQ _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom100016.png " ) ) , TQString : : fromLatin1 ( " 1000% " ) + " \t 0 " , SQ_ADD_KACTION ( TQt : : Key_0 ) , TQ T _SLOT( activate ( ) ) ) ;
menuZoom - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/zoom100016.png " ) ) , TQString : : fromLatin1 ( " 1000% " ) + " \t 0 " , SQ_ADD_KACTION ( TQt : : Key_0 ) , TQ _SLOT( activate ( ) ) ) ;
menuMove - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/moveLeft16.png " ) ) , i18n ( " Move left " ) + " \t Right " , SQ_ADD_KACTION ( TQt : : Key_Right ) , TQ T _SLOT( activate ( ) ) ) ;
menuMove - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/moveLeft16.png " ) ) , i18n ( " Move left " ) + " \t Right " , SQ_ADD_KACTION ( TQt : : Key_Right ) , TQ _SLOT( activate ( ) ) ) ;
menuMove - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/moveRight16.png " ) ) , i18n ( " Move right " ) + " \t Left " , SQ_ADD_KACTION ( TQt : : Key_Left ) , TQ T _SLOT( activate ( ) ) ) ;
menuMove - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/moveRight16.png " ) ) , i18n ( " Move right " ) + " \t Left " , SQ_ADD_KACTION ( TQt : : Key_Left ) , TQ _SLOT( activate ( ) ) ) ;
menuMove - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/moveUp16.png " ) ) , i18n ( " Move up " ) + " \t Down " , SQ_ADD_KACTION ( TQt : : Key_Down ) , TQ T _SLOT( activate ( ) ) ) ;
menuMove - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/moveUp16.png " ) ) , i18n ( " Move up " ) + " \t Down " , SQ_ADD_KACTION ( TQt : : Key_Down ) , TQ _SLOT( activate ( ) ) ) ;
menuMove - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/moveDown16.png " ) ) , i18n ( " Move down " ) + " \t Up " , SQ_ADD_KACTION ( TQt : : Key_Up ) , TQ T _SLOT( activate ( ) ) ) ;
menuMove - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/moveDown16.png " ) ) , i18n ( " Move down " ) + " \t Up " , SQ_ADD_KACTION ( TQt : : Key_Up ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/animate16.png " ) ) , i18n ( " Start/stop animation " ) + " \t A " , SQ_ADD_KACTION ( TQt : : Key_A ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/animate16.png " ) ) , i18n ( " Start/stop animation " ) + " \t A " , SQ_ADD_KACTION ( TQt : : Key_A ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/background16.png " ) ) , i18n ( " Hide/show background " ) + " \t B " , SQ_ADD_KACTION ( TQt : : Key_B ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/background16.png " ) ) , i18n ( " Hide/show background " ) + " \t B " , SQ_ADD_KACTION ( TQt : : Key_B ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/tickmarks16.png " ) ) , i18n ( " Hide/show tickmarks " ) + " \t K " , SQ_ADD_KACTION ( TQt : : Key_K ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/tickmarks16.png " ) ) , i18n ( " Hide/show tickmarks " ) + " \t K " , SQ_ADD_KACTION ( TQt : : Key_K ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/flipV16.png " ) ) , i18n ( " Flip vertically " ) + " \t V " , SQ_ADD_KACTION ( TQt : : Key_V ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/flipV16.png " ) ) , i18n ( " Flip vertically " ) + " \t V " , SQ_ADD_KACTION ( TQt : : Key_V ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/flipH16.png " ) ) , i18n ( " Flip horizontally " ) + " \t H " , SQ_ADD_KACTION ( TQt : : Key_H ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/flipH16.png " ) ) , i18n ( " Flip horizontally " ) + " \t H " , SQ_ADD_KACTION ( TQt : : Key_H ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/page116.png " ) ) , i18n ( " First page " ) + " \t F1 " , SQ_ADD_KACTION ( TQt : : Key_F1 ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/page116.png " ) ) , i18n ( " First page " ) + " \t F1 " , SQ_ADD_KACTION ( TQt : : Key_F1 ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/page216.png " ) ) , i18n ( " Previous page " ) + " \t F2 " , SQ_ADD_KACTION ( TQt : : Key_F2 ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/page216.png " ) ) , i18n ( " Previous page " ) + " \t F2 " , SQ_ADD_KACTION ( TQt : : Key_F2 ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/page316.png " ) ) , i18n ( " Next page " ) + " \t F3 " , SQ_ADD_KACTION ( TQt : : Key_F3 ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/page316.png " ) ) , i18n ( " Next page " ) + " \t F3 " , SQ_ADD_KACTION ( TQt : : Key_F3 ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/page416.png " ) ) , i18n ( " Last page " ) + " \t F4 " , SQ_ADD_KACTION ( TQt : : Key_F4 ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/page416.png " ) ) , i18n ( " Last page " ) + " \t F4 " , SQ_ADD_KACTION ( TQt : : Key_F4 ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertItem ( i18n ( " Copy file url " ) + " \t F9 " , SQ_ADD_KACTION ( TQt : : Key_F9 ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " Copy file url " ) + " \t F9 " , SQ_ADD_KACTION ( TQt : : Key_F9 ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " To clipboard " ) + " \t Q " , SQ_ADD_KACTION ( TQt : : Key_Q ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " To clipboard " ) + " \t Q " , SQ_ADD_KACTION ( TQt : : Key_Q ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " Print " ) + " \t Ctrl+P " , SQ_ADD_KACTION ( TQt : : Key_P + CTRL ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " Print " ) + " \t Ctrl+P " , SQ_ADD_KACTION ( TQt : : Key_P + CTRL ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertSeparator ( ) ;
id_settings = menuImage - > insertItem ( SQ_IconLoader : : instance ( ) - > loadIcon ( " configure " , TDEIcon : : Desktop , TDEIcon : : SizeSmall ) , i18n ( " Codec settings " ) + " \t C " , SQ_ADD_KACTION ( TQt : : Key_C ) , TQ T _SLOT( activate ( ) ) ) ;
id_settings = menuImage - > insertItem ( SQ_IconLoader : : instance ( ) - > loadIcon ( " configure " , TDEIcon : : Desktop , TDEIcon : : SizeSmall ) , i18n ( " Codec settings " ) + " \t C " , SQ_ADD_KACTION ( TQt : : Key_C ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > setItemEnabled ( id_settings , false ) ;
menuImage - > setItemEnabled ( id_settings , false ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertSeparator ( ) ;
menuImage - > insertItem ( i18n ( " Color balance... " ) + " \t D " , SQ_ADD_KACTION ( TQt : : Key_D ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " Color balance... " ) + " \t D " , SQ_ADD_KACTION ( TQt : : Key_D ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " Apply filter... " ) + " \t U " , SQ_ADD_KACTION ( TQt : : Key_U ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " Apply filter... " ) + " \t U " , SQ_ADD_KACTION ( TQt : : Key_U ) , TQ _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " Crop " ) + " \t Y " , SQ_ADD_KACTION ( TQt : : Key_Y ) , TQ T _SLOT( activate ( ) ) ) ;
menuImage - > insertItem ( i18n ( " Crop " ) + " \t Y " , SQ_ADD_KACTION ( TQt : : Key_Y ) , TQ _SLOT( activate ( ) ) ) ;
# ifndef KSQUIRREL_PART
# ifndef KSQUIRREL_PART
menuWindow - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/fullscreen16.png " ) ) , i18n ( " Fullscreen " ) + " \t F " , SQ_ADD_KACTION ( TQt : : Key_F ) , TQ T _SLOT( activate ( ) ) ) ;
menuWindow - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/fullscreen16.png " ) ) , i18n ( " Fullscreen " ) + " \t F " , SQ_ADD_KACTION ( TQt : : Key_F ) , TQ _SLOT( activate ( ) ) ) ;
menuWindow - > insertSeparator ( ) ;
menuWindow - > insertSeparator ( ) ;
menuWindow - > insertItem ( i18n ( " Previous tab " ) + " \t Shift+Left " , SQ_ADD_KACTION ( TQt : : Key_Left + SHIFT ) , TQ T _SLOT( activate ( ) ) ) ;
menuWindow - > insertItem ( i18n ( " Previous tab " ) + " \t Shift+Left " , SQ_ADD_KACTION ( TQt : : Key_Left + SHIFT ) , TQ _SLOT( activate ( ) ) ) ;
menuWindow - > insertItem ( i18n ( " Next tab " ) + " \t Shift+Right " , SQ_ADD_KACTION ( TQt : : Key_Right + SHIFT ) , TQ T _SLOT( activate ( ) ) ) ;
menuWindow - > insertItem ( i18n ( " Next tab " ) + " \t Shift+Right " , SQ_ADD_KACTION ( TQt : : Key_Right + SHIFT ) , TQ _SLOT( activate ( ) ) ) ;
menuWindow - > insertSeparator ( ) ;
menuWindow - > insertSeparator ( ) ;
menuWindow - > insertItem ( i18n ( " Close tab " ) + " \t W " , SQ_ADD_KACTION ( TQt : : Key_W ) , TQ T _SLOT( activate ( ) ) ) ;
menuWindow - > insertItem ( i18n ( " Close tab " ) + " \t W " , SQ_ADD_KACTION ( TQt : : Key_W ) , TQ _SLOT( activate ( ) ) ) ;
menuWindow - > insertItem ( i18n ( " Close all tabs " ) + " \t Ctrl+W " , SQ_ADD_KACTION ( TQt : : Key_W + CTRL ) , TQ T _SLOT( activate ( ) ) ) ;
menuWindow - > insertItem ( i18n ( " Close all tabs " ) + " \t Ctrl+W " , SQ_ADD_KACTION ( TQt : : Key_W + CTRL ) , TQ _SLOT( activate ( ) ) ) ;
# endif
# endif
menu - > insertSeparator ( ) ;
menu - > insertSeparator ( ) ;
menu - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/reset16.png " ) ) , i18n ( " Reset " ) + " \t R " , SQ_ADD_KACTION ( TQt : : Key_R ) , TQ T _SLOT( activate ( ) ) ) ;
menu - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/reset16.png " ) ) , i18n ( " Reset " ) + " \t R " , SQ_ADD_KACTION ( TQt : : Key_R ) , TQ _SLOT( activate ( ) ) ) ;
id_prop = menu - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/prop16.png " ) ) , i18n ( " Properties " ) + " \t P " , SQ_ADD_KACTION ( TQt : : Key_P ) , TQ T _SLOT( activate ( ) ) ) ;
id_prop = menu - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/prop16.png " ) ) , i18n ( " Properties " ) + " \t P " , SQ_ADD_KACTION ( TQt : : Key_P ) , TQ _SLOT( activate ( ) ) ) ;
menu - > insertSeparator ( ) ;
menu - > insertSeparator ( ) ;
menu - > insertItem ( i18n ( " Hotkeys " ) + " \t / " , SQ_ADD_KACTION ( TQt : : Key_Slash ) , TQ T _SLOT( activate ( ) ) ) ;
menu - > insertItem ( i18n ( " Hotkeys " ) + " \t / " , SQ_ADD_KACTION ( TQt : : Key_Slash ) , TQ _SLOT( activate ( ) ) ) ;
# ifndef KSQUIRREL_PART
# ifndef KSQUIRREL_PART
menu - > insertSeparator ( ) ;
menu - > insertSeparator ( ) ;
menu - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/close16.png " ) ) , i18n ( " Close " ) + " \t X " , SQ_ADD_KACTION ( TQt : : Key_X ) , TQ T _SLOT( activate ( ) ) ) ;
menu - > insertItem ( TQPixmap ( locate ( " data " , " images/menu/close16.png " ) ) , i18n ( " Close " ) + " \t X " , SQ_ADD_KACTION ( TQt : : Key_X ) , TQ _SLOT( activate ( ) ) ) ;
# endif
# endif
SQ_ADD_KACTION ( TQt : : Key_Down + CTRL ) ;
SQ_ADD_KACTION ( TQt : : Key_Down + CTRL ) ;
@ -1073,7 +1073,7 @@ void SQ_GLWidget::slotAccelActivated()
job = TDEIO : : move ( tab - > m_original , url ) ;
job = TDEIO : : move ( tab - > m_original , url ) ;
job - > setWindow ( this ) ;
job - > setWindow ( this ) ;
connect ( job , TQ T _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ T _SLOT( slotCopyJobResult ( TDEIO : : Job * ) ) ) ;
connect ( job , TQ _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ _SLOT( slotCopyJobResult ( TDEIO : : Job * ) ) ) ;
}
}
else if ( ! ks . compare ( TQt : : Key_F7 ) | | ! ks . compare ( TQt : : Key_F8 ) )
else if ( ! ks . compare ( TQt : : Key_F7 ) | | ! ks . compare ( TQt : : Key_F8 ) )
{
{
@ -1085,7 +1085,7 @@ void SQ_GLWidget::slotAccelActivated()
job = TDEIO : : move ( tab - > m_original , lastCopy ) ;
job = TDEIO : : move ( tab - > m_original , lastCopy ) ;
job - > setWindow ( this ) ;
job - > setWindow ( this ) ;
connect ( job , TQ T _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ T _SLOT( slotCopyJobResult ( TDEIO : : Job * ) ) ) ;
connect ( job , TQ _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ _SLOT( slotCopyJobResult ( TDEIO : : Job * ) ) ) ;
}
}
else if ( ! ks . compare ( TQt : : Key_F9 ) ) copyURL ( ) ;
else if ( ! ks . compare ( TQt : : Key_F9 ) ) copyURL ( ) ;
else if ( ! ks . compare ( TQt : : Key_Slash ) ) slotShowHelp ( ) ;
else if ( ! ks . compare ( TQt : : Key_Slash ) ) slotShowHelp ( ) ;