Date:2010-11-04 18:57:31 (13 years 4 months ago)
Author:nielsk
Commit:0dd2f334d083e0ff86bdcd480c3e3c1379f78ab6
Message:emit a signal if the gps device got a fix

Files: gpsclient.cpp (1 diff)
gpsclient.h (1 diff)

Change Details

gpsclient.cpp
7878            }
7979        }
8080        if (mode > 1) {
81            emit fixed(true);
8182            emit position(QPointF(lon, lat));
83        } else {
84            emit fixed(false);
8285        }
8386    }
8487}
gpsclient.h
4141    void speed(qreal speed);
4242    void connected();
4343    void disconnected();
44    void fixed(bool fix);
4445
4546private slots:
4647    void readData();

Archive Download the corresponding diff file

Branches:
master



interactive