summaryrefslogtreecommitdiffabout
path: root/libkdepim/ksyncmanager.h
Side-by-side diff
Diffstat (limited to 'libkdepim/ksyncmanager.h') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/ksyncmanager.h25
1 files changed, 3 insertions, 22 deletions
diff --git a/libkdepim/ksyncmanager.h b/libkdepim/ksyncmanager.h
index 7027894..1f7c7e7 100644
--- a/libkdepim/ksyncmanager.h
+++ b/libkdepim/ksyncmanager.h
@@ -49,5 +49,4 @@ public:
void newConnection ( int socket ) ;
void setFileName( QString fn ) {mFileName = fn;};
-
signals:
void file_received( bool );
@@ -82,5 +81,4 @@ public:
void sendStop();
-
signals:
void commandFinished( KCommandSocket*, int );
@@ -114,5 +112,4 @@ class KSyncManager : public QObject
PWMPI = 2 };
-
KSyncManager(QWidget* parent, KSyncInterface* implementation, TargetApp ta, KPimPrefs* prefs, QPopupMenu* syncmenu);
~KSyncManager() ;
@@ -124,5 +121,4 @@ class KSyncManager : public QObject
QString defaultFileName() { return mDefFileName ;}
QString syncFileName();
- void fillSyncMenu();
QString getCurrentSyncDevice() { return mCurrentSyncDevice; }
@@ -139,9 +135,6 @@ class KSyncManager : public QObject
bool mAskForPreferences;
bool mShowSyncSummary;
- bool mShowSyncEvents;
- bool mShowTodoInAgenda;
bool mWriteBackExistingOnly;
int mSyncAlgoPrefs;
- int mRingSyncAlgoPrefs;
bool mWriteBackFile;
int mWriteBackInFuture;
@@ -162,8 +155,7 @@ class KSyncManager : public QObject
void deleteCommandSocket(KCommandSocket*s, int state);
void readFileFromSocket();
+ void fillSyncMenu();
private:
- // LR *******************************
- // sync stuff!
void syncPi();
KServerSocket * mServerSocket;
@@ -187,21 +179,12 @@ class KSyncManager : public QObject
private slots:
void confSync();
- // *********************
-
private:
bool mBlockSaveFlag;
-
-
QWidget* mParent;
KSyncInterface* mImplementation;
TargetApp mTargetApp;
QPopupMenu* mSyncMenu;
-
QProgressBar* bar;
-
-
-
-
};
@@ -209,12 +192,10 @@ class KSyncManager : public QObject
class KSyncInterface
{
-
-
public :
virtual bool sync(KSyncManager* manager, QString filename, int mode) = 0;
-
virtual bool syncExternal(KSyncManager* manager, QString resource)
{
- // empty implementation, because some syncable applications do not have an external(sharpdtm) syncmode, like pwmanager.
+ // empty implementation, because some syncable applications do not
+ // have an external(sharpdtm) syncmode, like pwmanager.
return false;
}