"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/qtsingleapplication/src/qtlocalpeer.h" between
cb2bib-1.9.9.tar.gz and cb2bib-2.0.0.tar.gz

About: cb2Bib is a multiplatform application for rapidly extracting unformatted, or unstandardized bibliographic references from email alerts, journal Web pages, and PDF files.

qtlocalpeer.h  (cb2bib-1.9.9):qtlocalpeer.h  (cb2bib-2.0.0)
skipping to change at line 55 skipping to change at line 55
#include <QLocalSocket> #include <QLocalSocket>
#include <QDir> #include <QDir>
#include "qtlockedfile.h" #include "qtlockedfile.h"
class QtLocalPeer : public QObject class QtLocalPeer : public QObject
{ {
public: public:
QtLocalPeer(QObject *parent = 0, const QString &appId = QString()); QtLocalPeer(QObject* parent = 0, const QString& appId = QString());
bool isClient(); bool isClient();
bool sendMessage(const QString &message, int timeout); bool sendMessage(const QString& message, int timeout);
QString applicationId() const QString applicationId() const
{ return id; } {
return id;
void messageReceived(const QString &message); void messageReceived(const QString& message);
protected Q_SLOTS: protected Q_SLOTS:
void receiveConnection(); void receiveConnection();
protected: protected:
QString id; QString id;
QString socketName; QString socketName;
QLocalServer* server; QLocalServer* server;
QtLP_Private::QtLockedFile lockFile; QtLP_Private::QtLockedFile lockFile;
 End of changes. 4 change blocks. 
4 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)