"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/qtsingleapplication/src/qtsingleapplication.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.

qtsingleapplication.h  (cb2bib-1.9.9):qtsingleapplication.h  (cb2bib-2.0.0)
skipping to change at line 69 skipping to change at line 69
# endif # endif
#else #else
# define QT_QTSINGLEAPPLICATION_EXPORT # define QT_QTSINGLEAPPLICATION_EXPORT
#endif #endif
class QT_QTSINGLEAPPLICATION_EXPORT QtSingleApplication : public QApplication class QT_QTSINGLEAPPLICATION_EXPORT QtSingleApplication : public QApplication
{ {
Q_OBJECT Q_OBJECT
public: public:
QtSingleApplication(int &argc, char **argv, bool GUIenabled = true); QtSingleApplication(int& argc, char** argv, bool GUIenabled = true);
QtSingleApplication(const QString &appId, int &argc, char **argv); QtSingleApplication(const QString& appId, int& argc, char** argv);
#if QT_VERSION < 0x050000 #if QT_VERSION < 0x050000
QtSingleApplication(int &argc, char **argv, Type type); QtSingleApplication(int& argc, char** argv, Type type);
# if defined(Q_WS_X11) # if defined(Q_WS_X11)
QtSingleApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0 ); QtSingleApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0 );
QtSingleApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual QtSingleApplication(Display* dpy, int& argc, char** argv, Qt::HANDLE visual
= 0, Qt::HANDLE cmap = 0); = 0, Qt::HANDLE cmap = 0);
QtSingleApplication(Display* dpy, const QString &appId, int argc, char **arg QtSingleApplication(Display* dpy, const QString& appId, int argc, char** arg
v, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0); v, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0);
# endif // Q_WS_X11 # endif // Q_WS_X11
#endif // QT_VERSION < 0x050000 #endif // QT_VERSION < 0x050000
bool isRunning(); bool isRunning();
QString id() const; QString id() const;
void setActivationWindow(QWidget* aw, bool activateOnMessage = true); void setActivationWindow(QWidget* aw, bool activateOnMessage = true);
QWidget* activationWindow() const; QWidget* activationWindow() const;
// Obsolete: // Obsolete:
void initialize(bool dummy = true) void initialize(bool dummy = true)
{ isRunning(); Q_UNUSED(dummy) } {
isRunning();
Q_UNUSED(dummy)
}
public Q_SLOTS: public Q_SLOTS:
bool sendMessage(const QString &message, int timeout = 5000); bool sendMessage(const QString& message, int timeout = 5000);
void activateWindow(); void activateWindow();
Q_SIGNALS: Q_SIGNALS:
void messageReceived(const QString &message); void messageReceived(const QString& message);
private: private:
void sysInit(const QString &appId = QString()); void sysInit(const QString& appId = QString());
QtLocalPeer *peer; QtLocalPeer* peer;
QWidget *actWin; QWidget* actWin;
}; };
#endif // QTSINGLEAPPLICATION_H #endif // QTSINGLEAPPLICATION_H
 End of changes. 7 change blocks. 
13 lines changed or deleted 16 lines changed or added

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