summaryrefslogtreecommitdiffstats
path: root/src/svnfrontend/kdesvnfilelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/svnfrontend/kdesvnfilelist.cpp')
-rw-r--r--src/svnfrontend/kdesvnfilelist.cpp376
1 files changed, 188 insertions, 188 deletions
diff --git a/src/svnfrontend/kdesvnfilelist.cpp b/src/svnfrontend/kdesvnfilelist.cpp
index bb966a4..976d3c1 100644
--- a/src/svnfrontend/kdesvnfilelist.cpp
+++ b/src/svnfrontend/kdesvnfilelist.cpp
@@ -18,8 +18,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#include "kdesvnfilelist.h"
-#include "kdesvn_part.h"
+#include "tdesvnfilelist.h"
+#include "tdesvn_part.h"
#include "filelistviewitem.h"
#include "importdir_logmsg.h"
#include "copymoveview_impl.h"
@@ -30,7 +30,7 @@
#include "opencontextmenu.h"
#include "checkoutinfo_impl.h"
#include "stopdlg.h"
-#include "src/settings/kdesvnsettings.h"
+#include "src/settings/tdesvnsettings.h"
#include "src/svnqt/revision.hpp"
#include "src/svnqt/dirent.hpp"
#include "src/svnqt/client.hpp"
@@ -189,7 +189,7 @@ bool KdesvnFileListPrivate::reReadSettings()
_unknown != mdisp_unknown_files);
}
-kdesvnfilelist::kdesvnfilelist(KActionCollection*aCollect,TQWidget *parent, const char *name)
+tdesvnfilelist::tdesvnfilelist(KActionCollection*aCollect,TQWidget *parent, const char *name)
: KListView(parent, name),ItemDisplay(),m_SvnWrapper(new SvnActions(this))
{
m_SelectedItems = 0;
@@ -248,21 +248,21 @@ kdesvnfilelist::kdesvnfilelist(KActionCollection*aCollect,TQWidget *parent, cons
setAcceptDrops(true);
}
-svn::Client*kdesvnfilelist::svnclient()
+svn::Client*tdesvnfilelist::svnclient()
{
return m_SvnWrapper->svnclient();
}
-void kdesvnfilelist::setupActions()
+void tdesvnfilelist::setupActions()
{
if (!m_filesAction) return;
KAction*tmp_action;
/* local and remote actions */
/* 1. actions on dirs AND files */
- //new KAction(i18n("Log..."),"kdesvnlog",KShortcut(SHIFT+CTRL+Key_L),this,TQT_SLOT(slotMakeRangeLog()),m_filesAction,"make_svn_log");
- new KAction(i18n("Full Log"),"kdesvnlog",KShortcut(CTRL+Key_L),TQT_TQOBJECT(this),TQT_SLOT(slotMakeLog()),m_filesAction,"make_svn_log_full");
- new KAction(i18n("Full revision tree"),"kdesvnlog",KShortcut(CTRL+Key_T),TQT_TQOBJECT(this),TQT_SLOT(slotMakeTree()),m_filesAction,"make_svn_tree");
- new KAction(i18n("Partial revision tree"),"kdesvnlog",KShortcut(SHIFT+CTRL+Key_T),
+ //new KAction(i18n("Log..."),"tdesvnlog",KShortcut(SHIFT+CTRL+Key_L),this,TQT_SLOT(slotMakeRangeLog()),m_filesAction,"make_svn_log");
+ new KAction(i18n("Full Log"),"tdesvnlog",KShortcut(CTRL+Key_L),TQT_TQOBJECT(this),TQT_SLOT(slotMakeLog()),m_filesAction,"make_svn_log_full");
+ new KAction(i18n("Full revision tree"),"tdesvnlog",KShortcut(CTRL+Key_T),TQT_TQOBJECT(this),TQT_SLOT(slotMakeTree()),m_filesAction,"make_svn_tree");
+ new KAction(i18n("Partial revision tree"),"tdesvnlog",KShortcut(SHIFT+CTRL+Key_T),
TQT_TQOBJECT(this),TQT_SLOT(slotMakePartTree()),m_filesAction,"make_svn_partialtree");
new KAction(i18n("Properties"),"edit",
@@ -270,48 +270,48 @@ void kdesvnfilelist::setupActions()
new KAction(i18n("Display Properties"),"edit",
KShortcut(SHIFT+CTRL+Key_P),TQT_TQOBJECT(this),TQT_SLOT(slotDisplayProperties()),m_filesAction,"get_svn_property");
- tmp_action = new KAction(i18n("Display last changes"),"kdesvndiff",
+ tmp_action = new KAction(i18n("Display last changes"),"tdesvndiff",
KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotDisplayLastDiff()),m_filesAction,"make_last_change");
tmp_action->setToolTip(i18n("Display last changes as difference to previous commit."));
- m_InfoAction = new KAction(i18n("Details"),"kdesvninfo",
+ m_InfoAction = new KAction(i18n("Details"),"tdesvninfo",
KShortcut(CTRL+Key_I),TQT_TQOBJECT(this),TQT_SLOT(slotInfo()),m_filesAction,"make_svn_info");
m_RenameAction = new KAction(i18n("Move"),"move",
KShortcut(Key_F2),TQT_TQOBJECT(this),TQT_SLOT(slotRename()),m_filesAction,"make_svn_rename");
- m_CopyAction = new KAction(i18n("Copy"),"kdesvncopy",
+ m_CopyAction = new KAction(i18n("Copy"),"tdesvncopy",
KShortcut(CTRL+Key_C),TQT_TQOBJECT(this),TQT_SLOT(slotCopy()),m_filesAction,"make_svn_copy");
- tmp_action = new KAction(i18n("Check for updates"),"kdesvncheckupdates",KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotCheckUpdates()),m_filesAction,"make_check_updates");
+ tmp_action = new KAction(i18n("Check for updates"),"tdesvncheckupdates",KShortcut(),TQT_TQOBJECT(this),TQT_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 KAction(i18n("Blame"),"kdesvnblame",
+ m_BlameAction = new KAction(i18n("Blame"),"tdesvnblame",
KShortcut(),TQT_TQOBJECT(this),TQT_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 KAction(i18n("Blame range"),"kdesvnblame",
+ m_BlameRangeAction = new KAction(i18n("Blame range"),"tdesvnblame",
KShortcut(),TQT_TQOBJECT(this),TQT_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 KAction(i18n("Cat head"), "kdesvncat",
+ m_CatAction = new KAction(i18n("Cat head"), "tdesvncat",
KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotCat()),m_filesAction,"make_svn_cat");
m_CatAction->setToolTip(i18n("Output the content of specified files or URLs."));
- tmp_action = new KAction(i18n("Cat revision..."),"kdesvncat",
+ tmp_action = new KAction(i18n("Cat revision..."),"tdesvncat",
KShortcut(),TQT_TQOBJECT(this),TQT_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 KAction(i18n("Lock current items"),"kdesvnlock",
+ m_LockAction = new KAction(i18n("Lock current items"),"tdesvnlock",
KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotLock()),m_filesAction,"make_svn_lock");
- m_UnlockAction = new KAction(i18n("Unlock current items"),"kdesvnunlock",
+ m_UnlockAction = new KAction(i18n("Unlock current items"),"tdesvnunlock",
KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotUnlock()),m_filesAction,"make_svn_unlock");
/* 3. actions only on dirs */
m_MkdirAction = new KAction(i18n("New folder"),"folder_new",
KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotMkdir()),m_filesAction,"make_svn_mkdir");
- m_switchRepository = new KAction(i18n("Switch repository"),"kdesvnswitch",
+ m_switchRepository = new KAction(i18n("Switch repository"),"tdesvnswitch",
KShortcut(), m_SvnWrapper,TQT_SLOT(slotSwitch()),m_filesAction,"make_svn_switch");
m_switchRepository->setToolTip(i18n("Switch repository path of current working copy path (\"svn switch\")"));
- tmp_action = new KAction(i18n("Relocate current working copy url"),"kdesvnrelocate",KShortcut(),
+ tmp_action = new KAction(i18n("Relocate current working copy url"),"tdesvnrelocate",KShortcut(),
TQT_TQOBJECT(this),TQT_SLOT(slotRelocate()),m_filesAction,"make_svn_relocate");
tmp_action->setToolTip(i18n("Relocate url of current working copy path to other url"));
- tmp_action = new KAction(i18n("Check for unversioned items"),"kdesvnaddrecursive",KShortcut(),
+ tmp_action = new KAction(i18n("Check for unversioned items"),"tdesvnaddrecursive",KShortcut(),
TQT_TQOBJECT(this),TQT_SLOT(slotCheckNewItems()),m_filesAction,"make_check_unversioned");
tmp_action->setToolTip(i18n("Browse folder for unversioned items and add them if wanted."));
@@ -319,7 +319,7 @@ void kdesvnfilelist::setupActions()
TQT_TQOBJECT(this),TQT_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 KAction(i18n("Cleanup"),"kdesvncleanup",
+ m_CleanupAction = new KAction(i18n("Cleanup"),"tdesvncleanup",
KShortcut(),TQT_TQOBJECT(this),TQT_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 KAction(i18n("Import folders into current"),"fileimport",KShortcut(),
@@ -329,13 +329,13 @@ void kdesvnfilelist::setupActions()
/* local only actions */
/* 1. actions on files AND dirs*/
m_AddCurrent = new KAction(i18n("Add selected files/dirs"),
- "kdesvnadd",KShortcut(Key_Insert),m_SvnWrapper,TQT_SLOT(slotAdd()),m_filesAction,"make_svn_add");
+ "tdesvnadd",KShortcut(Key_Insert),m_SvnWrapper,TQT_SLOT(slotAdd()),m_filesAction,"make_svn_add");
m_AddCurrent->setToolTip(i18n("Adding selected files and/or directories to repository"));
tmp_action = new KAction("Add selected files/dirs recursive",
- "kdesvnaddrecursive",KShortcut(CTRL+Key_Insert),m_SvnWrapper,TQT_SLOT(slotAddRec()),m_filesAction,"make_svn_addrec");
+ "tdesvnaddrecursive",KShortcut(CTRL+Key_Insert),m_SvnWrapper,TQT_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 KAction(i18n("Delete selected files/dirs"),"kdesvndelete",
+ m_DelCurrent = new KAction(i18n("Delete selected files/dirs"),"tdesvndelete",
KShortcut(Key_Delete),TQT_TQOBJECT(this),TQT_SLOT(slotDelete()),m_filesAction,"make_svn_remove");
m_DelCurrent->setToolTip(i18n("Deleting selected files and/or directories from repository"));
m_RevertAction = new KAction(i18n("Revert current changes"),"revert",
@@ -350,50 +350,50 @@ void kdesvnfilelist::setupActions()
m_IgnoreAction = new KAction(i18n("Ignore/Unignore current item"),KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotIgnore()),m_filesAction,"make_svn_ignore");
- m_UpdateHead = new KAction(i18n("Update to head"),"kdesvnupdate",
+ m_UpdateHead = new KAction(i18n("Update to head"),"tdesvnupdate",
KShortcut(),m_SvnWrapper,TQT_SLOT(slotUpdateHeadRec()),m_filesAction,"make_svn_headupdate");
- m_UpdateRev = new KAction(i18n("Update to revision..."),"kdesvnupdate",
+ m_UpdateRev = new KAction(i18n("Update to revision..."),"tdesvnupdate",
KShortcut(),m_SvnWrapper,TQT_SLOT(slotUpdateTo()),m_filesAction,"make_svn_revupdate");
- m_commitAction = new KAction(i18n("Commit"),"kdesvncommit",
+ m_commitAction = new KAction(i18n("Commit"),"tdesvncommit",
KShortcut("CTRL+#"),m_SvnWrapper,TQT_SLOT(slotCommit()),m_filesAction,"make_svn_commit");
- tmp_action = new KAction(i18n("Diff local changes"),"kdesvndiff",
+ tmp_action = new KAction(i18n("Diff local changes"),"tdesvndiff",
KShortcut(CTRL+Key_D),TQT_TQOBJECT(this),TQT_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 KAction(i18n("Diff against HEAD"),"kdesvndiff",
+ tmp_action = new KAction(i18n("Diff against HEAD"),"tdesvndiff",
KShortcut(CTRL+Key_H),TQT_TQOBJECT(this),TQT_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 KAction(i18n("Diff items"),"kdesvndiff",
+ tmp_action = new KAction(i18n("Diff items"),"tdesvndiff",
KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotDiffPathes()),m_filesAction,"make_svn_itemsdiff");
tmp_action->setToolTip(i18n("Diff two items"));
- m_MergeRevisionAction = new KAction(i18n("Merge two revisions"),"kdesvnmerge",
+ m_MergeRevisionAction = new KAction(i18n("Merge two revisions"),"tdesvnmerge",
KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotMergeRevisions()),m_filesAction,"make_svn_merge_revisions");
m_MergeRevisionAction->setToolTip(i18n("Merge two revisions of this entry into itself"));
- tmp_action=new KAction(i18n("Merge..."),"kdesvnmerge",
+ tmp_action=new KAction(i18n("Merge..."),"tdesvnmerge",
KShortcut(),TQT_TQOBJECT(this),TQT_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 KAction( i18n( "Open With..." ), 0, TQT_TQOBJECT(this), TQT_SLOT( slotOpenWith() ), m_filesAction, "openwith" );
/* remote actions only */
- m_CheckoutCurrentAction = new KAction(i18n("Checkout current repository path"),"kdesvncheckout",KShortcut(),
+ m_CheckoutCurrentAction = new KAction(i18n("Checkout current repository path"),"tdesvncheckout",KShortcut(),
m_SvnWrapper,TQT_SLOT(slotCheckoutCurrent()),m_filesAction,"make_svn_checkout_current");
- m_ExportCurrentAction = new KAction(i18n("Export current repository path"),"kdesvnexport",KShortcut(),
+ m_ExportCurrentAction = new KAction(i18n("Export current repository path"),"tdesvnexport",KShortcut(),
m_SvnWrapper,TQT_SLOT(slotExportCurrent()),m_filesAction,"make_svn_export_current");
new KAction(i18n("Select browse revision"),KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotSelectBrowsingRevision()),m_filesAction,"switch_browse_revision");
/* independe actions */
- m_CheckoutAction = new KAction(i18n("Checkout a repository"),"kdesvncheckout",
+ m_CheckoutAction = new KAction(i18n("Checkout a repository"),"tdesvncheckout",
KShortcut(),m_SvnWrapper,TQT_SLOT(slotCheckout()),m_filesAction,"make_svn_checkout");
- m_ExportAction = new KAction(i18n("Export a repository"),"kdesvnexport",
+ m_ExportAction = new KAction(i18n("Export a repository"),"tdesvnexport",
KShortcut(),m_SvnWrapper,TQT_SLOT(slotExport()),m_filesAction,"make_svn_export");
m_RefreshViewAction = new KAction(i18n("Refresh view"),"reload",KShortcut(Key_F5),TQT_TQOBJECT(this),TQT_SLOT(refreshCurrentTree()),m_filesAction,"make_view_refresh");
- new KAction(i18n("Diff revisions"),"kdesvndiff",KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotDiffRevisions()),m_filesAction,"make_revisions_diff");
+ new KAction(i18n("Diff revisions"),"tdesvndiff",KShortcut(),TQT_TQOBJECT(this),TQT_SLOT(slotDiffRevisions()),m_filesAction,"make_revisions_diff");
/* folding options */
tmp_action = new KAction( i18n("Unfold File Tree"), 0, TQT_TQOBJECT(this) , TQT_SLOT(slotUnfoldTree()), m_filesAction, "view_unfold_tree" );
@@ -412,12 +412,12 @@ void kdesvnfilelist::setupActions()
m_filesAction->setHighlightingEnabled(true);
}
-KActionCollection*kdesvnfilelist::filesActions()
+KActionCollection*tdesvnfilelist::filesActions()
{
return m_filesAction;
}
-FileListViewItemList* kdesvnfilelist::allSelected()
+FileListViewItemList* tdesvnfilelist::allSelected()
{
if (!m_SelectedItems) {
m_SelectedItems = new FileListViewItemList;
@@ -425,7 +425,7 @@ FileListViewItemList* kdesvnfilelist::allSelected()
return m_SelectedItems;
}
-void kdesvnfilelist::SelectionList(SvnItemList*target)
+void tdesvnfilelist::SelectionList(SvnItemList*target)
{
if (!m_SelectedItems||!target) return;
FileListViewItemListIterator iter(*m_SelectedItems);
@@ -436,7 +436,7 @@ void kdesvnfilelist::SelectionList(SvnItemList*target)
}
}
-SvnItem*kdesvnfilelist::SelectedOrMain()
+SvnItem*tdesvnfilelist::SelectedOrMain()
{
if (singleSelected()!=0) {
return singleSelected();
@@ -447,7 +447,7 @@ SvnItem*kdesvnfilelist::SelectedOrMain()
return 0;
}
-KURL::List kdesvnfilelist::selectedUrls()
+KURL::List tdesvnfilelist::selectedUrls()
{
KURL::List lst;
FileListViewItemList*ls = allSelected();
@@ -461,12 +461,12 @@ KURL::List kdesvnfilelist::selectedUrls()
return lst;
}
-TQWidget*kdesvnfilelist::realWidget()
+TQWidget*tdesvnfilelist::realWidget()
{
return this;
}
-FileListViewItem* kdesvnfilelist::singleSelected()
+FileListViewItem* tdesvnfilelist::singleSelected()
{
if (m_SelectedItems && m_SelectedItems->count()==1) {
return m_SelectedItems->at(0);
@@ -474,18 +474,18 @@ FileListViewItem* kdesvnfilelist::singleSelected()
return 0;
}
-SvnItem*kdesvnfilelist::Selected()
+SvnItem*tdesvnfilelist::Selected()
{
return singleSelected();
}
-void kdesvnfilelist::_openURL(const TQString&url)
+void tdesvnfilelist::_openURL(const TQString&url)
{
openURL(url,true);
emit sigUrlChanged(baseUri());
}
-bool kdesvnfilelist::openURL( const KURL &url,bool noReinit )
+bool tdesvnfilelist::openURL( const KURL &url,bool noReinit )
{
CursorStack a;
m_SvnWrapper->killallThreads();
@@ -625,7 +625,7 @@ bool kdesvnfilelist::openURL( const KURL &url,bool noReinit )
return result;
}
-void kdesvnfilelist::closeMe()
+void tdesvnfilelist::closeMe()
{
m_SvnWrapper->killallThreads();
@@ -646,7 +646,7 @@ void kdesvnfilelist::closeMe()
m_pList->m_fileTip->setItem(0);
}
-bool kdesvnfilelist::checkDirs(const TQString&_what,FileListViewItem * _parent)
+bool tdesvnfilelist::checkDirs(const TQString&_what,FileListViewItem * _parent)
{
TQString what = _what;
svn::StatusEntries dlist;
@@ -711,7 +711,7 @@ bool kdesvnfilelist::checkDirs(const TQString&_what,FileListViewItem * _parent)
return true;
}
-void kdesvnfilelist::insertDirs(FileListViewItem * _parent,svn::StatusEntries&dlist)
+void tdesvnfilelist::insertDirs(FileListViewItem * _parent,svn::StatusEntries&dlist)
{
svn::StatusEntries::iterator it;
#if 0
@@ -753,7 +753,7 @@ void kdesvnfilelist::insertDirs(FileListViewItem * _parent,svn::StatusEntries&dl
}
/* newdir is the NEW directory! just required if local */
-void kdesvnfilelist::slotDirAdded(const TQString&newdir,FileListViewItem*k)
+void tdesvnfilelist::slotDirAdded(const TQString&newdir,FileListViewItem*k)
{
if (k) {
k->refreshtqStatus();
@@ -810,7 +810,7 @@ void kdesvnfilelist::slotDirAdded(const TQString&newdir,FileListViewItem*k)
}
}
-kdesvnfilelist::~kdesvnfilelist()
+tdesvnfilelist::~tdesvnfilelist()
{
delete m_pList;
delete m_SelectedItems;
@@ -818,7 +818,7 @@ kdesvnfilelist::~kdesvnfilelist()
ssh.killSshAgent();
}
-void kdesvnfilelist::slotItemRead(TQListViewItem*aItem)
+void tdesvnfilelist::slotItemRead(TQListViewItem*aItem)
{
if (!aItem) return;
CursorStack a(TQt::BusyCursor);
@@ -840,15 +840,15 @@ void kdesvnfilelist::slotItemRead(TQListViewItem*aItem)
}
}
-void kdesvnfilelist::slotReinitItem(SvnItem*item)
+void tdesvnfilelist::slotReinitItem(SvnItem*item)
{
if (!item) {
- kdDebug()<<"kdesvnfilelist::slotReinitItem(SvnItem*item): item == null" << endl;
+ kdDebug()<<"tdesvnfilelist::slotReinitItem(SvnItem*item): item == null" << endl;
return;
}
FileListViewItem*k = item->fItem();
if (!k) {
- kdDebug()<<"kdesvnfilelist::slotReinitItem(SvnItem*item): k == null" << endl;
+ kdDebug()<<"tdesvnfilelist::slotReinitItem(SvnItem*item): k == null" << endl;
}
refreshItem(k);
if (!k) {
@@ -860,7 +860,7 @@ void kdesvnfilelist::slotReinitItem(SvnItem*item)
}
}
-void kdesvnfilelist::enableActions()
+void tdesvnfilelist::enableActions()
{
bool isopen = baseUri().length()>0;
int c = allSelected()->count();
@@ -1017,7 +1017,7 @@ void kdesvnfilelist::enableActions()
}
}
-void kdesvnfilelist::slotSelectionChanged()
+void tdesvnfilelist::slotSelectionChanged()
{
m_pList->stopProptimer();
if (m_SelectedItems==0) {
@@ -1036,9 +1036,9 @@ void kdesvnfilelist::slotSelectionChanged()
}
/*!
- \fn kdesvnfilelist::slotClientException(const TQString&)
+ \fn tdesvnfilelist::slotClientException(const TQString&)
*/
-void kdesvnfilelist::slotClientException(const TQString&what)
+void tdesvnfilelist::slotClientException(const TQString&what)
{
emit sigLogMessage(what);
KMessageBox::sorry(TQT_TQWIDGET(KApplication::activeModalWidget()),what,i18n("SVN Error"));
@@ -1046,15 +1046,15 @@ void kdesvnfilelist::slotClientException(const TQString&what)
/*!
- \fn kdesvnfilelist::slotNotifyMessage(const TQString&)
+ \fn tdesvnfilelist::slotNotifyMessage(const TQString&)
*/
-void kdesvnfilelist::slotNotifyMessage(const TQString&what)
+void tdesvnfilelist::slotNotifyMessage(const TQString&what)
{
emit sigLogMessage(what);
kapp->tqprocessEvents(20);
}
-void kdesvnfilelist::slotChangeToRepository()
+void tdesvnfilelist::slotChangeToRepository()
{
if (!isWorkingCopy()) {
return;
@@ -1073,7 +1073,7 @@ void kdesvnfilelist::slotChangeToRepository()
}
}
-void kdesvnfilelist::slotItemDoubleClicked(TQListViewItem*item)
+void tdesvnfilelist::slotItemDoubleClicked(TQListViewItem*item)
{
if (!item) return;
@@ -1108,7 +1108,7 @@ void kdesvnfilelist::slotItemDoubleClicked(TQListViewItem*item)
}
}
-void kdesvnfilelist::slotCleanupAction()
+void tdesvnfilelist::slotCleanupAction()
{
if (!isWorkingCopy()) return;
FileListViewItem*which= singleSelected();
@@ -1119,7 +1119,7 @@ void kdesvnfilelist::slotCleanupAction()
}
}
-void kdesvnfilelist::slotResolved()
+void tdesvnfilelist::slotResolved()
{
if (!isWorkingCopy()) return;
FileListViewItem*which= singleSelected();
@@ -1130,7 +1130,7 @@ void kdesvnfilelist::slotResolved()
slotRescanIcons(false);
}
-void kdesvnfilelist::slotTryResolve()
+void tdesvnfilelist::slotTryResolve()
{
if (!isWorkingCopy()) return;
FileListViewItem*which= singleSelected();
@@ -1140,7 +1140,7 @@ void kdesvnfilelist::slotTryResolve()
m_SvnWrapper->slotResolve(which->fullName());
}
-template<class T> KDialogBase* kdesvnfilelist::createDialog(T**ptr,const TQString&_head,bool OkCancel,const char*name,bool showHelp)
+template<class T> KDialogBase* tdesvnfilelist::createDialog(T**ptr,const TQString&_head,bool OkCancel,const char*name,bool showHelp)
{
int buttons = KDialogBase::Ok;
if (OkCancel) {
@@ -1163,15 +1163,15 @@ template<class T> KDialogBase* kdesvnfilelist::createDialog(T**ptr,const TQStrin
return dlg;
}
-void kdesvnfilelist::slotImportDirsIntoCurrent()
+void tdesvnfilelist::slotImportDirsIntoCurrent()
{
slotImportIntoCurrent(true);
}
/*!
- \fn kdesvnfilelist::slotImportIntoCurrent()
+ \fn tdesvnfilelist::slotImportIntoCurrent()
*/
-void kdesvnfilelist::slotImportIntoCurrent(bool dirs)
+void tdesvnfilelist::slotImportIntoCurrent(bool dirs)
{
if (allSelected()->count()>1) {
KMessageBox::error(this,i18n("Cannot import into multiple targets!"));
@@ -1196,7 +1196,7 @@ void kdesvnfilelist::slotImportIntoCurrent(bool dirs)
slotImportIntoDir(uri,targetUri,dirs);
}
-void kdesvnfilelist::slotImportIntoDir(const KURL&importUrl,const TQString&target,bool dirs)
+void tdesvnfilelist::slotImportIntoDir(const KURL&importUrl,const TQString&target,bool dirs)
{
Logmsg_impl*ptr;
Importdir_logmsg*ptr2 = 0;
@@ -1255,12 +1255,12 @@ void kdesvnfilelist::slotImportIntoDir(const KURL&importUrl,const TQString&targe
delete dlg;
}
-void kdesvnfilelist::readSupportData()
+void tdesvnfilelist::readSupportData()
{
- /// this moment empty cause no usagedata explicit used by kdesvnfilelist
+ /// this moment empty cause no usagedata explicit used by tdesvnfilelist
}
-void kdesvnfilelist::refreshCurrentTree()
+void tdesvnfilelist::refreshCurrentTree()
{
TQTime t;
t.start();
@@ -1291,7 +1291,7 @@ void kdesvnfilelist::refreshCurrentTree()
//m_pList->startScan();
}
-void kdesvnfilelist::refreshCurrent(SvnItem*cur)
+void tdesvnfilelist::refreshCurrent(SvnItem*cur)
{
if (!cur||!cur->fItem()) {
refreshCurrentTree();
@@ -1304,7 +1304,7 @@ void kdesvnfilelist::refreshCurrent(SvnItem*cur)
viewport()->tqrepaint();
}
-bool kdesvnfilelist::refreshRecursive(FileListViewItem*_parent,bool down)
+bool tdesvnfilelist::refreshRecursive(FileListViewItem*_parent,bool down)
{
FileListViewItem*item;
if (_parent) {
@@ -1424,7 +1424,7 @@ bool kdesvnfilelist::refreshRecursive(FileListViewItem*_parent,bool down)
return dispchanged;
}
-KTrader::OfferList kdesvnfilelist::offersList(SvnItem*item,bool execOnly)
+KTrader::OfferList tdesvnfilelist::offersList(SvnItem*item,bool execOnly)
{
KTrader::OfferList offers;
if (!item) {
@@ -1441,7 +1441,7 @@ KTrader::OfferList kdesvnfilelist::offersList(SvnItem*item,bool execOnly)
return offers;
}
-void kdesvnfilelist::slotContextMenuRequested(TQListViewItem */* _item */, const TQPoint &, int)
+void tdesvnfilelist::slotContextMenuRequested(TQListViewItem */* _item */, const TQPoint &, int)
{
// FileListViewItem*item = static_cast<FileListViewItem*>(_item);
bool isopen = baseUri().length()>0;
@@ -1523,7 +1523,7 @@ void kdesvnfilelist::slotContextMenuRequested(TQListViewItem */* _item */, const
/**
* Overridden virtuals for TQt drag 'n drop (XDND)
*/
-void kdesvnfilelist::contentsDragEnterEvent(TQDragEnterEvent *event)
+void tdesvnfilelist::contentsDragEnterEvent(TQDragEnterEvent *event)
{
TQListViewItem*item;
bool ok = validDropEvent(event,item);
@@ -1534,8 +1534,8 @@ void kdesvnfilelist::contentsDragEnterEvent(TQDragEnterEvent *event)
}
}
-//void kdesvnfilelist::startDrag()
-TQDragObject* kdesvnfilelist::dragObject()
+//void tdesvnfilelist::startDrag()
+TQDragObject* tdesvnfilelist::dragObject()
{
m_pList->m_fileTip->setItem(0);
TQListViewItem * m_pressedItem = currentItem();
@@ -1555,7 +1555,7 @@ TQDragObject* kdesvnfilelist::dragObject()
bool pixmap0Invalid = !m_pressedItem->pixmap(0) || m_pressedItem->pixmap(0)->isNull();
if (( urls.count() > 1 ) || (pixmap0Invalid)) {
int iconSize = Kdesvnsettings::listview_icon_size();;
- iconSize = iconSize ? iconSize : kdesvnPartFactory::instance()->iconLoader()->currentSize( KIcon::Small ); // Default = small
+ iconSize = iconSize ? iconSize : tdesvnPartFactory::instance()->iconLoader()->currentSize( KIcon::Small ); // Default = small
pixmap2 = DesktopIcon( "kmultiple", iconSize );
if ( pixmap2.isNull() ) {
kdWarning() << "Could not find multiple pixmap" << endl;
@@ -1585,17 +1585,17 @@ TQDragObject* kdesvnfilelist::dragObject()
return drag;
}
-void kdesvnfilelist::contentsDragLeaveEvent( TQDragLeaveEvent * )
+void tdesvnfilelist::contentsDragLeaveEvent( TQDragLeaveEvent * )
{
cleanHighLighter();
}
-bool kdesvnfilelist::acceptDrag(TQDropEvent *event)const
+bool tdesvnfilelist::acceptDrag(TQDropEvent *event)const
{
return KURLDrag::canDecode(event);
}
-bool kdesvnfilelist::validDropEvent(TQDropEvent*event,TQListViewItem*&item)
+bool tdesvnfilelist::validDropEvent(TQDropEvent*event,TQListViewItem*&item)
{
if (!event) return false;
if (!isWorkingCopy()) {
@@ -1632,7 +1632,7 @@ bool kdesvnfilelist::validDropEvent(TQDropEvent*event,TQListViewItem*&item)
return ok;
}
-void kdesvnfilelist::contentsDropEvent(TQDropEvent * event)
+void tdesvnfilelist::contentsDropEvent(TQDropEvent * event)
{
TQListViewItem *item = 0;
bool ok = validDropEvent(event,item);
@@ -1644,7 +1644,7 @@ void kdesvnfilelist::contentsDropEvent(TQDropEvent * event)
}
}
-void kdesvnfilelist::contentsDragMoveEvent( TQDragMoveEvent* event)
+void tdesvnfilelist::contentsDragMoveEvent( TQDragMoveEvent* event)
{
TQListViewItem * item;
bool ok = validDropEvent(event,item);
@@ -1668,7 +1668,7 @@ void kdesvnfilelist::contentsDragMoveEvent( TQDragMoveEvent* event)
}
}
-void kdesvnfilelist::viewportPaintEvent(TQPaintEvent *ev)
+void tdesvnfilelist::viewportPaintEvent(TQPaintEvent *ev)
{
KListView::viewportPaintEvent(ev);
if (m_pList->mOldDropHighlighter.isValid() && ev->rect().intersects(m_pList->mOldDropHighlighter)) {
@@ -1678,7 +1678,7 @@ void kdesvnfilelist::viewportPaintEvent(TQPaintEvent *ev)
}
}
-void kdesvnfilelist::cleanHighLighter()
+void tdesvnfilelist::cleanHighLighter()
{
if (m_pList->mOldDropHighlighter.isValid()) {
TQRect rect=m_pList->mOldDropHighlighter;
@@ -1688,9 +1688,9 @@ void kdesvnfilelist::cleanHighLighter()
}
/*!
- \fn kdesvnfilelist::slotMergeRevisions()
+ \fn tdesvnfilelist::slotMergeRevisions()
*/
-void kdesvnfilelist::slotMergeRevisions()
+void tdesvnfilelist::slotMergeRevisions()
{
if (!isWorkingCopy()) return;
FileListViewItem*which= singleSelected();
@@ -1712,7 +1712,7 @@ void kdesvnfilelist::slotMergeRevisions()
refreshRecursive(which);
}
-void kdesvnfilelist::slotMerge()
+void tdesvnfilelist::slotMerge()
{
FileListViewItem*which= singleSelected();
TQString src1,src2,target;
@@ -1739,7 +1739,7 @@ void kdesvnfilelist::slotMerge()
if (!dlg) {
return;
}
- dlg->setHelp("merging-items","kdesvn");
+ dlg->setHelp("merging-items","tdesvn");
ptr->setDest(target);
ptr->setSrc1(src1);
ptr->setSrc2(src1);
@@ -1779,7 +1779,7 @@ void kdesvnfilelist::slotMerge()
delete dlg;
}
-void kdesvnfilelist::slotDropped(TQDropEvent* event,TQListViewItem*item)
+void tdesvnfilelist::slotDropped(TQDropEvent* event,TQListViewItem*item)
{
KURL::List urlList;
TQMap<TQString,TQString> metaData;
@@ -1866,7 +1866,7 @@ void kdesvnfilelist::slotDropped(TQDropEvent* event,TQListViewItem*item)
}
}
-void kdesvnfilelist::slotInternalDrop()
+void tdesvnfilelist::slotInternalDrop()
{
TQDropEvent::Action action = m_pList->intern_drop_action;
if (action==TQDropEvent::UserAction) {
@@ -1896,18 +1896,18 @@ void kdesvnfilelist::slotInternalDrop()
}
/*!
- \fn kdesvnfilelist::slotRename()
+ \fn tdesvnfilelist::slotRename()
*/
-void kdesvnfilelist::slotRename()
+void tdesvnfilelist::slotRename()
{
copy_move(true);
}
-void kdesvnfilelist::slotCopy()
+void tdesvnfilelist::slotCopy()
{
copy_move(false);
}
-void kdesvnfilelist::copy_move(bool move)
+void tdesvnfilelist::copy_move(bool move)
{
if (isWorkingCopy()&&singleSelected()==firstChild()) {
return;
@@ -1927,7 +1927,7 @@ void kdesvnfilelist::copy_move(bool move)
}
}
-void kdesvnfilelist::slotCat()
+void tdesvnfilelist::slotCat()
{
FileListViewItem*k = singleSelected();
if (!k) return;
@@ -1937,9 +1937,9 @@ void kdesvnfilelist::slotCat()
/*!
- \fn kdesvnfilelist::slotCopyFinished( KIO::Job *)
+ \fn tdesvnfilelist::slotCopyFinished( KIO::Job *)
*/
-void kdesvnfilelist::slotCopyFinished( KIO::Job * job)
+void tdesvnfilelist::slotCopyFinished( KIO::Job * job)
{
if (m_pList->m_DirWatch) {
m_pList->m_DirWatch->startScan(false);
@@ -1970,9 +1970,9 @@ void kdesvnfilelist::slotCopyFinished( KIO::Job * job)
/*!
- \fn kdesvnfilelist::slotDelete()
+ \fn tdesvnfilelist::slotDelete()
*/
-void kdesvnfilelist::slotDelete()
+void tdesvnfilelist::slotDelete()
{
m_deletePerfect = true;
TQPtrList<FileListViewItem>*lst = allSelected();
@@ -2016,9 +2016,9 @@ void kdesvnfilelist::slotDelete()
}
/*!
- \fn kdesvnfilelist::slotDeleteFinished(KIO::Job*)
+ \fn tdesvnfilelist::slotDeleteFinished(KIO::Job*)
*/
-void kdesvnfilelist::slotDeleteFinished(KIO::Job*job)
+void tdesvnfilelist::slotDeleteFinished(KIO::Job*job)
{
if (job) {
tqApp->exit_loop();
@@ -2030,9 +2030,9 @@ void kdesvnfilelist::slotDeleteFinished(KIO::Job*job)
}
/*!
- \fn kdesvnfilelist::dispDummy()
+ \fn tdesvnfilelist::dispDummy()
*/
-void kdesvnfilelist::dispDummy()
+void tdesvnfilelist::dispDummy()
{
// wait for job
TQLabel dummy(this,0,WStyle_NoBorder|WShowModal);
@@ -2049,9 +2049,9 @@ void kdesvnfilelist::dispDummy()
/*!
- \fn kdesvnfilelist::slotLock()
+ \fn tdesvnfilelist::slotLock()
*/
-void kdesvnfilelist::slotLock()
+void tdesvnfilelist::slotLock()
{
TQPtrList<FileListViewItem>*lst = allSelected();
FileListViewItemListIterator liter(*lst);
@@ -2093,9 +2093,9 @@ void kdesvnfilelist::slotLock()
/*!
- \fn kdesvnfilelist::slotUnlock()
+ \fn tdesvnfilelist::slotUnlock()
*/
-void kdesvnfilelist::slotUnlock()
+void tdesvnfilelist::slotUnlock()
{
TQPtrList<FileListViewItem>*lst = allSelected();
FileListViewItemListIterator liter(*lst);
@@ -2121,9 +2121,9 @@ void kdesvnfilelist::slotUnlock()
/*!
- \fn kdesvnfilelist::slotIgnore()
+ \fn tdesvnfilelist::slotIgnore()
*/
-void kdesvnfilelist::slotIgnore()
+void tdesvnfilelist::slotIgnore()
{
SvnItem*item = singleSelected();
if (!item || item->isRealVersioned()) return;
@@ -2134,9 +2134,9 @@ void kdesvnfilelist::slotIgnore()
/*!
- \fn kdesvnfilelist::slotBlame()
+ \fn tdesvnfilelist::slotBlame()
*/
-void kdesvnfilelist::slotBlame()
+void tdesvnfilelist::slotBlame()
{
SvnItem*k = singleSelected();
if (!k) return;
@@ -2147,9 +2147,9 @@ void kdesvnfilelist::slotBlame()
/*!
- \fn kdesvnfilelist::slotRangeBlame()
+ \fn tdesvnfilelist::slotRangeBlame()
*/
-void kdesvnfilelist::slotRangeBlame()
+void tdesvnfilelist::slotRangeBlame()
{
SvnItem*k = singleSelected();
if (!k) return;
@@ -2167,7 +2167,7 @@ void kdesvnfilelist::slotRangeBlame()
}
-void kdesvnfilelist::slotSimpleBaseDiff()
+void tdesvnfilelist::slotSimpleBaseDiff()
{
FileListViewItem*kitem = singleSelected();
if (isWorkingCopy())
@@ -2185,7 +2185,7 @@ void kdesvnfilelist::slotSimpleBaseDiff()
m_SvnWrapper->makeDiff(what,svn::Revision::BASE,svn::Revision::WORKING,svn::Revision::UNDEFINED,kitem?kitem->isDir():true);
}
-void kdesvnfilelist::slotSimpleHeadDiff()
+void tdesvnfilelist::slotSimpleHeadDiff()
{
FileListViewItem*kitem = singleSelected();
TQString what;
@@ -2203,7 +2203,7 @@ void kdesvnfilelist::slotSimpleHeadDiff()
m_SvnWrapper->makeDiff(what,svn::Revision::WORKING,svn::Revision::HEAD,svn::Revision::UNDEFINED,kitem?kitem->isDir():true);
}
-void kdesvnfilelist::slotDisplayLastDiff()
+void tdesvnfilelist::slotDisplayLastDiff()
{
FileListViewItem*kitem = singleSelected();
TQString what;
@@ -2246,7 +2246,7 @@ void kdesvnfilelist::slotDisplayLastDiff()
m_SvnWrapper->makeDiff(what,end,what,start,realWidget());
}
-void kdesvnfilelist::slotDiffPathes()
+void tdesvnfilelist::slotDiffPathes()
{
TQPtrList<FileListViewItem>*lst = allSelected();
@@ -2275,9 +2275,9 @@ void kdesvnfilelist::slotDiffPathes()
}
/*!
- \fn kdesvnfilelist::slotMkdir()
+ \fn tdesvnfilelist::slotMkdir()
*/
-void kdesvnfilelist::slotMkdir()
+void tdesvnfilelist::slotMkdir()
{
SvnItem*k = singleSelected();
TQString parentDir;
@@ -2296,7 +2296,7 @@ void kdesvnfilelist::slotMkdir()
}
}
-void kdesvnfilelist::slotMkBaseDirs()
+void tdesvnfilelist::slotMkBaseDirs()
{
bool isopen = baseUri().length()>0;
if (!isopen) {
@@ -2307,7 +2307,7 @@ void kdesvnfilelist::slotMkBaseDirs()
targets.append(parentDir+"/trunk");
targets.append(parentDir+"/branches");
targets.append(parentDir+"/tags");
- TQString msg = i18n("Automatic generated base tqlayout by kdesvn");
+ TQString msg = i18n("Automatic generated base tqlayout by tdesvn");
isopen = m_SvnWrapper->makeMkdir(targets,msg);
if (isopen) {
slotDirAdded(targets[0],0);
@@ -2317,9 +2317,9 @@ void kdesvnfilelist::slotMkBaseDirs()
}
/*!
- \fn kdesvnfilelist::slotDiffRevisions()
+ \fn tdesvnfilelist::slotDiffRevisions()
*/
-void kdesvnfilelist::slotDiffRevisions()
+void tdesvnfilelist::slotDiffRevisions()
{
SvnItem*k = singleSelected();
TQString what;
@@ -2348,7 +2348,7 @@ void kdesvnfilelist::slotDiffRevisions()
}
-void kdesvnfilelist::slotSelectBrowsingRevision()
+void tdesvnfilelist::slotSelectBrowsingRevision()
{
if (isWorkingCopy()) return;
Rangeinput_impl*rdlg;
@@ -2371,9 +2371,9 @@ void kdesvnfilelist::slotSelectBrowsingRevision()
}
/*!
- \fn kdesvnfilelist::slotRevisionCat()
+ \fn tdesvnfilelist::slotRevisionCat()
*/
-void kdesvnfilelist::slotRevisionCat()
+void tdesvnfilelist::slotRevisionCat()
{
SvnItem*k = singleSelected();
if (!k) return;
@@ -2393,9 +2393,9 @@ void kdesvnfilelist::slotRevisionCat()
/*!
- \fn kdesvnfilelist::refreshItem(FileListViewItem*)
+ \fn tdesvnfilelist::refreshItem(FileListViewItem*)
*/
-bool kdesvnfilelist::refreshItem(FileListViewItem*item)
+bool tdesvnfilelist::refreshItem(FileListViewItem*item)
{
if (!item) {
return false;
@@ -2411,17 +2411,17 @@ bool kdesvnfilelist::refreshItem(FileListViewItem*item)
/*!
- \fn kdesvnfilelist::slotCheckUpdates()
+ \fn tdesvnfilelist::slotCheckUpdates()
*/
-void kdesvnfilelist::slotCheckUpdates()
+void tdesvnfilelist::slotCheckUpdates()
{
m_SvnWrapper->createUpdateCache(baseUri());
}
/*!
- \fn kdesvnfilelist::reinitItems(FileListViewItem*_item = 0)
+ \fn tdesvnfilelist::reinitItems(FileListViewItem*_item = 0)
*/
-void kdesvnfilelist::reinitItems(FileListViewItem*_item)
+void tdesvnfilelist::reinitItems(FileListViewItem*_item)
{
FileListViewItem*item;
if (_item) {
@@ -2449,9 +2449,9 @@ void kdesvnfilelist::reinitItems(FileListViewItem*_item)
/*!
- \fn kdesvnfilelist::slotInfo()
+ \fn tdesvnfilelist::slotInfo()
*/
-void kdesvnfilelist::slotInfo()
+void tdesvnfilelist::slotInfo()
{
TQPtrList<SvnItem> lst;
SelectionList(&lst);
@@ -2473,9 +2473,9 @@ void kdesvnfilelist::slotInfo()
/*!
- \fn kdesvnfilelist::slotDirItemCreated(const TQString&)
+ \fn tdesvnfilelist::slotDirItemCreated(const TQString&)
*/
-void kdesvnfilelist::slotDirItemCreated(const TQString&what)
+void tdesvnfilelist::slotDirItemCreated(const TQString&what)
{
m_pList->stopDirTimer();
m_pList->dirItems[what]='C';
@@ -2484,7 +2484,7 @@ void kdesvnfilelist::slotDirItemCreated(const TQString&what)
}
-void kdesvnfilelist::updateParents(FileListViewItem*item)
+void tdesvnfilelist::updateParents(FileListViewItem*item)
{
if (!item || !item->parent()) return;
FileListViewItem*it = static_cast<FileListViewItem*>(item->parent());
@@ -2493,26 +2493,26 @@ void kdesvnfilelist::updateParents(FileListViewItem*item)
}
/*!
- \fn kdesvnfilelist::slotDirItemDirty(const TQString&)
+ \fn tdesvnfilelist::slotDirItemDirty(const TQString&)
*/
-void kdesvnfilelist::slotDirItemDirty(const TQString&what)
+void tdesvnfilelist::slotDirItemDirty(const TQString&what)
{
m_pList->stopDirTimer();
m_pList->dirItems[what]='M';
m_pList->startDirTimer();
}
-void kdesvnfilelist::_propListTimeout()
+void tdesvnfilelist::_propListTimeout()
{
dispProperties(false);
}
-void kdesvnfilelist::slotDisplayProperties()
+void tdesvnfilelist::slotDisplayProperties()
{
dispProperties(true);
}
-void kdesvnfilelist::dispProperties(bool force)
+void tdesvnfilelist::dispProperties(bool force)
{
CursorStack a(TQt::BusyCursor);
bool cache_Only = (!force && isNetworked() && !Kdesvnsettings::properties_on_remote_items());
@@ -2528,7 +2528,7 @@ void kdesvnfilelist::dispProperties(bool force)
emit sigProplist(pm,isWorkingCopy(),k->fullName());
}
-void kdesvnfilelist::_dirwatchTimeout()
+void tdesvnfilelist::_dirwatchTimeout()
{
kdDebug()<<"dirtimer"<<endl;
TQMap<TQString,TQChar>::Iterator it;
@@ -2605,9 +2605,9 @@ void kdesvnfilelist::_dirwatchTimeout()
}
/*!
- \fn kdesvnfilelist::slotDirItemDeleted(const TQString&)
+ \fn tdesvnfilelist::slotDirItemDeleted(const TQString&)
*/
-void kdesvnfilelist::slotDirItemDeleted(const TQString&what)
+void tdesvnfilelist::slotDirItemDeleted(const TQString&what)
{
m_pList->stopDirTimer();
m_pList->m_fileTip->setItem(0);
@@ -2621,7 +2621,7 @@ void kdesvnfilelist::slotDirItemDeleted(const TQString&what)
}
-void kdesvnfilelist::gotPreview( const KFileItem*, const TQPixmap&)
+void tdesvnfilelist::gotPreview( const KFileItem*, const TQPixmap&)
{
#if 0
FileListViewItem*which = findEntryItem(item->localPath());
@@ -2635,12 +2635,12 @@ void kdesvnfilelist::gotPreview( const KFileItem*, const TQPixmap&)
#endif
}
-void kdesvnfilelist::gotPreviewResult()
+void tdesvnfilelist::gotPreviewResult()
{
// m_previewJob = 0;
}
-FileListViewItem* kdesvnfilelist::findEntryItem(const TQString&what,FileListViewItem*startAt)
+FileListViewItem* tdesvnfilelist::findEntryItem(const TQString&what,FileListViewItem*startAt)
{
if (!startAt && !what.startsWith(baseUri())) return 0;
TQString _what = what;
@@ -2671,9 +2671,9 @@ FileListViewItem* kdesvnfilelist::findEntryItem(const TQString&what,FileListView
/*!
- \fn kdesvnfilelist::contentsMouseMoveEvent( TQMouseEvent *e )
+ \fn tdesvnfilelist::contentsMouseMoveEvent( TQMouseEvent *e )
*/
-void kdesvnfilelist::contentsMouseMoveEvent( TQMouseEvent *e )
+void tdesvnfilelist::contentsMouseMoveEvent( TQMouseEvent *e )
{
if (!m_pList->mousePressed)
{
@@ -2710,7 +2710,7 @@ void kdesvnfilelist::contentsMouseMoveEvent( TQMouseEvent *e )
KListView::contentsMouseMoveEvent( e );
}
-void kdesvnfilelist::contentsMousePressEvent(TQMouseEvent*e)
+void tdesvnfilelist::contentsMousePressEvent(TQMouseEvent*e)
{
KListView::contentsMousePressEvent(e);
m_pList->m_fileTip->setItem(0);
@@ -2729,29 +2729,29 @@ void kdesvnfilelist::contentsMousePressEvent(TQMouseEvent*e)
}
}
-void kdesvnfilelist::contentsMouseReleaseEvent(TQMouseEvent*e)
+void tdesvnfilelist::contentsMouseReleaseEvent(TQMouseEvent*e)
{
KListView::contentsMouseReleaseEvent(e);
m_pList->mousePressed = false;
}
/*!
- \fn kdesvnfilelist::contentsWheelEvent( TQWheelEvent * e )
+ \fn tdesvnfilelist::contentsWheelEvent( TQWheelEvent * e )
*/
-void kdesvnfilelist::contentsWheelEvent( TQWheelEvent * e )
+void tdesvnfilelist::contentsWheelEvent( TQWheelEvent * e )
{
// when scrolling with mousewheel, stop possible pending filetip
m_pList->m_fileTip->setItem(0);
KListView::contentsWheelEvent( e );
}
-void kdesvnfilelist::leaveEvent(TQEvent*e)
+void tdesvnfilelist::leaveEvent(TQEvent*e)
{
m_pList->m_fileTip->setItem( 0 );
KListView::leaveEvent( e );
}
-void kdesvnfilelist::slotSettingsChanged()
+void tdesvnfilelist::slotSettingsChanged()
{
m_pList->m_fileTip->setOptions(!isNetworked()&&Kdesvnsettings::display_file_tips()&&
TQToolTip::isGloballyEnabled(),true,6);
@@ -2769,9 +2769,9 @@ void kdesvnfilelist::slotSettingsChanged()
/*!
- \fn kdesvnfilelist::slotRelocate()
+ \fn tdesvnfilelist::slotRelocate()
*/
-void kdesvnfilelist::slotRelocate()
+void tdesvnfilelist::slotRelocate()
{
if (!isWorkingCopy()) return;
SvnItem*k = SelectedOrMain();
@@ -2804,7 +2804,7 @@ void kdesvnfilelist::slotRelocate()
refreshItem(k->fItem());
}
-void kdesvnfilelist::checkUnversionedDirs( FileListViewItem * _parent )
+void tdesvnfilelist::checkUnversionedDirs( FileListViewItem * _parent )
{
TQDir d;
if (_parent)
@@ -2875,7 +2875,7 @@ void kdesvnfilelist::checkUnversionedDirs( FileListViewItem * _parent )
//this->insertDirs(_parent, nonversioned_list);
}
-void kdesvnfilelist::rescanIconsRec(FileListViewItem*startAt,bool checkNewer,bool no_update)
+void tdesvnfilelist::rescanIconsRec(FileListViewItem*startAt,bool checkNewer,bool no_update)
{
FileListViewItem*_s;
if (!startAt) {
@@ -2907,16 +2907,16 @@ void kdesvnfilelist::rescanIconsRec(FileListViewItem*startAt,bool checkNewer,boo
}
}
-void kdesvnfilelist::slotRescanIcons(bool checkNewer)
+void tdesvnfilelist::slotRescanIcons(bool checkNewer)
{
rescanIconsRec(0L,checkNewer);
}
/*!
- \fn kdesvnfilelist::slotCheckNewItems()
+ \fn tdesvnfilelist::slotCheckNewItems()
*/
-void kdesvnfilelist::slotCheckNewItems()
+void tdesvnfilelist::slotCheckNewItems()
{
if (!isWorkingCopy()) {
KMessageBox::sorry(0,i18n("Only in working copy possible."),i18n("Error"));
@@ -2935,9 +2935,9 @@ void kdesvnfilelist::slotCheckNewItems()
}
/*!
- \fn kdesvnfilelist::slotMakeRangeLog()
+ \fn tdesvnfilelist::slotMakeRangeLog()
*/
-void kdesvnfilelist::slotMakeRangeLog()
+void tdesvnfilelist::slotMakeRangeLog()
{
TQString what;
SvnItem*k = SelectedOrMain();
@@ -2963,7 +2963,7 @@ void kdesvnfilelist::slotMakeRangeLog()
}
-void kdesvnfilelist::slotMakeTree()
+void tdesvnfilelist::slotMakeTree()
{
TQString what;
SvnItem*k = SelectedOrMain();
@@ -2979,7 +2979,7 @@ void kdesvnfilelist::slotMakeTree()
m_SvnWrapper->makeTree(what,rev);
}
-void kdesvnfilelist::slotMakePartTree()
+void tdesvnfilelist::slotMakePartTree()
{
TQString what;
SvnItem*k = SelectedOrMain();
@@ -3009,9 +3009,9 @@ void kdesvnfilelist::slotMakePartTree()
}
/*!
- \fn kdesvnfilelist::slotMakeLog()
+ \fn tdesvnfilelist::slotMakeLog()
*/
-void kdesvnfilelist::slotMakeLog()
+void tdesvnfilelist::slotMakeLog()
{
TQString what;
SvnItem*k = SelectedOrMain();
@@ -3034,16 +3034,16 @@ void kdesvnfilelist::slotMakeLog()
m_SvnWrapper->makeLog(start,end,(isWorkingCopy()?svn::Revision::UNDEFINED:m_pList->m_remoteRevision),what,list,l);
}
-const svn::Revision& kdesvnfilelist::remoteRevision()const
+const svn::Revision& tdesvnfilelist::remoteRevision()const
{
return m_pList->m_remoteRevision;
}
/*!
- \fn kdesvnfilelist::slotOpenWith()
+ \fn tdesvnfilelist::slotOpenWith()
*/
-void kdesvnfilelist::slotOpenWith()
+void tdesvnfilelist::slotOpenWith()
{
FileListViewItem* which = singleSelected();
if (!which||which->isDir()) {
@@ -3055,7 +3055,7 @@ void kdesvnfilelist::slotOpenWith()
KRun::displayOpenWithDialog(lst);
}
-void kdesvnfilelist::slotUnfoldTree()
+void tdesvnfilelist::slotUnfoldTree()
{
StopSimpleDlg sdlg(0,0,i18n("Unfold tree"),i18n("Unfold all folder"));
@@ -3092,7 +3092,7 @@ void kdesvnfilelist::slotUnfoldTree()
m_SvnWrapper->slotCancel(false);
}
-void kdesvnfilelist::slotFoldTree()
+void tdesvnfilelist::slotFoldTree()
{
TQListViewItemIterator it(this);
while (TQListViewItem* item = it.current())
@@ -3106,9 +3106,9 @@ void kdesvnfilelist::slotFoldTree()
}
/*!
- \fn kdesvnfilelist::uniqueSelected()
+ \fn tdesvnfilelist::uniqueSelected()
*/
-bool kdesvnfilelist::uniqueTypeSelected()
+bool tdesvnfilelist::uniqueTypeSelected()
{
FileListViewItemList*ls = allSelected();
FileListViewItemListIterator it(*ls);
@@ -3126,7 +3126,7 @@ bool kdesvnfilelist::uniqueTypeSelected()
return true;
}
-void kdesvnfilelist::slotChangeProperties(const svn::PropertiesMap&pm,const TQValueList<TQString>&dellist,const TQString&path)
+void tdesvnfilelist::slotChangeProperties(const svn::PropertiesMap&pm,const TQValueList<TQString>&dellist,const TQString&path)
{
m_SvnWrapper->changeProperties(pm,dellist,path);
FileListViewItem* which = singleSelected();
@@ -3138,7 +3138,7 @@ void kdesvnfilelist::slotChangeProperties(const svn::PropertiesMap&pm,const TQVa
}
}
-void kdesvnfilelist::slotUpdateLogCache()
+void tdesvnfilelist::slotUpdateLogCache()
{
if (baseUri().length()>0 && m_SvnWrapper->doNetworking()) {
KAction*temp = filesActions()->action("update_log_cache");
@@ -3157,4 +3157,4 @@ void kdesvnfilelist::slotUpdateLogCache()
}
}
-#include "kdesvnfilelist.moc"
+#include "tdesvnfilelist.moc"