@ -127,7 +127,7 @@ public:
void connectDirTimer ( TQObject * ob )
{
TQObject : : connect ( & dirwatch_timer , TQ T _SIGNAL( timeout ( ) ) , ob , TQ T _SLOT( _dirwatchTimeout ( ) ) ) ;
TQObject : : connect ( & dirwatch_timer , TQ _SIGNAL( timeout ( ) ) , ob , TQ _SLOT( _dirwatchTimeout ( ) ) ) ;
}
void stopScan ( )
{
@ -151,7 +151,7 @@ public:
}
void connectPropTimer ( TQObject * ob )
{
TQObject : : connect ( & propTimer , TQ T _SIGNAL( timeout ( ) ) , ob , TQ T _SLOT( _propListTimeout ( ) ) ) ;
TQObject : : connect ( & propTimer , TQ _SIGNAL( timeout ( ) ) , ob , TQ _SLOT( _propListTimeout ( ) ) ) ;
}
private :
@ -216,27 +216,27 @@ tdesvnfilelist::tdesvnfilelist(TDEActionCollection*aCollect,TQWidget *parent, co
setSortColumn ( FileListViewItem : : COL_NAME ) ;
setupActions ( ) ;
connect ( this , TQ T _SIGNAL( contextMenuRequested ( TQListViewItem * , const TQPoint & , int ) ) , this ,
TQ T _SLOT( slotContextMenuRequested ( TQListViewItem * , const TQPoint & , int ) ) ) ;
connect ( this , TQ _SIGNAL( contextMenuRequested ( TQListViewItem * , const TQPoint & , int ) ) , this ,
TQ _SLOT( slotContextMenuRequested ( TQListViewItem * , const TQPoint & , int ) ) ) ;
/* not via executed 'cause click may used for selection - single click execution
just confuses in an application */
connect ( this , TQ T _SIGNAL( doubleClicked ( TQListViewItem * ) ) , this , TQ T _SLOT( slotItemDoubleClicked ( TQListViewItem * ) ) ) ;
connect ( this , TQ T _SIGNAL( returnPressed ( TQListViewItem * ) ) , this , TQ T _SLOT( slotItemDoubleClicked ( TQListViewItem * ) ) ) ;
connect ( this , TQ T _SIGNAL( selectionChanged ( ) ) , this , TQ T _SLOT( slotSelectionChanged ( ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( clientException ( const TQString & ) ) , this , TQ T _SLOT( slotClientException ( const TQString & ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( sendNotify ( const TQString & ) ) , this , TQ T _SLOT( slotNotifyMessage ( const TQString & ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( reinitItem ( SvnItem * ) ) , this , TQ T _SLOT( slotReinitItem ( SvnItem * ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( sigRefreshAll ( ) ) , this , TQ T _SLOT( refreshCurrentTree ( ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( sigRefreshCurrent ( SvnItem * ) ) , this , TQ T _SLOT( refreshCurrent ( SvnItem * ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( sigRefreshIcons ( bool ) ) , this , TQ T _SLOT( slotRescanIcons ( bool ) ) ) ;
connect ( this , TQ T _SIGNAL( dropped ( TQDropEvent * , TQListViewItem * ) ) ,
this , TQ T _SLOT( slotDropped ( TQDropEvent * , TQListViewItem * ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( sigGotourl ( const TQString & ) ) , this , TQ T _SLOT( _openURL ( const TQString & ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( sigCacheStatus ( TQ_LONG , TQ_LONG ) ) , this , TQ T _SIGNAL( sigCacheStatus ( TQ_LONG , TQ_LONG ) ) ) ;
connect ( m_SvnWrapper , TQ T _SIGNAL( sigThreadsChanged ( ) ) , this , TQ T _SLOT( enableActions ( ) ) ) ;
connect ( this , TQ _SIGNAL( doubleClicked ( TQListViewItem * ) ) , this , TQ _SLOT( slotItemDoubleClicked ( TQListViewItem * ) ) ) ;
connect ( this , TQ _SIGNAL( returnPressed ( TQListViewItem * ) ) , this , TQ _SLOT( slotItemDoubleClicked ( TQListViewItem * ) ) ) ;
connect ( this , TQ _SIGNAL( selectionChanged ( ) ) , this , TQ _SLOT( slotSelectionChanged ( ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( clientException ( const TQString & ) ) , this , TQ _SLOT( slotClientException ( const TQString & ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( sendNotify ( const TQString & ) ) , this , TQ _SLOT( slotNotifyMessage ( const TQString & ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( reinitItem ( SvnItem * ) ) , this , TQ _SLOT( slotReinitItem ( SvnItem * ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( sigRefreshAll ( ) ) , this , TQ _SLOT( refreshCurrentTree ( ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( sigRefreshCurrent ( SvnItem * ) ) , this , TQ _SLOT( refreshCurrent ( SvnItem * ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( sigRefreshIcons ( bool ) ) , this , TQ _SLOT( slotRescanIcons ( bool ) ) ) ;
connect ( this , TQ _SIGNAL( dropped ( TQDropEvent * , TQListViewItem * ) ) ,
this , TQ _SLOT( slotDropped ( TQDropEvent * , TQListViewItem * ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( sigGotourl ( const TQString & ) ) , this , TQ _SLOT( _openURL ( const TQString & ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( sigCacheStatus ( TQ_LONG , TQ_LONG ) ) , this , TQ _SIGNAL( sigCacheStatus ( TQ_LONG , TQ_LONG ) ) ) ;
connect ( m_SvnWrapper , TQ _SIGNAL( sigThreadsChanged ( ) ) , this , TQ _SLOT( enableActions ( ) ) ) ;
m_pList - > connectDirTimer ( this ) ;
m_pList - > connectPropTimer ( this ) ;
@ -259,152 +259,152 @@ void tdesvnfilelist::setupActions()
TDEAction * tmp_action ;
/* local and remote actions */
/* 1. actions on dirs AND files */
//new TDEAction(i18n("Log..."),"tdesvnlog",TDEShortcut(SHIFT+CTRL+Key_L),this,TQ T _SLOT(slotMakeRangeLog()),m_filesAction,"make_svn_log");
new TDEAction ( i18n ( " Full Log " ) , " tdesvnlog " , TDEShortcut ( CTRL + Key_L ) , this , TQ T _SLOT( slotMakeLog ( ) ) , m_filesAction , " make_svn_log_full " ) ;
new TDEAction ( i18n ( " Full revision tree " ) , " tdesvnlog " , TDEShortcut ( CTRL + Key_T ) , this , TQ T _SLOT( slotMakeTree ( ) ) , m_filesAction , " make_svn_tree " ) ;
//new TDEAction(i18n("Log..."),"tdesvnlog",TDEShortcut(SHIFT+CTRL+Key_L),this,TQ _SLOT(slotMakeRangeLog()),m_filesAction,"make_svn_log");
new TDEAction ( i18n ( " Full Log " ) , " tdesvnlog " , TDEShortcut ( CTRL + Key_L ) , this , TQ _SLOT( slotMakeLog ( ) ) , m_filesAction , " make_svn_log_full " ) ;
new TDEAction ( i18n ( " Full revision tree " ) , " tdesvnlog " , TDEShortcut ( CTRL + Key_T ) , this , TQ _SLOT( slotMakeTree ( ) ) , m_filesAction , " make_svn_tree " ) ;
new TDEAction ( i18n ( " Partial revision tree " ) , " tdesvnlog " , TDEShortcut ( SHIFT + CTRL + Key_T ) ,
this , TQ T _SLOT( slotMakePartTree ( ) ) , m_filesAction , " make_svn_partialtree " ) ;
this , TQ _SLOT( slotMakePartTree ( ) ) , m_filesAction , " make_svn_partialtree " ) ;
new TDEAction ( i18n ( " Properties " ) , " edit " ,
TDEShortcut ( CTRL + Key_P ) , m_SvnWrapper , TQ T _SLOT( slotProperties ( ) ) , m_filesAction , " make_svn_property " ) ;
TDEShortcut ( CTRL + Key_P ) , m_SvnWrapper , TQ _SLOT( slotProperties ( ) ) , m_filesAction , " make_svn_property " ) ;
new TDEAction ( i18n ( " Display Properties " ) , " edit " ,
TDEShortcut ( SHIFT + CTRL + Key_P ) , this , TQ T _SLOT( slotDisplayProperties ( ) ) , m_filesAction , " get_svn_property " ) ;
TDEShortcut ( SHIFT + CTRL + Key_P ) , this , TQ _SLOT( slotDisplayProperties ( ) ) , m_filesAction , " get_svn_property " ) ;
tmp_action = new TDEAction ( i18n ( " Display last changes " ) , " tdesvndiff " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotDisplayLastDiff ( ) ) , m_filesAction , " make_last_change " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotDisplayLastDiff ( ) ) , m_filesAction , " make_last_change " ) ;
tmp_action - > setToolTip ( i18n ( " Display last changes as difference to previous commit. " ) ) ;
m_InfoAction = new TDEAction ( i18n ( " Details " ) , " tdesvninfo " ,
TDEShortcut ( CTRL + Key_I ) , this , TQ T _SLOT( slotInfo ( ) ) , m_filesAction , " make_svn_info " ) ;
TDEShortcut ( CTRL + Key_I ) , this , TQ _SLOT( slotInfo ( ) ) , m_filesAction , " make_svn_info " ) ;
m_RenameAction = new TDEAction ( i18n ( " Move " ) , " move " ,
TDEShortcut ( Key_F2 ) , this , TQ T _SLOT( slotRename ( ) ) , m_filesAction , " make_svn_rename " ) ;
TDEShortcut ( Key_F2 ) , this , TQ _SLOT( slotRename ( ) ) , m_filesAction , " make_svn_rename " ) ;
m_CopyAction = new TDEAction ( i18n ( " Copy " ) , " tdesvncopy " ,
TDEShortcut ( CTRL + Key_C ) , this , TQ T _SLOT( slotCopy ( ) ) , m_filesAction , " make_svn_copy " ) ;
tmp_action = new TDEAction ( i18n ( " Check for updates " ) , " tdesvncheckupdates " , TDEShortcut ( ) , this , TQ T _SLOT( slotCheckUpdates ( ) ) , m_filesAction , " make_check_updates " ) ;
TDEShortcut ( CTRL + Key_C ) , this , TQ _SLOT( slotCopy ( ) ) , m_filesAction , " make_svn_copy " ) ;
tmp_action = new TDEAction ( i18n ( " Check for updates " ) , " tdesvncheckupdates " , TDEShortcut ( ) , this , TQ _SLOT( slotCheckUpdates ( ) ) , m_filesAction , " make_check_updates " ) ;
tmp_action - > setToolTip ( i18n ( " Check if current working copy has items with newer version in repository " ) ) ;
/* 2. actions only on files */
m_BlameAction = new TDEAction ( i18n ( " Blame " ) , " tdesvnblame " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotBlame ( ) ) , m_filesAction , " make_svn_blame " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotBlame ( ) ) , m_filesAction , " make_svn_blame " ) ;
m_BlameAction - > setToolTip ( i18n ( " Output the content of specified files or URLs with revision and author information in-line. " ) ) ;
m_BlameRangeAction = new TDEAction ( i18n ( " Blame range " ) , " tdesvnblame " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotRangeBlame ( ) ) , m_filesAction , " make_svn_range_blame " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotRangeBlame ( ) ) , m_filesAction , " make_svn_range_blame " ) ;
m_BlameRangeAction - > setToolTip ( i18n ( " Output the content of specified files or URLs with revision and author information in-line. " ) ) ;
m_CatAction = new TDEAction ( i18n ( " Cat head " ) , " tdesvncat " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotCat ( ) ) , m_filesAction , " make_svn_cat " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotCat ( ) ) , m_filesAction , " make_svn_cat " ) ;
m_CatAction - > setToolTip ( i18n ( " Output the content of specified files or URLs. " ) ) ;
tmp_action = new TDEAction ( i18n ( " Cat revision... " ) , " tdesvncat " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotRevisionCat ( ) ) , m_filesAction , " make_revisions_cat " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotRevisionCat ( ) ) , m_filesAction , " make_revisions_cat " ) ;
tmp_action - > setToolTip ( i18n ( " Output the content of specified files or URLs at specific revision. " ) ) ;
m_LockAction = new TDEAction ( i18n ( " Lock current items " ) , " tdesvnlock " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotLock ( ) ) , m_filesAction , " make_svn_lock " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotLock ( ) ) , m_filesAction , " make_svn_lock " ) ;
m_UnlockAction = new TDEAction ( i18n ( " Unlock current items " ) , " tdesvnunlock " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotUnlock ( ) ) , m_filesAction , " make_svn_unlock " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotUnlock ( ) ) , m_filesAction , " make_svn_unlock " ) ;
/* 3. actions only on dirs */
m_MkdirAction = new TDEAction ( i18n ( " New folder " ) , " folder-new " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotMkdir ( ) ) , m_filesAction , " make_svn_mkdir " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotMkdir ( ) ) , m_filesAction , " make_svn_mkdir " ) ;
m_switchRepository = new TDEAction ( i18n ( " Switch repository " ) , " tdesvnswitch " ,
TDEShortcut ( ) , m_SvnWrapper , TQ T _SLOT( slotSwitch ( ) ) , m_filesAction , " make_svn_switch " ) ;
TDEShortcut ( ) , m_SvnWrapper , TQ _SLOT( slotSwitch ( ) ) , m_filesAction , " make_svn_switch " ) ;
m_switchRepository - > setToolTip ( i18n ( " Switch repository path of current working copy path ( \" svn switch \" ) " ) ) ;
tmp_action = new TDEAction ( i18n ( " Relocate current working copy url " ) , " tdesvnrelocate " , TDEShortcut ( ) ,
this , TQ T _SLOT( slotRelocate ( ) ) , m_filesAction , " make_svn_relocate " ) ;
this , TQ _SLOT( slotRelocate ( ) ) , m_filesAction , " make_svn_relocate " ) ;
tmp_action - > setToolTip ( i18n ( " Relocate url of current working copy path to other url " ) ) ;
tmp_action = new TDEAction ( i18n ( " Check for unversioned items " ) , " tdesvnaddrecursive " , TDEShortcut ( ) ,
this , TQ T _SLOT( slotCheckNewItems ( ) ) , m_filesAction , " make_check_unversioned " ) ;
this , TQ _SLOT( slotCheckNewItems ( ) ) , m_filesAction , " make_check_unversioned " ) ;
tmp_action - > setToolTip ( i18n ( " Browse folder for unversioned items and add them if wanted. " ) ) ;
m_changeToRepository = new TDEAction ( i18n ( " Open repository of working copy " ) , " go-home " , TDEShortcut ( ) ,
this , TQ T _SLOT( slotChangeToRepository ( ) ) , m_filesAction , " make_switch_to_repo " ) ;
this , TQ _SLOT( slotChangeToRepository ( ) ) , m_filesAction , " make_switch_to_repo " ) ;
m_changeToRepository - > setToolTip ( i18n ( " Opens the repository the current working copy was checked out from " ) ) ;
m_CleanupAction = new TDEAction ( i18n ( " Cleanup " ) , " tdesvncleanup " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotCleanupAction ( ) ) , m_filesAction , " make_cleanup " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotCleanupAction ( ) ) , m_filesAction , " make_cleanup " ) ;
m_CleanupAction - > setToolTip ( i18n ( " Recursively clean up the working copy, removing locks, resuming unfinished operations, etc. " ) ) ;
m_ImportDirsIntoCurrent = new TDEAction ( i18n ( " Import folders into current " ) , " fileimport " , TDEShortcut ( ) ,
this , TQ T _SLOT( slotImportDirsIntoCurrent ( ) ) , m_filesAction , " make_import_dirs_into_current " ) ;
this , TQ _SLOT( slotImportDirsIntoCurrent ( ) ) , m_filesAction , " make_import_dirs_into_current " ) ;
m_ImportDirsIntoCurrent - > setToolTip ( i18n ( " Import folder content into current url " ) ) ;
/* local only actions */
/* 1. actions on files AND dirs*/
m_AddCurrent = new TDEAction ( i18n ( " Add selected files/dirs " ) ,
" tdesvnadd " , TDEShortcut ( Key_Insert ) , m_SvnWrapper , TQ T _SLOT( slotAdd ( ) ) , m_filesAction , " make_svn_add " ) ;
" tdesvnadd " , TDEShortcut ( Key_Insert ) , m_SvnWrapper , TQ _SLOT( slotAdd ( ) ) , m_filesAction , " make_svn_add " ) ;
m_AddCurrent - > setToolTip ( i18n ( " Adding selected files and/or directories to repository " ) ) ;
tmp_action = new TDEAction ( " Add selected files/dirs recursive " ,
" tdesvnaddrecursive " , TDEShortcut ( CTRL + Key_Insert ) , m_SvnWrapper , TQ T _SLOT( slotAddRec ( ) ) , m_filesAction , " make_svn_addrec " ) ;
" tdesvnaddrecursive " , TDEShortcut ( CTRL + Key_Insert ) , m_SvnWrapper , TQ _SLOT( slotAddRec ( ) ) , m_filesAction , " make_svn_addrec " ) ;
tmp_action - > setToolTip ( i18n ( " Adding selected files and/or directories to repository and all subitems of folders " ) ) ;
m_DelCurrent = new TDEAction ( i18n ( " Delete selected files/dirs " ) , " tdesvndelete " ,
TDEShortcut ( Key_Delete ) , this , TQ T _SLOT( slotDelete ( ) ) , m_filesAction , " make_svn_remove " ) ;
TDEShortcut ( Key_Delete ) , this , TQ _SLOT( slotDelete ( ) ) , m_filesAction , " make_svn_remove " ) ;
m_DelCurrent - > setToolTip ( i18n ( " Deleting selected files and/or directories from repository " ) ) ;
m_RevertAction = new TDEAction ( i18n ( " Revert current changes " ) , " document-revert " ,
TDEShortcut ( ) , m_SvnWrapper , TQ T _SLOT( slotRevert ( ) ) , m_filesAction , " make_svn_revert " ) ;
TDEShortcut ( ) , m_SvnWrapper , TQ _SLOT( slotRevert ( ) ) , m_filesAction , " make_svn_revert " ) ;
m_ResolvedAction = new TDEAction ( i18n ( " Mark resolved " ) , TDEShortcut ( ) ,
this , TQ T _SLOT( slotResolved ( ) ) , m_filesAction , " make_resolved " ) ;
this , TQ _SLOT( slotResolved ( ) ) , m_filesAction , " make_resolved " ) ;
m_ResolvedAction - > setToolTip ( i18n ( " Marking files or dirs resolved " ) ) ;
tmp_action = new TDEAction ( i18n ( " Resolve conflicts " ) , TDEShortcut ( ) ,
this , TQ T _SLOT( slotTryResolve ( ) ) , m_filesAction , " make_try_resolve " ) ;
this , TQ _SLOT( slotTryResolve ( ) ) , m_filesAction , " make_try_resolve " ) ;
m_IgnoreAction = new TDEAction ( i18n ( " Ignore/Unignore current item " ) , TDEShortcut ( ) , this , TQ T _SLOT( slotIgnore ( ) ) , m_filesAction , " make_svn_ignore " ) ;
m_IgnoreAction = new TDEAction ( i18n ( " Ignore/Unignore current item " ) , TDEShortcut ( ) , this , TQ _SLOT( slotIgnore ( ) ) , m_filesAction , " make_svn_ignore " ) ;
m_UpdateHead = new TDEAction ( i18n ( " Update to head " ) , " tdesvnupdate " ,
TDEShortcut ( ) , m_SvnWrapper , TQ T _SLOT( slotUpdateHeadRec ( ) ) , m_filesAction , " make_svn_headupdate " ) ;
TDEShortcut ( ) , m_SvnWrapper , TQ _SLOT( slotUpdateHeadRec ( ) ) , m_filesAction , " make_svn_headupdate " ) ;
m_UpdateRev = new TDEAction ( i18n ( " Update to revision... " ) , " tdesvnupdate " ,
TDEShortcut ( ) , m_SvnWrapper , TQ T _SLOT( slotUpdateTo ( ) ) , m_filesAction , " make_svn_revupdate " ) ;
TDEShortcut ( ) , m_SvnWrapper , TQ _SLOT( slotUpdateTo ( ) ) , m_filesAction , " make_svn_revupdate " ) ;
m_commitAction = new TDEAction ( i18n ( " Commit " ) , " tdesvncommit " ,
TDEShortcut ( " CTRL+# " ) , m_SvnWrapper , TQ T _SLOT( slotCommit ( ) ) , m_filesAction , " make_svn_commit " ) ;
TDEShortcut ( " CTRL+# " ) , m_SvnWrapper , TQ _SLOT( slotCommit ( ) ) , m_filesAction , " make_svn_commit " ) ;
tmp_action = new TDEAction ( i18n ( " Diff local changes " ) , " tdesvndiff " ,
TDEShortcut ( CTRL + Key_D ) , this , TQ T _SLOT( slotSimpleBaseDiff ( ) ) , m_filesAction , " make_svn_basediff " ) ;
TDEShortcut ( CTRL + Key_D ) , this , TQ _SLOT( slotSimpleBaseDiff ( ) ) , m_filesAction , " make_svn_basediff " ) ;
tmp_action - > setToolTip ( i18n ( " Diff working copy against BASE (last checked out version) - doesn't require access to repository " ) ) ;
tmp_action = new TDEAction ( i18n ( " Diff against HEAD " ) , " tdesvndiff " ,
TDEShortcut ( CTRL + Key_H ) , this , TQ T _SLOT( slotSimpleHeadDiff ( ) ) , m_filesAction , " make_svn_headdiff " ) ;
TDEShortcut ( CTRL + Key_H ) , this , TQ _SLOT( slotSimpleHeadDiff ( ) ) , m_filesAction , " make_svn_headdiff " ) ;
tmp_action - > setToolTip ( i18n ( " Diff working copy against HEAD (last checked in version)- requires access to repository " ) ) ;
tmp_action = new TDEAction ( i18n ( " Diff items " ) , " tdesvndiff " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotDiffPathes ( ) ) , m_filesAction , " make_svn_itemsdiff " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotDiffPathes ( ) ) , m_filesAction , " make_svn_itemsdiff " ) ;
tmp_action - > setToolTip ( i18n ( " Diff two items " ) ) ;
m_MergeRevisionAction = new TDEAction ( i18n ( " Merge two revisions " ) , " tdesvnmerge " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotMergeRevisions ( ) ) , m_filesAction , " make_svn_merge_revisions " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotMergeRevisions ( ) ) , m_filesAction , " make_svn_merge_revisions " ) ;
m_MergeRevisionAction - > setToolTip ( i18n ( " Merge two revisions of this entry into itself " ) ) ;
tmp_action = new TDEAction ( i18n ( " Merge... " ) , " tdesvnmerge " ,
TDEShortcut ( ) , this , TQ T _SLOT( slotMerge ( ) ) , m_filesAction , " make_svn_merge " ) ;
TDEShortcut ( ) , this , TQ _SLOT( slotMerge ( ) ) , m_filesAction , " make_svn_merge " ) ;
tmp_action - > setToolTip ( " Merge repository path into current worky copy path or current repository path into a target " ) ;
tmp_action = new TDEAction ( i18n ( " Open With... " ) , 0 , this , TQ T _SLOT( slotOpenWith ( ) ) , m_filesAction , " openwith " ) ;
tmp_action = new TDEAction ( i18n ( " Open With... " ) , 0 , this , TQ _SLOT( slotOpenWith ( ) ) , m_filesAction , " openwith " ) ;
/* remote actions only */
m_CheckoutCurrentAction = new TDEAction ( i18n ( " Checkout current repository path " ) , " tdesvncheckout " , TDEShortcut ( ) ,
m_SvnWrapper , TQ T _SLOT( slotCheckoutCurrent ( ) ) , m_filesAction , " make_svn_checkout_current " ) ;
m_SvnWrapper , TQ _SLOT( slotCheckoutCurrent ( ) ) , m_filesAction , " make_svn_checkout_current " ) ;
m_ExportCurrentAction = new TDEAction ( i18n ( " Export current repository path " ) , " tdesvnexport " , TDEShortcut ( ) ,
m_SvnWrapper , TQ T _SLOT( slotExportCurrent ( ) ) , m_filesAction , " make_svn_export_current " ) ;
new TDEAction ( i18n ( " Select browse revision " ) , TDEShortcut ( ) , this , TQ T _SLOT( slotSelectBrowsingRevision ( ) ) , m_filesAction , " switch_browse_revision " ) ;
m_SvnWrapper , TQ _SLOT( slotExportCurrent ( ) ) , m_filesAction , " make_svn_export_current " ) ;
new TDEAction ( i18n ( " Select browse revision " ) , TDEShortcut ( ) , this , TQ _SLOT( slotSelectBrowsingRevision ( ) ) , m_filesAction , " switch_browse_revision " ) ;
/* independe actions */
m_CheckoutAction = new TDEAction ( i18n ( " Checkout a repository " ) , " tdesvncheckout " ,
TDEShortcut ( ) , m_SvnWrapper , TQ T _SLOT( slotCheckout ( ) ) , m_filesAction , " make_svn_checkout " ) ;
TDEShortcut ( ) , m_SvnWrapper , TQ _SLOT( slotCheckout ( ) ) , m_filesAction , " make_svn_checkout " ) ;
m_ExportAction = new TDEAction ( i18n ( " Export a repository " ) , " tdesvnexport " ,
TDEShortcut ( ) , m_SvnWrapper , TQ T _SLOT( slotExport ( ) ) , m_filesAction , " make_svn_export " ) ;
m_RefreshViewAction = new TDEAction ( i18n ( " Refresh view " ) , " reload " , TDEShortcut ( Key_F5 ) , this , TQ T _SLOT( refreshCurrentTree ( ) ) , m_filesAction , " make_view_refresh " ) ;
TDEShortcut ( ) , m_SvnWrapper , TQ _SLOT( slotExport ( ) ) , m_filesAction , " make_svn_export " ) ;
m_RefreshViewAction = new TDEAction ( i18n ( " Refresh view " ) , " reload " , TDEShortcut ( Key_F5 ) , this , TQ _SLOT( refreshCurrentTree ( ) ) , m_filesAction , " make_view_refresh " ) ;
new TDEAction ( i18n ( " Diff revisions " ) , " tdesvndiff " , TDEShortcut ( ) , this , TQ T _SLOT( slotDiffRevisions ( ) ) , m_filesAction , " make_revisions_diff " ) ;
new TDEAction ( i18n ( " Diff revisions " ) , " tdesvndiff " , TDEShortcut ( ) , this , TQ _SLOT( slotDiffRevisions ( ) ) , m_filesAction , " make_revisions_diff " ) ;
/* folding options */
tmp_action = new TDEAction ( i18n ( " Unfold File Tree " ) , 0 , this , TQ T _SLOT( slotUnfoldTree ( ) ) , m_filesAction , " view_unfold_tree " ) ;
tmp_action = new TDEAction ( i18n ( " Unfold File Tree " ) , 0 , this , TQ _SLOT( slotUnfoldTree ( ) ) , m_filesAction , " view_unfold_tree " ) ;
tmp_action - > setToolTip ( i18n ( " Opens all branches of the file tree " ) ) ;
tmp_action = new TDEAction ( i18n ( " Fold File Tree " ) , 0 , this , TQ T _SLOT( slotFoldTree ( ) ) , m_filesAction , " view_fold_tree " ) ;
tmp_action = new TDEAction ( i18n ( " Fold File Tree " ) , 0 , this , TQ _SLOT( slotFoldTree ( ) ) , m_filesAction , " view_fold_tree " ) ;
tmp_action - > setToolTip ( i18n ( " Closes all branches of the file tree " ) ) ;
/* caching */
tmp_action = new TDEAction ( i18n ( " Update log cache " ) , 0 , this , TQ T _SLOT( slotUpdateLogCache ( ) ) , m_filesAction , " update_log_cache " ) ;
tmp_action = new TDEAction ( i18n ( " Update log cache " ) , 0 , this , TQ _SLOT( slotUpdateLogCache ( ) ) , m_filesAction , " update_log_cache " ) ;
tmp_action - > setToolTip ( i18n ( " Update the log cache for current repository " ) ) ;
/* tmp_action = new TDEAction( i18n("Stop update log cache"),0,this,TQ T _SLOT(slotUpdateLogCache()),m_filesAction,"stop_update_log_cache" );
/* tmp_action = new TDEAction( i18n("Stop update log cache"),0,this,TQ _SLOT(slotUpdateLogCache()),m_filesAction,"stop_update_log_cache" );
tmp_action - > setToolTip ( i18n ( " Stop the update of the log cache " ) ) ;
*/
@ -586,9 +586,9 @@ bool tdesvnfilelist::openURL( const KURL &url,bool noReinit )
m_SvnWrapper - > clearUpdateCache ( ) ;
if ( isWorkingCopy ( ) ) {
m_pList - > m_DirWatch = new KDirWatch ( this ) ;
connect ( m_pList - > m_DirWatch , TQ T _SIGNAL( dirty ( const TQString & ) ) , this , TQ T _SLOT( slotDirItemDirty ( const TQString & ) ) ) ;
connect ( m_pList - > m_DirWatch , TQ T _SIGNAL( created ( const TQString & ) ) , this , TQ T _SLOT( slotDirItemCreated ( const TQString & ) ) ) ;
connect ( m_pList - > m_DirWatch , TQ T _SIGNAL( deleted ( const TQString & ) ) , this , TQ T _SLOT( slotDirItemDeleted ( const TQString & ) ) ) ;
connect ( m_pList - > m_DirWatch , TQ _SIGNAL( dirty ( const TQString & ) ) , this , TQ _SLOT( slotDirItemDirty ( const TQString & ) ) ) ;
connect ( m_pList - > m_DirWatch , TQ _SIGNAL( created ( const TQString & ) ) , this , TQ _SLOT( slotDirItemCreated ( const TQString & ) ) ) ;
connect ( m_pList - > m_DirWatch , TQ _SIGNAL( deleted ( const TQString & ) ) , this , TQ _SLOT( slotDirItemDeleted ( const TQString & ) ) ) ;
/* seems that recursive does not work */
if ( m_pList - > m_DirWatch ) {
m_pList - > m_DirWatch - > addDir ( baseUri ( ) + " / " , false , false ) ;
@ -620,7 +620,7 @@ bool tdesvnfilelist::openURL( const KURL &url,bool noReinit )
}
emit changeCaption ( baseUri ( ) ) ;
emit sigUrlOpend ( result ) ;
TQTimer : : singleShot ( 1 , this , TQ T _SLOT( readSupportData ( ) ) ) ;
TQTimer : : singleShot ( 1 , this , TQ _SLOT( readSupportData ( ) ) ) ;
enableActions ( ) ;
return result ;
}
@ -1287,7 +1287,7 @@ void tdesvnfilelist::refreshCurrentTree()
kdDebug ( ) < < " Refresh time: " < < t . elapsed ( ) < < " ms " < < endl ;
setUpdatesEnabled ( true ) ;
viewport ( ) - > repaint ( ) ;
TQTimer : : singleShot ( 1 , this , TQ T _SLOT( readSupportData ( ) ) ) ;
TQTimer : : singleShot ( 1 , this , TQ _SLOT( readSupportData ( ) ) ) ;
//m_pList->startScan();
}
@ -1815,7 +1815,7 @@ void tdesvnfilelist::slotDropped(TQDropEvent* event,TQListViewItem*item)
//m_pList->stopScan();
TDEIO : : Job * job = 0L ;
job = TDEIO : : copy ( urlList , tdir ) ;
connect ( job , TQ T _SIGNAL( result ( TDEIO : : Job * ) ) , TQ T _SLOT( slotCopyFinished ( TDEIO : : Job * ) ) ) ;
connect ( job , TQ _SIGNAL( result ( TDEIO : : Job * ) ) , TQ _SLOT( slotCopyFinished ( TDEIO : : Job * ) ) ) ;
dispDummy ( ) ;
event - > acceptAction ( ) ;
return ;
@ -1860,7 +1860,7 @@ void tdesvnfilelist::slotDropped(TQDropEvent* event,TQListViewItem*item)
m_pList - > intern_drop_target = tdir ;
m_pList - > intern_drop_action = action ;
m_pList - > intern_drop_pos = TQCursor : : pos ( ) ;
TQTimer : : singleShot ( 0 , this , TQ T _SLOT( slotInternalDrop ( ) ) ) ;
TQTimer : : singleShot ( 0 , this , TQ _SLOT( slotInternalDrop ( ) ) ) ;
// internalDrop(action,urlList,tdir);
}
@ -2005,7 +2005,7 @@ void tdesvnfilelist::slotDelete()
}
if ( tdeioList . count ( ) > 0 ) {
TDEIO : : Job * aJob = TDEIO : : del ( tdeioList ) ;
connect ( aJob , TQ T _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ T _SLOT( slotDeleteFinished ( TDEIO : : Job * ) ) ) ;
connect ( aJob , TQ _SIGNAL( result ( TDEIO : : Job * ) ) , this , TQ _SLOT( slotDeleteFinished ( TDEIO : : Job * ) ) ) ;
dispDummy ( ) ;
}
if ( m_deletePerfect & & items . size ( ) > 0 ) {
@ -3059,8 +3059,8 @@ void tdesvnfilelist::slotUnfoldTree()
{
StopSimpleDlg sdlg ( 0 , 0 , i18n ( " Unfold tree " ) , i18n ( " Unfold all folder " ) ) ;
connect ( this , TQ T _SIGNAL( sigListError ( ) ) ,
& sdlg , TQ T _SLOT( makeCancel ( ) ) ) ;
connect ( this , TQ _SIGNAL( sigListError ( ) ) ,
& sdlg , TQ _SLOT( makeCancel ( ) ) ) ;
TQListViewItemIterator it ( this ) ;
TQTime t ; t . start ( ) ;