Logo Search packages:      
Sourcecode: kbear version File versions  Download package

KBearDirSynchPart Class Reference

#include <kbeardirsynchpart.h>

Inheritance diagram for KBearDirSynchPart:

KBearPart

List of all members.


Detailed Description

Author:
Björn Sahlström

Definition at line 48 of file kbeardirsynchpart.h.


Public Slots

virtual bool openURL (const KURL &url)

Signals

void closeMe ()
void logMessage (const QString &)

Public Member Functions

 KBearDirSynchPart (QWidget *parentWidget, const char *widgetName, QObject *parent, const char *name, const QStringList &lst=QStringList())
virtual void openConnection (const Connection &)
void setDirLister (KBearDirLister *lister)
virtual ~KBearDirSynchPart ()

Static Public Member Functions

static KAboutData * createAboutData ()

Protected Slots

void slotSynchAll ()
void slotSynchFromLocal ()
void slotSynchFromRemote ()
void slotSynchSelectedFromLocal ()
void slotSynchSelectedFromRemote ()

Protected Member Functions

QString normalizeLabel (const QString &lbl)
virtual bool openFile ()

Protected Attributes

Connection m_connection
KBearDirListerm_dirLister

Private Types

enum  Action { FROM_LOCAL, FROM_REMOTE, SELECTED_FROM_LOCAL, SELECTED_FROM_REMOTE }
enum  DiffType { Modified = 0, SizePermissions = 1 }
enum  State { COPYING, DELETING }

Private Slots

bool quizDelete (const KURL::List &urls)
void reparseConfiguration ()
void slotCollapsed (QListViewItem *)
void slotConfigureDirSynch ()
void slotExpanded (QListViewItem *)
void slotFinishedLoading (KFileTreeBranch *branch)
void slotInfoMessage (KIO::Job *, const QString &)
void slotSelectionChanged (QListViewItem *)
void slotStartLoading ()
void slotSynchResult (KIO::Job *job)

Private Member Functions

void checkDiff ()
void clearDiff ()
DirSynchTreeViewItemfindCorrespondingItem (DirSynchTreeViewItem *)
DirSynchTreeViewItemfindCorrespondingItem (KFileTreeViewItem *item)
DirSynchTreeViewItemfindCorrespondingItem (QListViewItem *item)
DirSynchTreeViewItemfindCorrespondingItemAbove (DirSynchTreeViewItem *)
DirSynchTreeViewItemfindCorrespondingItemAbove (KFileTreeViewItem *item)
DirSynchTreeViewItemfindCorrespondingItemAbove (QListViewItem *item)
DirSynchTreeViewItemfindCorrespondingItemBelow (DirSynchTreeViewItem *)
DirSynchTreeViewItemfindCorrespondingItemBelow (KFileTreeViewItem *item)
DirSynchTreeViewItemfindCorrespondingItemBelow (QListViewItem *item)
void openLocalBranch ()
void openRemoteBranch ()
void selectChildren (QListView *, QListViewItem *)
void setActionsEnabled (bool enable)
void setDiff (DirSynchTreeViewItem *, DirSynchTreeViewItem *)
void setSelectedActionsEnabled (bool enabled)
void setupActions ()
void setupWidget ()

Private Attributes

unsigned int m_action
Transferm_copyTransfer
KURL::List m_deleteList
QColor m_diffColor
unsigned int m_diffRule
KPushButton * m_doneButton
bool m_isWorking
DirSynchTreeBranchm_localBranch
bool m_localBranchFinished
QLabel * m_localDirLbl
KFileTreeView * m_localView
QColor m_missingLocalColor
QColor m_missingRemoteColor
DirSynchTreeBranchm_remoteBranch
bool m_remoteBranchFinished
QLabel * m_remoteDirLbl
KFileTreeView * m_remoteView
QString m_selectedTouchPath
unsigned int m_state
KAction * m_synchAllAction
KPushButton * m_synchAllButton
KPushButton * m_synchAllFromLocalButton
KPushButton * m_synchAllFromRemoteButton
KAction * m_synchFromLocalAction
KPushButton * m_synchFromLocalButton
KAction * m_synchFromRemoteAction
KPushButton * m_synchFromRemoteButton
KAction * m_synchSelFromLocalAction
KAction * m_synchSelFromRemoteAction
int m_timeDiff
QPtrList< DirSynchTreeViewItemm_touchList
bool m_warnDelete

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index