Consistently use slots / signals

We started out using Q_SLOTS and Q_SIGNALS but then changed our mind.
Let's make this consistent again.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-06-19 10:20:16 -07:00
parent 0a92052765
commit 07a16574e9
7 changed files with 10 additions and 10 deletions

View file

@ -41,7 +41,7 @@ public slots:
void testSlot();
void fixMessyQtModelBehaviour();
Q_SIGNALS:
signals:
void currentDiveChanged(int divenr);
private:

View file

@ -27,7 +27,7 @@ public:
InterfaceThread(QObject *parent, device_data_t *data) ;
virtual void run();
Q_SIGNALS:
signals:
void updateInterface(int value);
private:
device_data_t *data;

View file

@ -29,7 +29,7 @@ private:
struct dive* editingDiveCoords;
KMessageWidget* messageWidget;
public Q_SLOTS:
public slots:
void changeDiveGeoPosition(qreal lon,qreal lat,GeoDataCoordinates::Unit);
void mouseClicked(qreal lon, qreal lat, GeoDataCoordinates::Unit);
};

View file

@ -45,7 +45,7 @@ public:
void initialUiSetup();
public Q_SLOTS:
public slots:
void addCylinder_clicked();
void addWeight_clicked();
void updateDiveInfo(int dive);

View file

@ -44,7 +44,7 @@ public:
GlobeGPS *globe();
void showError(QString message);
private Q_SLOTS:
private slots:
/* file menu action */
@ -90,7 +90,7 @@ private Q_SLOTS:
protected:
void closeEvent(QCloseEvent *);
public Q_SLOTS:
public slots:
void readSettings();
void refreshDisplay();

View file

@ -42,7 +42,7 @@ public:
void mousePressEvent(QGraphicsSceneMouseEvent* event);
void mouseReleaseEvent(QGraphicsSceneMouseEvent* event);
bool eventFilter(QObject* , QEvent* );
public Q_SLOTS:
public slots:
void setRect(const QRectF& rect);
private:
@ -98,7 +98,7 @@ protected:
void wheelEvent(QWheelEvent* event);
void showEvent(QShowEvent* event);
public Q_SLOTS:
public slots:
void refresh();
void edit_dive_time(const QString& time);

View file

@ -17,10 +17,10 @@ public:
static QPixmap starActive();
static QPixmap starInactive();
Q_SIGNALS:
signals:
void valueChanged(int stars);
public Q_SLOTS:
public slots:
void setCurrentStars(int value);
void setReadOnly( bool readOnly);