mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
0a92052765
commit
07a16574e9
7 changed files with 10 additions and 10 deletions
|
@ -41,7 +41,7 @@ public slots:
|
|||
void testSlot();
|
||||
void fixMessyQtModelBehaviour();
|
||||
|
||||
Q_SIGNALS:
|
||||
signals:
|
||||
void currentDiveChanged(int divenr);
|
||||
|
||||
private:
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
};
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
void initialUiSetup();
|
||||
|
||||
|
||||
public Q_SLOTS:
|
||||
public slots:
|
||||
void addCylinder_clicked();
|
||||
void addWeight_clicked();
|
||||
void updateDiveInfo(int dive);
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue