@ -501,144 +501,144 @@ void Kile::setupActions()
( void ) KStdAction : : save ( docManager ( ) , TQT_SLOT ( fileSave ( ) ) , actionCollection ( ) , " kile_file_save " ) ;
( void ) KStdAction : : saveAs ( docManager ( ) , TQT_SLOT ( fileSaveAs ( ) ) , actionCollection ( ) , " kile_file_save_as " ) ;
( void ) new K Action( i18n ( " Save All " ) , " save_all " , 0 , docManager ( ) , TQT_SLOT ( fileSaveAll ( ) ) , actionCollection ( ) , " file_save_all " ) ;
( void ) new K Action( i18n ( " Save Copy As... " ) , " save_copy_as " , 0 , docManager ( ) , TQT_SLOT ( fileSaveCopyAs ( ) ) , actionCollection ( ) , " file_save_copy_as " ) ;
( void ) new K Action( i18n ( " Create Template From Document... " ) , 0 , docManager ( ) , TQT_SLOT ( createTemplate ( ) ) , actionCollection ( ) , " template_create " ) ;
( void ) new K Action( i18n ( " &Remove Template... " ) , 0 , docManager ( ) , TQT_SLOT ( removeTemplate ( ) ) , actionCollection ( ) , " template_remove " ) ;
( void ) new TDE Action( i18n ( " Save All " ) , " save_all " , 0 , docManager ( ) , TQT_SLOT ( fileSaveAll ( ) ) , actionCollection ( ) , " file_save_all " ) ;
( void ) new TDE Action( i18n ( " Save Copy As... " ) , " save_copy_as " , 0 , docManager ( ) , TQT_SLOT ( fileSaveCopyAs ( ) ) , actionCollection ( ) , " file_save_copy_as " ) ;
( void ) new TDE Action( i18n ( " Create Template From Document... " ) , 0 , docManager ( ) , TQT_SLOT ( createTemplate ( ) ) , actionCollection ( ) , " template_create " ) ;
( void ) new TDE Action( i18n ( " &Remove Template... " ) , 0 , docManager ( ) , TQT_SLOT ( removeTemplate ( ) ) , actionCollection ( ) , " template_remove " ) ;
( void ) KStdAction : : close ( docManager ( ) , TQT_SLOT ( fileClose ( ) ) , actionCollection ( ) , " file_close " ) ;
( void ) new K Action( i18n ( " Close All " ) , 0 , docManager ( ) , TQT_SLOT ( fileCloseAll ( ) ) , actionCollection ( ) , " file_close_all " ) ;
( void ) new K Action( i18n ( " Close All Ot&hers " ) , 0 , docManager ( ) , TQT_SLOT ( fileCloseAllOthers ( ) ) , actionCollection ( ) , " file_close_all_others " ) ;
( void ) new K Action( i18n ( " S&tatistics " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( showDocInfo ( ) ) , actionCollection ( ) , " Statistics " ) ;
( void ) new K Action( i18n ( " &ASCII " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToASCII ( ) ) , actionCollection ( ) , " file_export_ascii " ) ;
( void ) new K Action( i18n ( " Latin-&1 (iso 8859-1) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin1 " ) ;
( void ) new K Action( i18n ( " Latin-&2 (iso 8859-2) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin2 " ) ;
( void ) new K Action( i18n ( " Latin-&3 (iso 8859-3) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin3 " ) ;
( void ) new K Action( i18n ( " Latin-&4 (iso 8859-4) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin4 " ) ;
( void ) new K Action( i18n ( " Latin-&5 (iso 8859-5) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin5 " ) ;
( void ) new K Action( i18n ( " Latin-&9 (iso 8859-9) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin9 " ) ;
( void ) new K Action( i18n ( " &Central European (cp-1250) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_cp1250 " ) ;
( void ) new K Action( i18n ( " &Western European (cp-1252) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_cp1252 " ) ;
( void ) new TDE Action( i18n ( " Close All " ) , 0 , docManager ( ) , TQT_SLOT ( fileCloseAll ( ) ) , actionCollection ( ) , " file_close_all " ) ;
( void ) new TDE Action( i18n ( " Close All Ot&hers " ) , 0 , docManager ( ) , TQT_SLOT ( fileCloseAllOthers ( ) ) , actionCollection ( ) , " file_close_all_others " ) ;
( void ) new TDE Action( i18n ( " S&tatistics " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( showDocInfo ( ) ) , actionCollection ( ) , " Statistics " ) ;
( void ) new TDE Action( i18n ( " &ASCII " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToASCII ( ) ) , actionCollection ( ) , " file_export_ascii " ) ;
( void ) new TDE Action( i18n ( " Latin-&1 (iso 8859-1) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin1 " ) ;
( void ) new TDE Action( i18n ( " Latin-&2 (iso 8859-2) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin2 " ) ;
( void ) new TDE Action( i18n ( " Latin-&3 (iso 8859-3) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin3 " ) ;
( void ) new TDE Action( i18n ( " Latin-&4 (iso 8859-4) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin4 " ) ;
( void ) new TDE Action( i18n ( " Latin-&5 (iso 8859-5) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin5 " ) ;
( void ) new TDE Action( i18n ( " Latin-&9 (iso 8859-9) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_latin9 " ) ;
( void ) new TDE Action( i18n ( " &Central European (cp-1250) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_cp1250 " ) ;
( void ) new TDE Action( i18n ( " &Western European (cp-1252) " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( convertToEnc ( ) ) , actionCollection ( ) , " file_export_cp1252 " ) ;
( void ) KStdAction : : quit ( TQT_TQOBJECT ( this ) , TQT_SLOT ( close ( ) ) , actionCollection ( ) , " file_quit " ) ;
( void ) KStdAction : : gotoLine ( m_edit , TQT_SLOT ( gotoLine ( ) ) , actionCollection ( ) , " edit_goto_line " ) ;
( void ) new K Action( i18n ( " Next section " ) , " nextsection " , ALT + Key_Down , m_edit , TQT_SLOT ( gotoNextSectioning ( ) ) , actionCollection ( ) , " edit_next_section " ) ;
( void ) new K Action( i18n ( " Prev section " ) , " prevsection " , ALT + Key_Up , m_edit , TQT_SLOT ( gotoPrevSectioning ( ) ) , actionCollection ( ) , " edit_prev_section " ) ;
( void ) new K Action( i18n ( " Next paragraph " ) , " nextparagraph " , ALT + SHIFT + Key_Down , m_edit , TQT_SLOT ( gotoNextParagraph ( ) ) , actionCollection ( ) , " edit_next_paragraph " ) ;
( void ) new K Action( i18n ( " Prev paragraph " ) , " prevparagraph " , ALT + SHIFT + Key_Up , m_edit , TQT_SLOT ( gotoPrevParagraph ( ) ) , actionCollection ( ) , " edit_prev_paragraph " ) ;
( void ) new TDE Action( i18n ( " Next section " ) , " nextsection " , ALT + Key_Down , m_edit , TQT_SLOT ( gotoNextSectioning ( ) ) , actionCollection ( ) , " edit_next_section " ) ;
( void ) new TDE Action( i18n ( " Prev section " ) , " prevsection " , ALT + Key_Up , m_edit , TQT_SLOT ( gotoPrevSectioning ( ) ) , actionCollection ( ) , " edit_prev_section " ) ;
( void ) new TDE Action( i18n ( " Next paragraph " ) , " nextparagraph " , ALT + SHIFT + Key_Down , m_edit , TQT_SLOT ( gotoNextParagraph ( ) ) , actionCollection ( ) , " edit_next_paragraph " ) ;
( void ) new TDE Action( i18n ( " Prev paragraph " ) , " prevparagraph " , ALT + SHIFT + Key_Up , m_edit , TQT_SLOT ( gotoPrevParagraph ( ) ) , actionCollection ( ) , " edit_prev_paragraph " ) ;
( void ) new K Action( i18n ( " Find &in Files... " ) , " filegrep " , ALT + SHIFT + Key_F , TQT_TQOBJECT ( this ) , TQT_SLOT ( findInFiles ( ) ) , actionCollection ( ) , " FindInFiles " ) ;
( void ) new TDE Action( i18n ( " Find &in Files... " ) , " filegrep " , ALT + SHIFT + Key_F , TQT_TQOBJECT ( this ) , TQT_SLOT ( findInFiles ( ) ) , actionCollection ( ) , " FindInFiles " ) ;
( void ) new K Action( i18n ( " Refresh Str&ucture " ) , " refreshstructure " , Key_F12 , TQT_TQOBJECT ( this ) , TQT_SLOT ( refreshStructure ( ) ) , actionCollection ( ) , " RefreshStructure " ) ;
( void ) new TDE Action( i18n ( " Refresh Str&ucture " ) , " refreshstructure " , Key_F12 , TQT_TQOBJECT ( this ) , TQT_SLOT ( refreshStructure ( ) ) , actionCollection ( ) , " RefreshStructure " ) ;
//project actions
( void ) new K Action( i18n ( " &New Project... " ) , " window_new " , 0 , docManager ( ) , TQT_SLOT ( projectNew ( ) ) , actionCollection ( ) , " project_new " ) ;
( void ) new K Action( i18n ( " &Open Project... " ) , " project_open " , 0 , docManager ( ) , TQT_SLOT ( projectOpen ( ) ) , actionCollection ( ) , " project_open " ) ;
m_actRecentProjects = new K RecentFilesAction( i18n ( " Open &Recent Project " ) , 0 , docManager ( ) , TQT_SLOT ( projectOpen ( const KURL & ) ) , actionCollection ( ) , " project_openrecent " ) ;
( void ) new TDE Action( i18n ( " &New Project... " ) , " window_new " , 0 , docManager ( ) , TQT_SLOT ( projectNew ( ) ) , actionCollection ( ) , " project_new " ) ;
( void ) new TDE Action( i18n ( " &Open Project... " ) , " project_open " , 0 , docManager ( ) , TQT_SLOT ( projectOpen ( ) ) , actionCollection ( ) , " project_open " ) ;
m_actRecentProjects = new TDE RecentFilesAction( i18n ( " Open &Recent Project " ) , 0 , docManager ( ) , TQT_SLOT ( projectOpen ( const KURL & ) ) , actionCollection ( ) , " project_openrecent " ) ;
connect ( docManager ( ) , TQT_SIGNAL ( removeFromRecentProjects ( const KURL & ) ) , m_actRecentProjects , TQT_SLOT ( removeURL ( const KURL & ) ) ) ;
connect ( docManager ( ) , TQT_SIGNAL ( addToRecentProjects ( const KURL & ) ) , m_actRecentProjects , TQT_SLOT ( addURL ( const KURL & ) ) ) ;
m_actRecentProjects - > loadEntries ( m_config , " Projects " ) ;
( void ) new K Action( i18n ( " A&dd Files to Project... " ) , " project_add " , 0 , docManager ( ) , TQT_SLOT ( projectAddFiles ( ) ) , actionCollection ( ) , " project_add " ) ;
( void ) new K Action( i18n ( " Refresh Project &Tree " ) , " rebuild " , 0 , docManager ( ) , TQT_SLOT ( buildProjectTree ( ) ) , actionCollection ( ) , " project_buildtree " ) ;
( void ) new K Action( i18n ( " &Archive " ) , " package " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( runArchiveTool ( ) ) , actionCollection ( ) , " project_archive " ) ;
( void ) new K Action( i18n ( " Project &Options " ) , " configure_project " , 0 , docManager ( ) , TQT_SLOT ( projectOptions ( ) ) , actionCollection ( ) , " project_options " ) ;
( void ) new K Action( i18n ( " &Close Project " ) , " fileclose " , 0 , docManager ( ) , TQT_SLOT ( projectClose ( ) ) , actionCollection ( ) , " project_close " ) ;
( void ) new TDE Action( i18n ( " A&dd Files to Project... " ) , " project_add " , 0 , docManager ( ) , TQT_SLOT ( projectAddFiles ( ) ) , actionCollection ( ) , " project_add " ) ;
( void ) new TDE Action( i18n ( " Refresh Project &Tree " ) , " rebuild " , 0 , docManager ( ) , TQT_SLOT ( buildProjectTree ( ) ) , actionCollection ( ) , " project_buildtree " ) ;
( void ) new TDE Action( i18n ( " &Archive " ) , " package " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( runArchiveTool ( ) ) , actionCollection ( ) , " project_archive " ) ;
( void ) new TDE Action( i18n ( " Project &Options " ) , " configure_project " , 0 , docManager ( ) , TQT_SLOT ( projectOptions ( ) ) , actionCollection ( ) , " project_options " ) ;
( void ) new TDE Action( i18n ( " &Close Project " ) , " fileclose " , 0 , docManager ( ) , TQT_SLOT ( projectClose ( ) ) , actionCollection ( ) , " project_close " ) ;
// new project actions (dani)
( void ) new K Action( i18n ( " &Show Projects... " ) , 0 , docManager ( ) , TQT_SLOT ( projectShow ( ) ) , actionCollection ( ) , " project_show " ) ;
( void ) new K Action( i18n ( " Re&move Files From Project... " ) , " project_remove " , 0 , docManager ( ) , TQT_SLOT ( projectRemoveFiles ( ) ) , actionCollection ( ) , " project_remove " ) ;
( void ) new K Action( i18n ( " Show Project &Files... " ) , " project_show " , 0 , docManager ( ) , TQT_SLOT ( projectShowFiles ( ) ) , actionCollection ( ) , " project_showfiles " ) ;
( void ) new TDE Action( i18n ( " &Show Projects... " ) , 0 , docManager ( ) , TQT_SLOT ( projectShow ( ) ) , actionCollection ( ) , " project_show " ) ;
( void ) new TDE Action( i18n ( " Re&move Files From Project... " ) , " project_remove " , 0 , docManager ( ) , TQT_SLOT ( projectRemoveFiles ( ) ) , actionCollection ( ) , " project_remove " ) ;
( void ) new TDE Action( i18n ( " Show Project &Files... " ) , " project_show " , 0 , docManager ( ) , TQT_SLOT ( projectShowFiles ( ) ) , actionCollection ( ) , " project_showfiles " ) ;
// tbraun
( void ) new K Action( i18n ( " Open All &Project Files " ) , 0 , docManager ( ) , TQT_SLOT ( projectOpenAllFiles ( ) ) , actionCollection ( ) , " project_openallfiles " ) ;
( void ) new K Action( i18n ( " Find in &Project... " ) , " projectgrep " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( findInProjects ( ) ) , actionCollection ( ) , " project_findfiles " ) ;
( void ) new TDE Action( i18n ( " Open All &Project Files " ) , 0 , docManager ( ) , TQT_SLOT ( projectOpenAllFiles ( ) ) , actionCollection ( ) , " project_openallfiles " ) ;
( void ) new TDE Action( i18n ( " Find in &Project... " ) , " projectgrep " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( findInProjects ( ) ) , actionCollection ( ) , " project_findfiles " ) ;
//build actions
( void ) new K Action( i18n ( " Clean " ) , " trashcan_full " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( cleanAll ( ) ) , actionCollection ( ) , " CleanAll " ) ;
( void ) new K Action( i18n ( " View Log File " ) , " viewlog " , ALT + Key_0 , m_errorHandler , TQT_SLOT ( ViewLog ( ) ) , actionCollection ( ) , " ViewLog " ) ;
( void ) new K Action( i18n ( " Previous LaTeX Error " ) , " errorprev " , 0 , m_errorHandler , TQT_SLOT ( PreviousError ( ) ) , actionCollection ( ) , " PreviousError " ) ;
( void ) new K Action( i18n ( " Next LaTeX Error " ) , " errornext " , 0 , m_errorHandler , TQT_SLOT ( NextError ( ) ) , actionCollection ( ) , " NextError " ) ;
( void ) new K Action( i18n ( " Previous LaTeX Warning " ) , " warnprev " , 0 , m_errorHandler , TQT_SLOT ( PreviousWarning ( ) ) , actionCollection ( ) , " PreviousWarning " ) ;
( void ) new K Action( i18n ( " Next LaTeX Warning " ) , " warnnext " , 0 , m_errorHandler , TQT_SLOT ( NextWarning ( ) ) , actionCollection ( ) , " NextWarning " ) ;
( void ) new K Action( i18n ( " Previous LaTeX BadBox " ) , " bboxprev " , 0 , m_errorHandler , TQT_SLOT ( PreviousBadBox ( ) ) , actionCollection ( ) , " PreviousBadBox " ) ;
( void ) new K Action( i18n ( " Next LaTeX BadBox " ) , " bboxnext " , 0 , m_errorHandler , TQT_SLOT ( NextBadBox ( ) ) , actionCollection ( ) , " NextBadBox " ) ;
m_paStop = new K Action( i18n ( " &Stop " ) , " stop " , Key_Escape , 0 , 0 , actionCollection ( ) , " Stop " ) ;
( void ) new TDE Action( i18n ( " Clean " ) , " trashcan_full " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( cleanAll ( ) ) , actionCollection ( ) , " CleanAll " ) ;
( void ) new TDE Action( i18n ( " View Log File " ) , " viewlog " , ALT + Key_0 , m_errorHandler , TQT_SLOT ( ViewLog ( ) ) , actionCollection ( ) , " ViewLog " ) ;
( void ) new TDE Action( i18n ( " Previous LaTeX Error " ) , " errorprev " , 0 , m_errorHandler , TQT_SLOT ( PreviousError ( ) ) , actionCollection ( ) , " PreviousError " ) ;
( void ) new TDE Action( i18n ( " Next LaTeX Error " ) , " errornext " , 0 , m_errorHandler , TQT_SLOT ( NextError ( ) ) , actionCollection ( ) , " NextError " ) ;
( void ) new TDE Action( i18n ( " Previous LaTeX Warning " ) , " warnprev " , 0 , m_errorHandler , TQT_SLOT ( PreviousWarning ( ) ) , actionCollection ( ) , " PreviousWarning " ) ;
( void ) new TDE Action( i18n ( " Next LaTeX Warning " ) , " warnnext " , 0 , m_errorHandler , TQT_SLOT ( NextWarning ( ) ) , actionCollection ( ) , " NextWarning " ) ;
( void ) new TDE Action( i18n ( " Previous LaTeX BadBox " ) , " bboxprev " , 0 , m_errorHandler , TQT_SLOT ( PreviousBadBox ( ) ) , actionCollection ( ) , " PreviousBadBox " ) ;
( void ) new TDE Action( i18n ( " Next LaTeX BadBox " ) , " bboxnext " , 0 , m_errorHandler , TQT_SLOT ( NextBadBox ( ) ) , actionCollection ( ) , " NextBadBox " ) ;
m_paStop = new TDE Action( i18n ( " &Stop " ) , " stop " , Key_Escape , 0 , 0 , actionCollection ( ) , " Stop " ) ;
m_paStop - > setEnabled ( false ) ;
( void ) new K Action( i18n ( " Editor View " ) , " edit " , CTRL + Key_E , TQT_TQOBJECT ( this ) , TQT_SLOT ( showEditorWidget ( ) ) , actionCollection ( ) , " EditorView " ) ;
( void ) new K Action( i18n ( " Next Document " ) , " forward " , ALT + Key_Right , viewManager ( ) , TQT_SLOT ( gotoNextView ( ) ) , actionCollection ( ) , " gotoNextDocument " ) ;
( void ) new K Action( i18n ( " Previous Document " ) , " back " , ALT + Key_Left , viewManager ( ) , TQT_SLOT ( gotoPrevView ( ) ) , actionCollection ( ) , " gotoPrevDocument " ) ;
( void ) new K Action( i18n ( " Focus Log/Messages View " ) , CTRL + ALT + Key_M , TQT_TQOBJECT ( this ) , TQT_SLOT ( focusLog ( ) ) , actionCollection ( ) , " focus_log " ) ;
( void ) new K Action( i18n ( " Focus Output View " ) , CTRL + ALT + Key_O , TQT_TQOBJECT ( this ) , TQT_SLOT ( focusOutput ( ) ) , actionCollection ( ) , " focus_output " ) ;
( void ) new K Action( i18n ( " Focus Konsole View " ) , CTRL + ALT + Key_K , TQT_TQOBJECT ( this ) , TQT_SLOT ( focusKonsole ( ) ) , actionCollection ( ) , " focus_konsole " ) ;
( void ) new K Action( i18n ( " Focus Editor View " ) , CTRL + ALT + Key_E , TQT_TQOBJECT ( this ) , TQT_SLOT ( focusEditor ( ) ) , actionCollection ( ) , " focus_editor " ) ;
( void ) new TDE Action( i18n ( " Editor View " ) , " edit " , CTRL + Key_E , TQT_TQOBJECT ( this ) , TQT_SLOT ( showEditorWidget ( ) ) , actionCollection ( ) , " EditorView " ) ;
( void ) new TDE Action( i18n ( " Next Document " ) , " forward " , ALT + Key_Right , viewManager ( ) , TQT_SLOT ( gotoNextView ( ) ) , actionCollection ( ) , " gotoNextDocument " ) ;
( void ) new TDE Action( i18n ( " Previous Document " ) , " back " , ALT + Key_Left , viewManager ( ) , TQT_SLOT ( gotoPrevView ( ) ) , actionCollection ( ) , " gotoPrevDocument " ) ;
( void ) new TDE Action( i18n ( " Focus Log/Messages View " ) , CTRL + ALT + Key_M , TQT_TQOBJECT ( this ) , TQT_SLOT ( focusLog ( ) ) , actionCollection ( ) , " focus_log " ) ;
( void ) new TDE Action( i18n ( " Focus Output View " ) , CTRL + ALT + Key_O , TQT_TQOBJECT ( this ) , TQT_SLOT ( focusOutput ( ) ) , actionCollection ( ) , " focus_output " ) ;
( void ) new TDE Action( i18n ( " Focus Konsole View " ) , CTRL + ALT + Key_K , TQT_TQOBJECT ( this ) , TQT_SLOT ( focusKonsole ( ) ) , actionCollection ( ) , " focus_konsole " ) ;
( void ) new TDE Action( i18n ( " Focus Editor View " ) , CTRL + ALT + Key_E , TQT_TQOBJECT ( this ) , TQT_SLOT ( focusEditor ( ) ) , actionCollection ( ) , " focus_editor " ) ;
// CodeCompletion (dani)
( void ) new K Action( i18n ( " (La)TeX Command " ) , " complete1 " , CTRL + Key_Space , m_edit , TQT_SLOT ( completeWord ( ) ) , actionCollection ( ) , " edit_complete_word " ) ;
( void ) new K Action( i18n ( " Environment " ) , " complete2 " , ALT + Key_Space , m_edit , TQT_SLOT ( completeEnvironment ( ) ) , actionCollection ( ) , " edit_complete_env " ) ;
( void ) new K Action( i18n ( " Abbreviation " ) , " complete3 " , CTRL + ALT + Key_Space , m_edit , TQT_SLOT ( completeAbbreviation ( ) ) , actionCollection ( ) , " edit_complete_abbrev " ) ;
( void ) new TDE Action( i18n ( " (La)TeX Command " ) , " complete1 " , CTRL + Key_Space , m_edit , TQT_SLOT ( completeWord ( ) ) , actionCollection ( ) , " edit_complete_word " ) ;
( void ) new TDE Action( i18n ( " Environment " ) , " complete2 " , ALT + Key_Space , m_edit , TQT_SLOT ( completeEnvironment ( ) ) , actionCollection ( ) , " edit_complete_env " ) ;
( void ) new TDE Action( i18n ( " Abbreviation " ) , " complete3 " , CTRL + ALT + Key_Space , m_edit , TQT_SLOT ( completeAbbreviation ( ) ) , actionCollection ( ) , " edit_complete_abbrev " ) ;
( void ) new K Action( i18n ( " Next Bullet " ) , " nextbullet " , CTRL + ALT + Key_Right , m_edit , TQT_SLOT ( nextBullet ( ) ) , actionCollection ( ) , " edit_next_bullet " ) ;
( void ) new K Action( i18n ( " Prev Bullet " ) , " prevbullet " , CTRL + ALT + Key_Left , m_edit , TQT_SLOT ( prevBullet ( ) ) , actionCollection ( ) , " edit_prev_bullet " ) ;
( void ) new TDE Action( i18n ( " Next Bullet " ) , " nextbullet " , CTRL + ALT + Key_Right , m_edit , TQT_SLOT ( nextBullet ( ) ) , actionCollection ( ) , " edit_next_bullet " ) ;
( void ) new TDE Action( i18n ( " Prev Bullet " ) , " prevbullet " , CTRL + ALT + Key_Left , m_edit , TQT_SLOT ( prevBullet ( ) ) , actionCollection ( ) , " edit_prev_bullet " ) ;
// advanced editor (dani)
( void ) new K Action( i18n ( " Environment (inside) " ) , " selenv_i " , K Shortcut( " CTRL+Alt+S,E " ) , m_edit , TQT_SLOT ( selectEnvInside ( ) ) , actionCollection ( ) , " edit_select_inside_env " ) ;
( void ) new K Action( i18n ( " Environment (outside) " ) , " selenv_o " , K Shortcut( " CTRL+Alt+S,F " ) , m_edit , TQT_SLOT ( selectEnvOutside ( ) ) , actionCollection ( ) , " edit_select_outside_env " ) ;
( void ) new K Action( i18n ( " TeX Group (inside) " ) , " selgroup_i " , K Shortcut( " CTRL+Alt+S,T " ) , m_edit , TQT_SLOT ( selectTexgroupInside ( ) ) , actionCollection ( ) , " edit_select_inside_group " ) ;
( void ) new K Action( i18n ( " TeX Group (outside) " ) , " selgroup_o " , K Shortcut( " CTRL+Alt+S,U " ) , m_edit , TQT_SLOT ( selectTexgroupOutside ( ) ) , actionCollection ( ) , " edit_select_outside_group " ) ;
( void ) new K Action( i18n ( " Math Group " ) , " selmath " , K Shortcut( " CTRL+Alt+S,M " ) , m_edit , TQT_SLOT ( selectMathgroup ( ) ) , actionCollection ( ) , " edit_select_mathgroup " ) ;
( void ) new K Action( i18n ( " Paragraph " ) , " selpar " , K Shortcut( " CTRL+Alt+S,P " ) , m_edit , TQT_SLOT ( selectParagraph ( ) ) , actionCollection ( ) , " edit_select_paragraph " ) ;
( void ) new K Action( i18n ( " Line " ) , " selline " , K Shortcut( " CTRL+Alt+S,L " ) , m_edit , TQT_SLOT ( selectLine ( ) ) , actionCollection ( ) , " edit_select_line " ) ;
( void ) new K Action( i18n ( " TeX Word " ) , " selword " , K Shortcut( " CTRL+Alt+S,W " ) , m_edit , TQT_SLOT ( selectWord ( ) ) , actionCollection ( ) , " edit_select_word " ) ;
( void ) new K Action( i18n ( " Environment (inside) " ) , " delenv_i " , K Shortcut( " CTRL+Alt+T,E " ) , m_edit , TQT_SLOT ( deleteEnvInside ( ) ) , actionCollection ( ) , " edit_delete_inside_env " ) ;
( void ) new K Action( i18n ( " Environment (outside) " ) , " delenv_o " , K Shortcut( " CTRL+Alt+T,F " ) , m_edit , TQT_SLOT ( deleteEnvOutside ( ) ) , actionCollection ( ) , " edit_delete_outside_env " ) ;
( void ) new K Action( i18n ( " TeX Group (inside) " ) , " delgroup_i " , K Shortcut( " CTRL+Alt+T,T " ) , m_edit , TQT_SLOT ( deleteTexgroupInside ( ) ) , actionCollection ( ) , " edit_delete_inside_group " ) ;
( void ) new K Action( i18n ( " TeX Group (outside) " ) , " delgroup_o " , K Shortcut( " CTRL+Alt+T,U " ) , m_edit , TQT_SLOT ( deleteTexgroupInside ( ) ) , actionCollection ( ) , " edit_delete_outside_group " ) ;
( void ) new K Action( i18n ( " Math Group " ) , " delmath " , K Shortcut( " CTRL+Alt+T,M " ) , m_edit , TQT_SLOT ( deleteMathgroup ( ) ) , actionCollection ( ) , " edit_delete_mathgroup " ) ;
( void ) new K Action( i18n ( " Paragraph " ) , " delpar " , K Shortcut( " CTRL+Alt+T,P " ) , m_edit , TQT_SLOT ( deleteParagraph ( ) ) , actionCollection ( ) , " edit_delete_paragraph " ) ;
( void ) new K Action( i18n ( " To End of Line " ) , " deleol " , K Shortcut( " CTRL+Alt+T,I " ) , m_edit , TQT_SLOT ( deleteEndOfLine ( ) ) , actionCollection ( ) , " edit_delete_eol " ) ;
( void ) new K Action( i18n ( " TeX Word " ) , " delword " , K Shortcut( " CTRL+Alt+T,W " ) , m_edit , TQT_SLOT ( deleteWord ( ) ) , actionCollection ( ) , " edit_delete_word " ) ;
( void ) new K Action( i18n ( " Goto Begin " ) , " gotobeginenv " , K Shortcut( " CTRL+Alt+E,B " ) , m_edit , TQT_SLOT ( gotoBeginEnv ( ) ) , actionCollection ( ) , " edit_begin_env " ) ;
( void ) new K Action( i18n ( " Goto End " ) , " gotoendenv " , K Shortcut( " CTRL+Alt+E,E " ) , m_edit , TQT_SLOT ( gotoEndEnv ( ) ) , actionCollection ( ) , " edit_end_env " ) ;
( void ) new K Action( i18n ( " Match " ) , " matchenv " , K Shortcut( " CTRL+Alt+E,M " ) , m_edit , TQT_SLOT ( matchEnv ( ) ) , actionCollection ( ) , " edit_match_env " ) ;
( void ) new K Action( i18n ( " Close " ) , " closeenv " , K Shortcut( " CTRL+Alt+E,C " ) , m_edit , TQT_SLOT ( closeEnv ( ) ) , actionCollection ( ) , " edit_close_env " ) ;
( void ) new K Action( i18n ( " Close All " ) , " closeallenv " , K Shortcut( " CTRL+Alt+E,A " ) , m_edit , TQT_SLOT ( closeAllEnv ( ) ) , actionCollection ( ) , " edit_closeall_env " ) ;
( void ) new K Action( i18n ( " Goto Begin " ) , " gotobegingroup " , K Shortcut( " CTRL+Alt+G,B " ) , m_edit , TQT_SLOT ( gotoBeginTexgroup ( ) ) , actionCollection ( ) , " edit_begin_group " ) ;
( void ) new K Action( i18n ( " Goto End " ) , " gotoendgroup " , K Shortcut( " CTRL+Alt+G,E " ) , m_edit , TQT_SLOT ( gotoEndTexgroup ( ) ) , actionCollection ( ) , " edit_end_group " ) ;
( void ) new K Action( i18n ( " Match " ) , " matchgroup " , K Shortcut( " CTRL+Alt+G,M " ) , m_edit , TQT_SLOT ( matchTexgroup ( ) ) , actionCollection ( ) , " edit_match_group " ) ;
( void ) new K Action( i18n ( " Close " ) , " closegroup " , K Shortcut( " CTRL+Alt+G,C " ) , m_edit , TQT_SLOT ( closeTexgroup ( ) ) , actionCollection ( ) , " edit_close_group " ) ;
( void ) new K Action( i18n ( " Selection " ) , " preview_sel " , K Shortcut( " CTRL+Alt+P,S " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPreviewSelection ( ) ) , actionCollection ( ) , " quickpreview_selection " ) ;
( void ) new K Action( i18n ( " Environment " ) , " preview_env " , K Shortcut( " CTRL+Alt+P,E " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPreviewEnvironment ( ) ) , actionCollection ( ) , " quickpreview_environment " ) ;
( void ) new K Action( i18n ( " Subdocument " ) , " preview_subdoc " , K Shortcut( " CTRL+Alt+P,D " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPreviewSubdocument ( ) ) , actionCollection ( ) , " quickpreview_subdocument " ) ;
( void ) new K Action ( i18n ( " Mathgroup " ) , " edu_mathematics " , K Shortcut( " CTRL+Alt+P,M " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPreviewMathgroup ( ) ) , actionCollection ( ) , " quickpreview_math " ) ;
( void ) new TDE Action( i18n ( " Environment (inside) " ) , " selenv_i " , TDE Shortcut( " CTRL+Alt+S,E " ) , m_edit , TQT_SLOT ( selectEnvInside ( ) ) , actionCollection ( ) , " edit_select_inside_env " ) ;
( void ) new TDE Action( i18n ( " Environment (outside) " ) , " selenv_o " , TDE Shortcut( " CTRL+Alt+S,F " ) , m_edit , TQT_SLOT ( selectEnvOutside ( ) ) , actionCollection ( ) , " edit_select_outside_env " ) ;
( void ) new TDE Action( i18n ( " TeX Group (inside) " ) , " selgroup_i " , TDE Shortcut( " CTRL+Alt+S,T " ) , m_edit , TQT_SLOT ( selectTexgroupInside ( ) ) , actionCollection ( ) , " edit_select_inside_group " ) ;
( void ) new TDE Action( i18n ( " TeX Group (outside) " ) , " selgroup_o " , TDE Shortcut( " CTRL+Alt+S,U " ) , m_edit , TQT_SLOT ( selectTexgroupOutside ( ) ) , actionCollection ( ) , " edit_select_outside_group " ) ;
( void ) new TDE Action( i18n ( " Math Group " ) , " selmath " , TDE Shortcut( " CTRL+Alt+S,M " ) , m_edit , TQT_SLOT ( selectMathgroup ( ) ) , actionCollection ( ) , " edit_select_mathgroup " ) ;
( void ) new TDE Action( i18n ( " Paragraph " ) , " selpar " , TDE Shortcut( " CTRL+Alt+S,P " ) , m_edit , TQT_SLOT ( selectParagraph ( ) ) , actionCollection ( ) , " edit_select_paragraph " ) ;
( void ) new TDE Action( i18n ( " Line " ) , " selline " , TDE Shortcut( " CTRL+Alt+S,L " ) , m_edit , TQT_SLOT ( selectLine ( ) ) , actionCollection ( ) , " edit_select_line " ) ;
( void ) new TDE Action( i18n ( " TeX Word " ) , " selword " , TDE Shortcut( " CTRL+Alt+S,W " ) , m_edit , TQT_SLOT ( selectWord ( ) ) , actionCollection ( ) , " edit_select_word " ) ;
( void ) new TDE Action( i18n ( " Environment (inside) " ) , " delenv_i " , TDE Shortcut( " CTRL+Alt+T,E " ) , m_edit , TQT_SLOT ( deleteEnvInside ( ) ) , actionCollection ( ) , " edit_delete_inside_env " ) ;
( void ) new TDE Action( i18n ( " Environment (outside) " ) , " delenv_o " , TDE Shortcut( " CTRL+Alt+T,F " ) , m_edit , TQT_SLOT ( deleteEnvOutside ( ) ) , actionCollection ( ) , " edit_delete_outside_env " ) ;
( void ) new TDE Action( i18n ( " TeX Group (inside) " ) , " delgroup_i " , TDE Shortcut( " CTRL+Alt+T,T " ) , m_edit , TQT_SLOT ( deleteTexgroupInside ( ) ) , actionCollection ( ) , " edit_delete_inside_group " ) ;
( void ) new TDE Action( i18n ( " TeX Group (outside) " ) , " delgroup_o " , TDE Shortcut( " CTRL+Alt+T,U " ) , m_edit , TQT_SLOT ( deleteTexgroupInside ( ) ) , actionCollection ( ) , " edit_delete_outside_group " ) ;
( void ) new TDE Action( i18n ( " Math Group " ) , " delmath " , TDE Shortcut( " CTRL+Alt+T,M " ) , m_edit , TQT_SLOT ( deleteMathgroup ( ) ) , actionCollection ( ) , " edit_delete_mathgroup " ) ;
( void ) new TDE Action( i18n ( " Paragraph " ) , " delpar " , TDE Shortcut( " CTRL+Alt+T,P " ) , m_edit , TQT_SLOT ( deleteParagraph ( ) ) , actionCollection ( ) , " edit_delete_paragraph " ) ;
( void ) new TDE Action( i18n ( " To End of Line " ) , " deleol " , TDE Shortcut( " CTRL+Alt+T,I " ) , m_edit , TQT_SLOT ( deleteEndOfLine ( ) ) , actionCollection ( ) , " edit_delete_eol " ) ;
( void ) new TDE Action( i18n ( " TeX Word " ) , " delword " , TDE Shortcut( " CTRL+Alt+T,W " ) , m_edit , TQT_SLOT ( deleteWord ( ) ) , actionCollection ( ) , " edit_delete_word " ) ;
( void ) new TDE Action( i18n ( " Goto Begin " ) , " gotobeginenv " , TDE Shortcut( " CTRL+Alt+E,B " ) , m_edit , TQT_SLOT ( gotoBeginEnv ( ) ) , actionCollection ( ) , " edit_begin_env " ) ;
( void ) new TDE Action( i18n ( " Goto End " ) , " gotoendenv " , TDE Shortcut( " CTRL+Alt+E,E " ) , m_edit , TQT_SLOT ( gotoEndEnv ( ) ) , actionCollection ( ) , " edit_end_env " ) ;
( void ) new TDE Action( i18n ( " Match " ) , " matchenv " , TDE Shortcut( " CTRL+Alt+E,M " ) , m_edit , TQT_SLOT ( matchEnv ( ) ) , actionCollection ( ) , " edit_match_env " ) ;
( void ) new TDE Action( i18n ( " Close " ) , " closeenv " , TDE Shortcut( " CTRL+Alt+E,C " ) , m_edit , TQT_SLOT ( closeEnv ( ) ) , actionCollection ( ) , " edit_close_env " ) ;
( void ) new TDE Action( i18n ( " Close All " ) , " closeallenv " , TDE Shortcut( " CTRL+Alt+E,A " ) , m_edit , TQT_SLOT ( closeAllEnv ( ) ) , actionCollection ( ) , " edit_closeall_env " ) ;
( void ) new TDE Action( i18n ( " Goto Begin " ) , " gotobegingroup " , TDE Shortcut( " CTRL+Alt+G,B " ) , m_edit , TQT_SLOT ( gotoBeginTexgroup ( ) ) , actionCollection ( ) , " edit_begin_group " ) ;
( void ) new TDE Action( i18n ( " Goto End " ) , " gotoendgroup " , TDE Shortcut( " CTRL+Alt+G,E " ) , m_edit , TQT_SLOT ( gotoEndTexgroup ( ) ) , actionCollection ( ) , " edit_end_group " ) ;
( void ) new TDE Action( i18n ( " Match " ) , " matchgroup " , TDE Shortcut( " CTRL+Alt+G,M " ) , m_edit , TQT_SLOT ( matchTexgroup ( ) ) , actionCollection ( ) , " edit_match_group " ) ;
( void ) new TDE Action( i18n ( " Close " ) , " closegroup " , TDE Shortcut( " CTRL+Alt+G,C " ) , m_edit , TQT_SLOT ( closeTexgroup ( ) ) , actionCollection ( ) , " edit_close_group " ) ;
( void ) new TDE Action( i18n ( " Selection " ) , " preview_sel " , TDE Shortcut( " CTRL+Alt+P,S " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPreviewSelection ( ) ) , actionCollection ( ) , " quickpreview_selection " ) ;
( void ) new TDE Action( i18n ( " Environment " ) , " preview_env " , TDE Shortcut( " CTRL+Alt+P,E " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPreviewEnvironment ( ) ) , actionCollection ( ) , " quickpreview_environment " ) ;
( void ) new TDE Action( i18n ( " Subdocument " ) , " preview_subdoc " , TDE Shortcut( " CTRL+Alt+P,D " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPreviewSubdocument ( ) ) , actionCollection ( ) , " quickpreview_subdocument " ) ;
( void ) new TDE Action ( i18n ( " Mathgroup " ) , " edu_mathematics " , TDE Shortcut( " CTRL+Alt+P,M " ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPreviewMathgroup ( ) ) , actionCollection ( ) , " quickpreview_math " ) ;
KileStdActions : : setupStdTags ( this , this ) ;
KileStdActions : : setupMathTags ( this ) ;
KileStdActions : : setupBibTags ( this ) ;
( void ) new K Action( i18n ( " Quick Start " ) , " quickwizard " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickDocument ( ) ) , actionCollection ( ) , " wizard_document " ) ;
( void ) new TDE Action( i18n ( " Quick Start " ) , " quickwizard " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickDocument ( ) ) , actionCollection ( ) , " wizard_document " ) ;
connect ( docManager ( ) , TQT_SIGNAL ( startWizard ( ) ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickDocument ( ) ) ) ;
( void ) new K Action( i18n ( " Tabular " ) , " wizard_tabular " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickTabular ( ) ) , actionCollection ( ) , " wizard_tabular " ) ;
( void ) new K Action( i18n ( " Array " ) , " wizard_array " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickArray ( ) ) , actionCollection ( ) , " wizard_array " ) ;
( void ) new K Action( i18n ( " Tabbing " ) , " wizard_tabbing " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickTabbing ( ) ) , actionCollection ( ) , " wizard_tabbing " ) ;
( void ) new K Action( i18n ( " Floats " ) , " wizard_float " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickFloat ( ) ) , actionCollection ( ) , " wizard_float " ) ;
( void ) new K Action( i18n ( " Math " ) , " wizard_math " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickMathenv ( ) ) , actionCollection ( ) , " wizard_mathenv " ) ;
( void ) new K Action( i18n ( " Postscript Tools " ) , " wizard_pstools " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPostscript ( ) ) , actionCollection ( ) , " wizard_postscript " ) ;
( void ) new TDE Action( i18n ( " Tabular " ) , " wizard_tabular " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickTabular ( ) ) , actionCollection ( ) , " wizard_tabular " ) ;
( void ) new TDE Action( i18n ( " Array " ) , " wizard_array " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickArray ( ) ) , actionCollection ( ) , " wizard_array " ) ;
( void ) new TDE Action( i18n ( " Tabbing " ) , " wizard_tabbing " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickTabbing ( ) ) , actionCollection ( ) , " wizard_tabbing " ) ;
( void ) new TDE Action( i18n ( " Floats " ) , " wizard_float " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickFloat ( ) ) , actionCollection ( ) , " wizard_float " ) ;
( void ) new TDE Action( i18n ( " Math " ) , " wizard_math " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickMathenv ( ) ) , actionCollection ( ) , " wizard_mathenv " ) ;
( void ) new TDE Action( i18n ( " Postscript Tools " ) , " wizard_pstools " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( quickPostscript ( ) ) , actionCollection ( ) , " wizard_postscript " ) ;
( void ) new K Action( i18n ( " Clean " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( cleanBib ( ) ) , actionCollection ( ) , " CleanBib " ) ;
( void ) new TDE Action( i18n ( " Clean " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( cleanBib ( ) ) , actionCollection ( ) , " CleanBib " ) ;
ModeAction = new K ToggleAction( i18n ( " Define Current Document as '&Master Document' " ) , " master " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( toggleMode ( ) ) , actionCollection ( ) , " Mode " ) ;
ModeAction = new TDE ToggleAction( i18n ( " Define Current Document as '&Master Document' " ) , " master " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( toggleMode ( ) ) , actionCollection ( ) , " Mode " ) ;
KToggleAction * tact = new K ToggleAction( i18n ( " Show S&ide Bar " ) , 0 , 0 , 0 , actionCollection ( ) , " StructureView " ) ;
TDEToggleAction * tact = new TDE ToggleAction( i18n ( " Show S&ide Bar " ) , 0 , 0 , 0 , actionCollection ( ) , " StructureView " ) ;
tact - > setChecked ( KileConfig : : sideBar ( ) ) ;
connect ( tact , TQT_SIGNAL ( toggled ( bool ) ) , m_sideBar , TQT_SLOT ( setVisible ( bool ) ) ) ;
connect ( m_sideBar , TQT_SIGNAL ( visibilityChanged ( bool ) ) , tact , TQT_SLOT ( setChecked ( bool ) ) ) ;
connect ( m_sideBar , TQT_SIGNAL ( visibilityChanged ( bool ) ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( sideOrBottomBarChanged ( bool ) ) ) ;
m_actionMessageView = new K ToggleAction( i18n ( " Show Mess&ages Bar " ) , 0 , 0 , 0 , actionCollection ( ) , " MessageView " ) ;
m_actionMessageView = new TDE ToggleAction( i18n ( " Show Mess&ages Bar " ) , 0 , 0 , 0 , actionCollection ( ) , " MessageView " ) ;
m_actionMessageView - > setChecked ( true ) ;
connect ( m_actionMessageView , TQT_SIGNAL ( toggled ( bool ) ) , m_bottomBar , TQT_SLOT ( setVisible ( bool ) ) ) ;
connect ( m_bottomBar , TQT_SIGNAL ( visibilityChanged ( bool ) ) , m_actionMessageView , TQT_SLOT ( setChecked ( bool ) ) ) ;
@ -647,7 +647,7 @@ void Kile::setupActions()
if ( m_singlemode ) { ModeAction - > setChecked ( false ) ; }
else { ModeAction - > setChecked ( true ) ; }
WatchFileAction = new K ToggleAction( i18n ( " Watch File Mode " ) , " watchfile " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( toggleWatchFile ( ) ) , actionCollection ( ) , " WatchFile " ) ;
WatchFileAction = new TDE ToggleAction( i18n ( " Watch File Mode " ) , " watchfile " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( toggleWatchFile ( ) ) , actionCollection ( ) , " WatchFile " ) ;
if ( m_bWatchFile ) { WatchFileAction - > setChecked ( true ) ; }
else { WatchFileAction - > setChecked ( false ) ; }
@ -657,27 +657,27 @@ void Kile::setupActions()
KStdAction : : tipOfDay ( TQT_TQOBJECT ( this ) , TQT_SLOT ( showTip ( ) ) , actionCollection ( ) , " help_tipofday " ) ;
( void ) new K Action( i18n ( " TeX Guide " ) , K Shortcut( " CTRL+Alt+H,G " ) , m_help , TQT_SLOT ( helpTexGuide ( ) ) , actionCollection ( ) , " help_tex_guide " ) ;
( void ) new K Action( i18n ( " LaTeX " ) , K Shortcut( " CTRL+Alt+H,L " ) , m_help , TQT_SLOT ( helpLatexIndex ( ) ) , actionCollection ( ) , " help_latex_index " ) ;
( void ) new K Action( i18n ( " LaTeX Command " ) , K Shortcut( " CTRL+Alt+H,C " ) , m_help , TQT_SLOT ( helpLatexCommand ( ) ) , actionCollection ( ) , " help_latex_command " ) ;
( void ) new K Action( i18n ( " LaTeX Subject " ) , K Shortcut( " CTRL+Alt+H,S " ) , m_help , TQT_SLOT ( helpLatexSubject ( ) ) , actionCollection ( ) , " help_latex_subject " ) ;
( void ) new K Action( i18n ( " LaTeX Env " ) , K Shortcut( " CTRL+Alt+H,E " ) , m_help , TQT_SLOT ( helpLatexEnvironment ( ) ) , actionCollection ( ) , " help_latex_env " ) ;
( void ) new K Action( i18n ( " Context Help " ) , K Shortcut( " CTRL+Alt+H,K " ) , m_help , TQT_SLOT ( helpKeyword ( ) ) , actionCollection ( ) , " help_context " ) ;
( void ) new K Action( i18n ( " Documentation Browser " ) , K Shortcut( " CTRL+Alt+H,B " ) , m_help , TQT_SLOT ( helpDocBrowser ( ) ) , actionCollection ( ) , " help_docbrowser " ) ;
( void ) new TDE Action( i18n ( " TeX Guide " ) , TDE Shortcut( " CTRL+Alt+H,G " ) , m_help , TQT_SLOT ( helpTexGuide ( ) ) , actionCollection ( ) , " help_tex_guide " ) ;
( void ) new TDE Action( i18n ( " LaTeX " ) , TDE Shortcut( " CTRL+Alt+H,L " ) , m_help , TQT_SLOT ( helpLatexIndex ( ) ) , actionCollection ( ) , " help_latex_index " ) ;
( void ) new TDE Action( i18n ( " LaTeX Command " ) , TDE Shortcut( " CTRL+Alt+H,C " ) , m_help , TQT_SLOT ( helpLatexCommand ( ) ) , actionCollection ( ) , " help_latex_command " ) ;
( void ) new TDE Action( i18n ( " LaTeX Subject " ) , TDE Shortcut( " CTRL+Alt+H,S " ) , m_help , TQT_SLOT ( helpLatexSubject ( ) ) , actionCollection ( ) , " help_latex_subject " ) ;
( void ) new TDE Action( i18n ( " LaTeX Env " ) , TDE Shortcut( " CTRL+Alt+H,E " ) , m_help , TQT_SLOT ( helpLatexEnvironment ( ) ) , actionCollection ( ) , " help_latex_env " ) ;
( void ) new TDE Action( i18n ( " Context Help " ) , TDE Shortcut( " CTRL+Alt+H,K " ) , m_help , TQT_SLOT ( helpKeyword ( ) ) , actionCollection ( ) , " help_context " ) ;
( void ) new TDE Action( i18n ( " Documentation Browser " ) , TDE Shortcut( " CTRL+Alt+H,B " ) , m_help , TQT_SLOT ( helpDocBrowser ( ) ) , actionCollection ( ) , " help_docbrowser " ) ;
( void ) new K Action( i18n ( " LaTeX Reference " ) , " help " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( helpLaTex ( ) ) , actionCollection ( ) , " help_latex_reference " ) ;
( void ) new TDE Action( i18n ( " LaTeX Reference " ) , " help " , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( helpLaTex ( ) ) , actionCollection ( ) , " help_latex_reference " ) ;
( void ) KStdAction : : helpContents ( help_menu , TQT_SLOT ( appHelpActivated ( ) ) , actionCollection ( ) , " help_handbook " ) ;
( void ) KStdAction : : reportBug ( help_menu , TQT_SLOT ( reportBug ( ) ) , actionCollection ( ) , " report_bug " ) ;
( void ) KStdAction : : aboutApp ( help_menu , TQT_SLOT ( aboutApplication ( ) ) , actionCollection ( ) , " help_aboutKile " ) ;
( void ) KStdAction : : aboutKDE ( help_menu , TQT_SLOT ( aboutKDE ( ) ) , actionCollection ( ) , " help_aboutKDE " ) ;
K Action * kileconfig = KStdAction : : preferences ( TQT_TQOBJECT ( this ) , TQT_SLOT ( generalOptions ( ) ) , actionCollection ( ) , " settings_configure " ) ;
TDE Action * kileconfig = KStdAction : : preferences ( TQT_TQOBJECT ( this ) , TQT_SLOT ( generalOptions ( ) ) , actionCollection ( ) , " settings_configure " ) ;
kileconfig - > setIcon ( " configure_kile " ) ;
( void ) KStdAction : : keyBindings ( TQT_TQOBJECT ( this ) , TQT_SLOT ( configureKeys ( ) ) , actionCollection ( ) , " settings_keys " ) ;
( void ) KStdAction : : configureToolbars ( TQT_TQOBJECT ( this ) , TQT_SLOT ( configureToolbars ( ) ) , actionCollection ( ) , " settings_toolbars " ) ;
new K Action( i18n ( " &System Check... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotPerformCheck ( ) ) , actionCollection ( ) , " settings_perform_check " ) ;
new TDE Action( i18n ( " &System Check... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( slotPerformCheck ( ) ) , actionCollection ( ) , " settings_perform_check " ) ;
m_menuUserTags = new K ActionMenu( i18n ( " User Tags " ) , SmallIcon ( " label " ) , actionCollection ( ) , " menuUserTags " ) ;
m_menuUserTags = new TDE ActionMenu( i18n ( " User Tags " ) , SmallIcon ( " label " ) , actionCollection ( ) , " menuUserTags " ) ;
m_menuUserTags - > setDelayed ( false ) ;
setupUserTagActions ( ) ;
@ -691,7 +691,7 @@ void Kile::setupTools()
KILE_DEBUG ( ) < < " ==Kile::setupTools()=================== " < < endl ;
TQStringList tools = KileTool : : toolList ( m_config ) ;
TQString toolMenu ;
TQPtrList < K Action> * pl ;
TQPtrList < TDE Action> * pl ;
unplugActionList ( " list_compilers " ) ;
unplugActionList ( " list_converters " ) ;
@ -723,7 +723,7 @@ void Kile::setupTools()
if ( action ( TQString ( " tool_ " + tools [ i ] ) . ascii ( ) ) = = 0L )
{
KAction * act = new K Action( tools [ i ] , KileTool : : iconFor ( tools [ i ] , m_config ) , K Shortcut( ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( runTool ( ) ) , actionCollection ( ) , TQString ( " tool_ " + tools [ i ] ) . ascii ( ) ) ;
TDEAction * act = new TDE Action( tools [ i ] , KileTool : : iconFor ( tools [ i ] , m_config ) , TDE Shortcut( ) , TQT_TQOBJECT ( this ) , TQT_SLOT ( runTool ( ) ) , actionCollection ( ) , TQString ( " tool_ " + tools [ i ] ) . ascii ( ) ) ;
pl - > append ( act ) ;
}
}
@ -743,9 +743,9 @@ void Kile::setupTools()
actionCollection ( ) - > readShortcutSettings ( " Shortcuts " , m_config ) ;
}
void Kile : : cleanUpActionList ( TQPtrList < K Action> & list , const TQStringList & tools )
void Kile : : cleanUpActionList ( TQPtrList < TDE Action> & list , const TQStringList & tools )
{
for ( K Action * act = list . first ( ) ; act ; act = list . next ( ) )
for ( TDE Action * act = list . first ( ) ; act ; act = list . next ( ) )
{
if ( action ( act - > name ( ) ) ! = 0L & & ! tools . contains ( TQString ( act - > name ( ) ) . mid ( 5 ) ) )
{
@ -757,18 +757,18 @@ void Kile::cleanUpActionList(TQPtrList<KAction> &list, const TQStringList & tool
void Kile : : setupUserTagActions ( )
{
K Shortcut tagaccels [ 10 ] = { CTRL + SHIFT + Key_1 , CTRL + SHIFT + Key_2 , CTRL + SHIFT + Key_3 , CTRL + SHIFT + Key_4 , CTRL + SHIFT + Key_5 , CTRL + SHIFT + Key_6 , CTRL + SHIFT + Key_7 ,
TDE Shortcut tagaccels [ 10 ] = { CTRL + SHIFT + Key_1 , CTRL + SHIFT + Key_2 , CTRL + SHIFT + Key_3 , CTRL + SHIFT + Key_4 , CTRL + SHIFT + Key_5 , CTRL + SHIFT + Key_6 , CTRL + SHIFT + Key_7 ,
CTRL + SHIFT + Key_8 , CTRL + SHIFT + Key_9 , CTRL + SHIFT + Key_0 } ;
m_actionEditTag = new K Action( i18n ( " Edit User Tags... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( editUserMenu ( ) ) , m_menuUserTags , " EditUserMenu " ) ;
m_actionEditTag = new TDE Action( i18n ( " Edit User Tags... " ) , 0 , TQT_TQOBJECT ( this ) , TQT_SLOT ( editUserMenu ( ) ) , m_menuUserTags , " EditUserMenu " ) ;
m_menuUserTags - > insert ( m_actionEditTag ) ;
if ( m_listUserTags . size ( ) > 0 ) {
m_actionEditSeparator = new K ActionSeparator( ) ;
m_actionEditSeparator = new TDE ActionSeparator( ) ;
m_menuUserTags - > insert ( m_actionEditSeparator ) ;
}
for ( uint i = 0 ; i < m_listUserTags . size ( ) ; + + i )
{
K Shortcut sc ; if ( i < 10 ) { sc = tagaccels [ i ] ; } else { sc = 0 ; }
TDE Shortcut sc ; if ( i < 10 ) { sc = tagaccels [ i ] ; } else { sc = 0 ; }
TQString name = TQString : : number ( i + 1 ) + " : " + m_listUserTags [ i ] . text ;
KileAction : : Tag * menuItem = new KileAction : : Tag ( name , sc , TQT_TQOBJECT ( this ) , TQT_SLOT ( insertTag ( const KileAction : : TagData & ) ) , actionCollection ( ) , TQString ( " tag_user_ " + m_listUserTags [ i ] . text ) . ascii ( ) , m_listUserTags [ i ] ) ;
m_listUserTagsActions . append ( menuItem ) ;
@ -1488,7 +1488,7 @@ void Kile::setMenuItems(TQStringList &list, TQMap<TQString,bool> &dict)
void Kile : : updateMenu ( )
{
KILE_DEBUG ( ) < < " ==Kile::updateKileMenu()==================== " < < endl ;
K Action * a ;
TDE Action * a ;
TQMap < TQString , bool > : : Iterator it ;
// update project menus
@ -1532,8 +1532,8 @@ void Kile::updateMenu()
}
// update action lists
K ActionPtrList actions = actionCollection ( ) - > actions ( ) ;
K ActionPtrList: : Iterator itact ;
TDE ActionPtrList actions = actionCollection ( ) - > actions ( ) ;
TDE ActionPtrList: : Iterator itact ;
for ( itact = actions . begin ( ) ; itact ! = actions . end ( ) ; + + itact )
{
if ( m_dictMenuAction . contains ( ( * itact ) - > name ( ) ) )
@ -1548,9 +1548,9 @@ void Kile::updateMenu()
}
void Kile : : updateActionList ( TQPtrList < K Action> * list , bool state )
void Kile : : updateActionList ( TQPtrList < TDE Action> * list , bool state )
{
for ( K Action * a = list - > first ( ) ; a ; a = list - > next ( ) ) {
for ( TDE Action * a = list - > first ( ) ; a ; a = list - > next ( ) ) {
a - > setEnabled ( state ) ;
}
}
@ -1780,7 +1780,7 @@ void Kile::editUserMenu()
uint len = m_listUserTagsActions . count ( ) ;
for ( uint j = 0 ; j < len ; + + j )
{
K Action * menuItem = m_listUserTagsActions . getLast ( ) ;
TDE Action * menuItem = m_listUserTagsActions . getLast ( ) ;
m_menuUserTags - > remove ( menuItem ) ;
m_listUserTagsActions . removeLast ( ) ;
delete menuItem ;