SlideShare a Scribd company logo
1 of 10
Download to read offline
Ring Documentation, Release 1.5.4
• bool isRequestToSend(void)
• QSerialPort::Parity parity(void)
• QSerialPort::PinoutSignals pinoutSignals(void)
• QString portName(void)
• qint64 readBufferSize(void)
• bool setBaudRate(qint32 baudRate, QSerialPort::Directions directions)
• bool setBreakEnabled(bool set)
• bool setDataBits(QSerialPort::DataBits dataBits)
• bool setDataTerminalReady(bool set)
• bool setFlowControl(QSerialPort::FlowControl flowControl)
• bool setParity(QSerialPort::Parity parity)
• void setPort(QSerialPortInfo serialPortInfo)
• void setPortName(QString name)
• void setReadBufferSize(qint64 size)
• bool setRequestToSend(bool set)
• bool setStopBits(QSerialPort::StopBits stopBits)
• QSerialPort::StopBits stopBits(void)
• void setbaudRateChangedEvent(const char *)
• void setbreakEnabledChangedEvent(const char *)
• void setdataBitsChangedEvent(const char *)
• void setdataTerminalReadyChangedEvent(const char *)
• void seterrorEvent(const char *)
• void setflowControlChangedEvent(const char *)
• void setparityChangedEvent(const char *)
• void setrequestToSendChangedEvent(const char *)
• void setstopBitsChangedEvent(const char *)
• const char *getbaudRateChangedEvent(void)
• const char *getbreakEnabledChangedEvent(void)
• const char *getdataBitsChangedEvent(void)
• const char *getdataTerminalReadyChangedEvent(void)
• const char *geterrorEvent(void)
• const char *getflowControlChangedEvent(void)
• const char *getparityChangedEvent(void)
• const char *getrequestToSendChangedEvent(void)
• const char *getstopBitsChangedEvent(void)
95.164. QSerialPort Class 1725
Ring Documentation, Release 1.5.4
95.165 QSerialPortInfo Class
C++ Reference : http://doc.qt.io/qt-5/QSerialPortInfo.html
Parameters : void
• QString description(void)
• bool hasProductIdentifier(void)
• bool hasVendorIdentifier(void)
• bool isBusy(void)
• bool isNull(void)
• QString manufacturer(void)
• QString portName(void)
• quint16 productIdentifier(void)
• void swap(QSerialPortInfo other)
• QString systemLocation(void)
• quint16 vendorIdentifier(void)
95.166 QStringRef Class
C++ Reference : http://doc.qt.io/qt-5/QStringRef.html
Parameters : void
• QStringRef appendTo(QString * string)
• QChar at(int position)
• void clear(void)
• int compare(QString other, Qt::CaseSensitivity cs)
• int compare_2(QStringRef other, Qt::CaseSensitivity cs)
• int compare_3(QLatin1String other, Qt::CaseSensitivity cs)
• QChar * constData(void)
• bool contains(QString str, Qt::CaseSensitivity cs)
• bool contains_2(QChar ch, Qt::CaseSensitivity cs)
• bool contains_3(QStringRef str, Qt::CaseSensitivity cs)
• bool contains_4(QLatin1String str, Qt::CaseSensitivity cs)
• int count(void)
• int count_2(QString str, Qt::CaseSensitivity cs)
• int count_3(QChar ch, Qt::CaseSensitivity cs)
• int count_4(QStringRef str, Qt::CaseSensitivity cs)
• QChar * data(void)
• bool endsWith(QString str, Qt::CaseSensitivity cs)
95.165. QSerialPortInfo Class 1726
Ring Documentation, Release 1.5.4
• bool endsWith_2(QChar ch, Qt::CaseSensitivity cs)
• bool endsWith_3(QLatin1String str, Qt::CaseSensitivity cs)
• bool endsWith_4(QStringRef str, Qt::CaseSensitivity cs)
• int indexOf(QString str, int from, Qt::CaseSensitivity cs)
• int indexOf_2(QLatin1String str, int from, Qt::CaseSensitivity cs)
• int indexOf_3(QChar ch, int from, Qt::CaseSensitivity cs)
• int indexOf_4(QStringRef str, int from, Qt::CaseSensitivity cs)
• bool isEmpty(void)
• bool isNull(void)
• int lastIndexOf(QString str, int from, Qt::CaseSensitivity cs)
• int lastIndexOf_2(QChar ch, int from, Qt::CaseSensitivity cs)
• int lastIndexOf_3(QLatin1String str, int from, Qt::CaseSensitivity cs)
• int lastIndexOf_4(QStringRef str, int from, Qt::CaseSensitivity cs)
• int length(void)
• int localeAwareCompare(QString other)
• int localeAwareCompare_2(QStringRef other)
• int position(void)
• int size(void)
• bool startsWith(QString str, Qt::CaseSensitivity cs)
• bool startsWith_2(QLatin1String str, Qt::CaseSensitivity cs)
• bool startsWith_3(QStringRef str, Qt::CaseSensitivity cs)
• bool startsWith_4(QChar ch, Qt::CaseSensitivity cs)
• QString * string(void)
• QByteArray toLatin1(void)
• QByteArray toLocal8Bit(void)
• QString toString(void)
• QVector<uint> toUcs4(void)
• QByteArray toUtf8(void)
• QChar * unicode(void)
• int compare_4(QStringRef s1, QString s2, Qt::CaseSensitivity cs)
• int compare_5(QStringRef s1, QStringRef s2, Qt::CaseSensitivity cs)
• int compare_6(QStringRef s1, QLatin1String s2, Qt::CaseSensitivity cs)
• int localeAwareCompare_3(QStringRef s1, QString s2)
• int localeAwareCompare_4(QStringRef s1, QStringRef s2)
95.166. QStringRef Class 1727
Ring Documentation, Release 1.5.4
95.167 QMutex Class
C++ Reference : http://doc.qt.io/qt-5/QMutex.html
Parameters : QMutex::RecursionMode
• bool isRecursive(void)
• void lock(void)
• void unlock(void)
95.168 QMutexLocker Class
C++ Reference : http://doc.qt.io/qt-5/QMutexLocker.html
Parameters : QMutex *
• QMutex * mutex(void)
• void relock(void)
• void unlock(void)
95.169 QBuffer Class
C++ Reference : http://doc.qt.io/qt-5/QBuffer.html
Parameters : QObject *
Parent Class : QIODevice
• QByteArray buffer(void)
• QByteArray data(void)
• void setBuffer(QByteArray *byteArray)
• void setData(QByteArray data)
• void setData_2(char *data, int size)
95.170 QBluetoothAddress Class
C++ Reference : http://doc.qt.io/qt-5/QBluetoothAddress.html
Parameters : void
• void clear(void)
• bool isNull(void)
• QString toString(void)
• quint64 toUInt64(void)
95.167. QMutex Class 1728
Ring Documentation, Release 1.5.4
95.171 QBluetoothDeviceDiscoveryAgent Class
C++ Reference : http://doc.qt.io/qt-5/QBluetoothDeviceDiscoveryAgent.html
Parameters : QObject *
• QList<QBluetoothDeviceInfo> discoveredDevices(void)
• QBluetoothDeviceDiscoveryAgent::Error error(void)
• QString errorString(void)
• QBluetoothDeviceDiscoveryAgent::InquiryType inquiryType(void)
• bool isActive(void)
• void setInquiryType(QBluetoothDeviceDiscoveryAgent::InquiryType type)
• void start(void)
• void stop(void)
• void setcanceledEvent(const char *)
• void setdeviceDiscoveredEvent(const char *)
• void seterrorEvent(const char *)
• void setfinishedEvent(const char *)
• const char *getcanceledEvent(void)
• const char *getdeviceDiscoveredEvent(void)
• const char *geterrorEvent(void)
• const char *getfinishedEvent(void)
95.172 QBluetoothDeviceInfo Class
C++ Reference : http://doc.qt.io/qt-5/QBluetoothDeviceInfo.html
Parameters : void
• QBluetoothAddress address(void)
• bool isValid(void)
• QBluetoothDeviceInfo::MajorDeviceClass majorDeviceClass(void)
• quint8 minorDeviceClass(void)
• QString name(void)
• qint16 rssi(void)
• QBluetoothDeviceInfo::ServiceClasses serviceClasses(void)
• QList<QBluetoothUuid> serviceUuids(QBluetoothDeviceInfo::DataCompleteness *completeness)
• QBluetoothDeviceInfo::DataCompleteness serviceUuidsCompleteness(void)
• void setCached(bool cached)
• void setServiceUuids(QList<QBluetoothUuid> uuids, QBluetoothDeviceInfo::DataCompleteness complete-
ness)
95.171. QBluetoothDeviceDiscoveryAgent Class 1729
Ring Documentation, Release 1.5.4
95.173 QBluetoothHostInfo Class
C++ Reference : http://doc.qt.io/qt-5/QBluetoothHostInfo.html
Parameters : void
• QBluetoothAddress address(void)
• QString name(void)
• void setAddress(QBluetoothAddress address)
• void setName(QString name)
95.174 QBluetoothLocalDevice Class
C++ Reference : http://doc.qt.io/qt-5/QBluetoothLocalDevice.html
Parameters : QObject *
• QBluetoothAddress address(void)
95.175 QDateTime Class
C++ Reference : http://doc.qt.io/qt-5/QDateTime.html
Parameters : void
• QDateTime addDays(int ndays)
• QDateTime addMSecs(qint64 msecs)
• QDateTime addMonths(int nmonths)
• QDateTime addSecs(int s)
• QDateTime addYears(int nyears)
• QDate date(void)
• int daysTo(QDateTime other)
• bool isNull(void)
• bool isValid(void)
• qint64 msecsTo(QDateTime other)
• int secsTo(QDateTime other)
• void setDate(QDate date)
• void setMSecsSinceEpoch(qint64 msecs)
• void setTime(QTime time)
• void setTimeSpec(Qt::TimeSpec spec)
• void setTime_t(uint seconds)
• QTime time(void)
• Qt::TimeSpec timeSpec(void)
95.173. QBluetoothHostInfo Class 1730
Ring Documentation, Release 1.5.4
• QDateTime toLocalTime(void)
• qint64 toMSecsSinceEpoch(void)
• QString toString(QString format)
• QString toString_2(Qt::DateFormat format)
• QDateTime toTimeSpec(Qt::TimeSpec specification)
• uint toTime_t(void)
• QDateTime toUTC(void)
• QDateTime currentDateTime(void)
• QDateTime currentDateTimeUtc(void)
• qint64 currentMSecsSinceEpoch(void)
• QDateTime fromMSecsSinceEpoch(qint64 msecs)
• QDateTime fromString(QString string, Qt::DateFormat format)
• QDateTime fromString_2(QString string, QString format)
• QDateTime fromTime_t(uint seconds)
95.176 QScreen Class
C++ Reference : http://doc.qt.io/qt-5/QScreen.html
• int angleBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b)
• QRect availableGeometry(void)
• QSize availableSize(void)
• QRect availableVirtualGeometry(void)
• QSize availableVirtualSize(void)
• int depth(void)
• qreal devicePixelRatio(void)
• QRect geometry(void)
• QPixmap grabWindow(int window, int x, int y, int width, int height)
• QPixmap grabWindow_2(int window)
• QPlatformScreen * handle(void)
• bool isLandscape(Qt::ScreenOrientation o)
• bool isPortrait(Qt::ScreenOrientation o)
• qreal logicalDotsPerInch(void)
• qreal logicalDotsPerInchX(void)
• qreal logicalDotsPerInchY(void)
• QRect mapBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, QRect rect)
• QString name(void)
95.176. QScreen Class 1731
Ring Documentation, Release 1.5.4
• Qt::ScreenOrientation nativeOrientation(void)
• Qt::ScreenOrientation orientation(void)
• Qt::ScreenOrientations orientationUpdateMask(void)
• qreal physicalDotsPerInch(void)
• qreal physicalDotsPerInchX(void)
• qreal physicalDotsPerInchY(void)
• QSizeF physicalSize(void)
• Qt::ScreenOrientation primaryOrientation(void)
• qreal refreshRate(void)
• void setOrientationUpdateMask(Qt::ScreenOrientations mask)
• QSize size(void)
• QTransform transformBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, QRect target)
95.177 QWindow Class
C++ Reference : http://doc.qt.io/qt-5/QWindow.html
Parameters : QScreen *
Parent Class : QObject
• QSize baseSize(void)
• Qt::ScreenOrientation contentOrientation(void)
• void create(void)
• QCursor cursor(void)
• void destroy(void)
• qreal devicePixelRatio(void)
• QString filePath(void)
• Qt::WindowFlags flags(void)
• QObject * focusObject(void)
• QRect frameGeometry(void)
• QMargins frameMargins(void)
• QPoint framePosition(void)
• QRect geometry(void)
• int height(void)
• QIcon icon(void)
• bool isActive(void)
• bool isAncestorOf(QWindow *child, QWindow::AncestorMode mode)
• bool isExposed(void)
95.177. QWindow Class 1732
Ring Documentation, Release 1.5.4
• bool isModal(void)
• bool isTopLevel(void)
• bool isVisible(void)
• QPoint mapFromGlobal(QPoint pos)
• QPoint mapToGlobal(QPoint pos)
• QRegion mask(void)
• int maximumHeight(void)
• QSize maximumSize(void)
• int maximumWidth(void)
• int minimumHeight(void)
• QSize minimumSize(void)
• int minimumWidth(void)
• Qt::WindowModality modality(void)
• qreal opacity(void)
• QPoint position(void)
• void reportContentOrientationChange(Qt::ScreenOrientation orientation)
• QSurfaceFormat requestedFormat(void)
• void resize(QSize newSize)
• void resize_2(int w, int h)
• QScreen * screen(void)
• void setBaseSize(QSize size)
• void setCursor(QCursor cursor)
• void setFilePath(QString filePath)
• void setFlags(Qt::WindowFlags flags)
• void setFormat(QSurfaceFormat format)
• void setFramePosition(QPoint point)
• void setGeometry(int posx, int posy, int w, int h)
• void setGeometry_2(QRect rect)
• void setIcon(QIcon icon)
• bool setKeyboardGrabEnabled(bool grab)
• void setMask(QRegion region)
• void setMaximumSize(QSize size)
• void setMinimumSize(QSize size)
• void setModality(Qt::WindowModality modality)
• bool setMouseGrabEnabled(bool grab)
• void setOpacity(qreal level)
95.177. QWindow Class 1733
Ring Documentation, Release 1.5.4
• void setParent(QWindow *parent)
• void setPosition(QPoint pt)
• void setPosition_2(int posx, int posy)
• void setScreen(QScreen *newScreen)
• void setSizeIncrement(QSize size)
• void setTransientParent(QWindow *parent)
• void setVisibility(QWindow::Visibility v)
• void setWindowState(Qt::WindowState state)
• QSize sizeIncrement(void)
• QString title(void)
• QWindow * transientParent(void)
• Qt::WindowType type(void)
• void unsetCursor(void)
• QWindow::Visibility visibility(void)
• int width(void)
• WId winId(void)
• Qt::WindowState windowState(void)
• int x(void)
• int y(void)
• void alert(int msec)
• bool close(void)
• void hide(void)
• void lower(void)
• void raise(void)
• void requestActivate(void)
• void setHeight(int arg)
• void setMaximumHeight(int h)
• void setMaximumWidth(int w)
• void setMinimumHeight(int h)
• void setMinimumWidth(int w)
• void setTitle(QString )
• void setVisible(bool visible)
• void setWidth(int arg)
• void setX(int arg)
• void setY(int arg)
• void show(void)
95.177. QWindow Class 1734

More Related Content

What's hot

What's hot (20)

The Ring programming language version 1.6 book - Part 173 of 189
The Ring programming language version 1.6 book - Part 173 of 189The Ring programming language version 1.6 book - Part 173 of 189
The Ring programming language version 1.6 book - Part 173 of 189
 
The Ring programming language version 1.5.3 book - Part 182 of 194
The Ring programming language version 1.5.3 book - Part 182 of 194The Ring programming language version 1.5.3 book - Part 182 of 194
The Ring programming language version 1.5.3 book - Part 182 of 194
 
The Ring programming language version 1.5.4 book - Part 171 of 185
The Ring programming language version 1.5.4 book - Part 171 of 185The Ring programming language version 1.5.4 book - Part 171 of 185
The Ring programming language version 1.5.4 book - Part 171 of 185
 
The Ring programming language version 1.5.4 book - Part 173 of 185
The Ring programming language version 1.5.4 book - Part 173 of 185The Ring programming language version 1.5.4 book - Part 173 of 185
The Ring programming language version 1.5.4 book - Part 173 of 185
 
The Ring programming language version 1.7 book - Part 95 of 196
The Ring programming language version 1.7 book - Part 95 of 196The Ring programming language version 1.7 book - Part 95 of 196
The Ring programming language version 1.7 book - Part 95 of 196
 
The Ring programming language version 1.3 book - Part 75 of 88
The Ring programming language version 1.3 book - Part 75 of 88The Ring programming language version 1.3 book - Part 75 of 88
The Ring programming language version 1.3 book - Part 75 of 88
 
The Ring programming language version 1.8 book - Part 100 of 202
The Ring programming language version 1.8 book - Part 100 of 202The Ring programming language version 1.8 book - Part 100 of 202
The Ring programming language version 1.8 book - Part 100 of 202
 
The Ring programming language version 1.5.3 book - Part 179 of 194
The Ring programming language version 1.5.3 book - Part 179 of 194The Ring programming language version 1.5.3 book - Part 179 of 194
The Ring programming language version 1.5.3 book - Part 179 of 194
 
The Ring programming language version 1.5.1 book - Part 171 of 180
The Ring programming language version 1.5.1 book - Part 171 of 180 The Ring programming language version 1.5.1 book - Part 171 of 180
The Ring programming language version 1.5.1 book - Part 171 of 180
 
The Ring programming language version 1.6 book - Part 175 of 189
The Ring programming language version 1.6 book - Part 175 of 189The Ring programming language version 1.6 book - Part 175 of 189
The Ring programming language version 1.6 book - Part 175 of 189
 
The Ring programming language version 1.5.3 book - Part 181 of 194
The Ring programming language version 1.5.3 book - Part 181 of 194The Ring programming language version 1.5.3 book - Part 181 of 194
The Ring programming language version 1.5.3 book - Part 181 of 194
 
The Ring programming language version 1.2 book - Part 75 of 84
The Ring programming language version 1.2 book - Part 75 of 84The Ring programming language version 1.2 book - Part 75 of 84
The Ring programming language version 1.2 book - Part 75 of 84
 
The Ring programming language version 1.5.2 book - Part 170 of 181
The Ring programming language version 1.5.2 book - Part 170 of 181The Ring programming language version 1.5.2 book - Part 170 of 181
The Ring programming language version 1.5.2 book - Part 170 of 181
 
The Ring programming language version 1.8 book - Part 108 of 202
The Ring programming language version 1.8 book - Part 108 of 202The Ring programming language version 1.8 book - Part 108 of 202
The Ring programming language version 1.8 book - Part 108 of 202
 
The Ring programming language version 1.10 book - Part 108 of 212
The Ring programming language version 1.10 book - Part 108 of 212The Ring programming language version 1.10 book - Part 108 of 212
The Ring programming language version 1.10 book - Part 108 of 212
 
The Ring programming language version 1.9 book - Part 117 of 210
The Ring programming language version 1.9 book - Part 117 of 210The Ring programming language version 1.9 book - Part 117 of 210
The Ring programming language version 1.9 book - Part 117 of 210
 
The Ring programming language version 1.5.2 book - Part 168 of 181
The Ring programming language version 1.5.2 book - Part 168 of 181The Ring programming language version 1.5.2 book - Part 168 of 181
The Ring programming language version 1.5.2 book - Part 168 of 181
 
The Ring programming language version 1.8 book - Part 111 of 202
The Ring programming language version 1.8 book - Part 111 of 202The Ring programming language version 1.8 book - Part 111 of 202
The Ring programming language version 1.8 book - Part 111 of 202
 
The Ring programming language version 1.10 book - Part 119 of 212
The Ring programming language version 1.10 book - Part 119 of 212The Ring programming language version 1.10 book - Part 119 of 212
The Ring programming language version 1.10 book - Part 119 of 212
 
The Ring programming language version 1.8 book - Part 104 of 202
The Ring programming language version 1.8 book - Part 104 of 202The Ring programming language version 1.8 book - Part 104 of 202
The Ring programming language version 1.8 book - Part 104 of 202
 

More from Mahmoud Samir Fayed

More from Mahmoud Samir Fayed (20)

The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.10 book - Part 212 of 212The Ring programming language version 1.10 book - Part 212 of 212
The Ring programming language version 1.10 book - Part 212 of 212
 
The Ring programming language version 1.10 book - Part 211 of 212
The Ring programming language version 1.10 book - Part 211 of 212The Ring programming language version 1.10 book - Part 211 of 212
The Ring programming language version 1.10 book - Part 211 of 212
 
The Ring programming language version 1.10 book - Part 210 of 212
The Ring programming language version 1.10 book - Part 210 of 212The Ring programming language version 1.10 book - Part 210 of 212
The Ring programming language version 1.10 book - Part 210 of 212
 
The Ring programming language version 1.10 book - Part 208 of 212
The Ring programming language version 1.10 book - Part 208 of 212The Ring programming language version 1.10 book - Part 208 of 212
The Ring programming language version 1.10 book - Part 208 of 212
 
The Ring programming language version 1.10 book - Part 207 of 212
The Ring programming language version 1.10 book - Part 207 of 212The Ring programming language version 1.10 book - Part 207 of 212
The Ring programming language version 1.10 book - Part 207 of 212
 
The Ring programming language version 1.10 book - Part 205 of 212
The Ring programming language version 1.10 book - Part 205 of 212The Ring programming language version 1.10 book - Part 205 of 212
The Ring programming language version 1.10 book - Part 205 of 212
 
The Ring programming language version 1.10 book - Part 206 of 212
The Ring programming language version 1.10 book - Part 206 of 212The Ring programming language version 1.10 book - Part 206 of 212
The Ring programming language version 1.10 book - Part 206 of 212
 
The Ring programming language version 1.10 book - Part 204 of 212
The Ring programming language version 1.10 book - Part 204 of 212The Ring programming language version 1.10 book - Part 204 of 212
The Ring programming language version 1.10 book - Part 204 of 212
 
The Ring programming language version 1.10 book - Part 203 of 212
The Ring programming language version 1.10 book - Part 203 of 212The Ring programming language version 1.10 book - Part 203 of 212
The Ring programming language version 1.10 book - Part 203 of 212
 
The Ring programming language version 1.10 book - Part 202 of 212
The Ring programming language version 1.10 book - Part 202 of 212The Ring programming language version 1.10 book - Part 202 of 212
The Ring programming language version 1.10 book - Part 202 of 212
 
The Ring programming language version 1.10 book - Part 201 of 212
The Ring programming language version 1.10 book - Part 201 of 212The Ring programming language version 1.10 book - Part 201 of 212
The Ring programming language version 1.10 book - Part 201 of 212
 
The Ring programming language version 1.10 book - Part 200 of 212
The Ring programming language version 1.10 book - Part 200 of 212The Ring programming language version 1.10 book - Part 200 of 212
The Ring programming language version 1.10 book - Part 200 of 212
 
The Ring programming language version 1.10 book - Part 199 of 212
The Ring programming language version 1.10 book - Part 199 of 212The Ring programming language version 1.10 book - Part 199 of 212
The Ring programming language version 1.10 book - Part 199 of 212
 
The Ring programming language version 1.10 book - Part 198 of 212
The Ring programming language version 1.10 book - Part 198 of 212The Ring programming language version 1.10 book - Part 198 of 212
The Ring programming language version 1.10 book - Part 198 of 212
 
The Ring programming language version 1.10 book - Part 197 of 212
The Ring programming language version 1.10 book - Part 197 of 212The Ring programming language version 1.10 book - Part 197 of 212
The Ring programming language version 1.10 book - Part 197 of 212
 
The Ring programming language version 1.10 book - Part 196 of 212
The Ring programming language version 1.10 book - Part 196 of 212The Ring programming language version 1.10 book - Part 196 of 212
The Ring programming language version 1.10 book - Part 196 of 212
 
The Ring programming language version 1.10 book - Part 195 of 212
The Ring programming language version 1.10 book - Part 195 of 212The Ring programming language version 1.10 book - Part 195 of 212
The Ring programming language version 1.10 book - Part 195 of 212
 
The Ring programming language version 1.10 book - Part 194 of 212
The Ring programming language version 1.10 book - Part 194 of 212The Ring programming language version 1.10 book - Part 194 of 212
The Ring programming language version 1.10 book - Part 194 of 212
 
The Ring programming language version 1.10 book - Part 193 of 212
The Ring programming language version 1.10 book - Part 193 of 212The Ring programming language version 1.10 book - Part 193 of 212
The Ring programming language version 1.10 book - Part 193 of 212
 
The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 192 of 212The Ring programming language version 1.10 book - Part 192 of 212
The Ring programming language version 1.10 book - Part 192 of 212
 

The Ring programming language version 1.5.4 book - Part 176 of 185

  • 1. Ring Documentation, Release 1.5.4 • bool isRequestToSend(void) • QSerialPort::Parity parity(void) • QSerialPort::PinoutSignals pinoutSignals(void) • QString portName(void) • qint64 readBufferSize(void) • bool setBaudRate(qint32 baudRate, QSerialPort::Directions directions) • bool setBreakEnabled(bool set) • bool setDataBits(QSerialPort::DataBits dataBits) • bool setDataTerminalReady(bool set) • bool setFlowControl(QSerialPort::FlowControl flowControl) • bool setParity(QSerialPort::Parity parity) • void setPort(QSerialPortInfo serialPortInfo) • void setPortName(QString name) • void setReadBufferSize(qint64 size) • bool setRequestToSend(bool set) • bool setStopBits(QSerialPort::StopBits stopBits) • QSerialPort::StopBits stopBits(void) • void setbaudRateChangedEvent(const char *) • void setbreakEnabledChangedEvent(const char *) • void setdataBitsChangedEvent(const char *) • void setdataTerminalReadyChangedEvent(const char *) • void seterrorEvent(const char *) • void setflowControlChangedEvent(const char *) • void setparityChangedEvent(const char *) • void setrequestToSendChangedEvent(const char *) • void setstopBitsChangedEvent(const char *) • const char *getbaudRateChangedEvent(void) • const char *getbreakEnabledChangedEvent(void) • const char *getdataBitsChangedEvent(void) • const char *getdataTerminalReadyChangedEvent(void) • const char *geterrorEvent(void) • const char *getflowControlChangedEvent(void) • const char *getparityChangedEvent(void) • const char *getrequestToSendChangedEvent(void) • const char *getstopBitsChangedEvent(void) 95.164. QSerialPort Class 1725
  • 2. Ring Documentation, Release 1.5.4 95.165 QSerialPortInfo Class C++ Reference : http://doc.qt.io/qt-5/QSerialPortInfo.html Parameters : void • QString description(void) • bool hasProductIdentifier(void) • bool hasVendorIdentifier(void) • bool isBusy(void) • bool isNull(void) • QString manufacturer(void) • QString portName(void) • quint16 productIdentifier(void) • void swap(QSerialPortInfo other) • QString systemLocation(void) • quint16 vendorIdentifier(void) 95.166 QStringRef Class C++ Reference : http://doc.qt.io/qt-5/QStringRef.html Parameters : void • QStringRef appendTo(QString * string) • QChar at(int position) • void clear(void) • int compare(QString other, Qt::CaseSensitivity cs) • int compare_2(QStringRef other, Qt::CaseSensitivity cs) • int compare_3(QLatin1String other, Qt::CaseSensitivity cs) • QChar * constData(void) • bool contains(QString str, Qt::CaseSensitivity cs) • bool contains_2(QChar ch, Qt::CaseSensitivity cs) • bool contains_3(QStringRef str, Qt::CaseSensitivity cs) • bool contains_4(QLatin1String str, Qt::CaseSensitivity cs) • int count(void) • int count_2(QString str, Qt::CaseSensitivity cs) • int count_3(QChar ch, Qt::CaseSensitivity cs) • int count_4(QStringRef str, Qt::CaseSensitivity cs) • QChar * data(void) • bool endsWith(QString str, Qt::CaseSensitivity cs) 95.165. QSerialPortInfo Class 1726
  • 3. Ring Documentation, Release 1.5.4 • bool endsWith_2(QChar ch, Qt::CaseSensitivity cs) • bool endsWith_3(QLatin1String str, Qt::CaseSensitivity cs) • bool endsWith_4(QStringRef str, Qt::CaseSensitivity cs) • int indexOf(QString str, int from, Qt::CaseSensitivity cs) • int indexOf_2(QLatin1String str, int from, Qt::CaseSensitivity cs) • int indexOf_3(QChar ch, int from, Qt::CaseSensitivity cs) • int indexOf_4(QStringRef str, int from, Qt::CaseSensitivity cs) • bool isEmpty(void) • bool isNull(void) • int lastIndexOf(QString str, int from, Qt::CaseSensitivity cs) • int lastIndexOf_2(QChar ch, int from, Qt::CaseSensitivity cs) • int lastIndexOf_3(QLatin1String str, int from, Qt::CaseSensitivity cs) • int lastIndexOf_4(QStringRef str, int from, Qt::CaseSensitivity cs) • int length(void) • int localeAwareCompare(QString other) • int localeAwareCompare_2(QStringRef other) • int position(void) • int size(void) • bool startsWith(QString str, Qt::CaseSensitivity cs) • bool startsWith_2(QLatin1String str, Qt::CaseSensitivity cs) • bool startsWith_3(QStringRef str, Qt::CaseSensitivity cs) • bool startsWith_4(QChar ch, Qt::CaseSensitivity cs) • QString * string(void) • QByteArray toLatin1(void) • QByteArray toLocal8Bit(void) • QString toString(void) • QVector<uint> toUcs4(void) • QByteArray toUtf8(void) • QChar * unicode(void) • int compare_4(QStringRef s1, QString s2, Qt::CaseSensitivity cs) • int compare_5(QStringRef s1, QStringRef s2, Qt::CaseSensitivity cs) • int compare_6(QStringRef s1, QLatin1String s2, Qt::CaseSensitivity cs) • int localeAwareCompare_3(QStringRef s1, QString s2) • int localeAwareCompare_4(QStringRef s1, QStringRef s2) 95.166. QStringRef Class 1727
  • 4. Ring Documentation, Release 1.5.4 95.167 QMutex Class C++ Reference : http://doc.qt.io/qt-5/QMutex.html Parameters : QMutex::RecursionMode • bool isRecursive(void) • void lock(void) • void unlock(void) 95.168 QMutexLocker Class C++ Reference : http://doc.qt.io/qt-5/QMutexLocker.html Parameters : QMutex * • QMutex * mutex(void) • void relock(void) • void unlock(void) 95.169 QBuffer Class C++ Reference : http://doc.qt.io/qt-5/QBuffer.html Parameters : QObject * Parent Class : QIODevice • QByteArray buffer(void) • QByteArray data(void) • void setBuffer(QByteArray *byteArray) • void setData(QByteArray data) • void setData_2(char *data, int size) 95.170 QBluetoothAddress Class C++ Reference : http://doc.qt.io/qt-5/QBluetoothAddress.html Parameters : void • void clear(void) • bool isNull(void) • QString toString(void) • quint64 toUInt64(void) 95.167. QMutex Class 1728
  • 5. Ring Documentation, Release 1.5.4 95.171 QBluetoothDeviceDiscoveryAgent Class C++ Reference : http://doc.qt.io/qt-5/QBluetoothDeviceDiscoveryAgent.html Parameters : QObject * • QList<QBluetoothDeviceInfo> discoveredDevices(void) • QBluetoothDeviceDiscoveryAgent::Error error(void) • QString errorString(void) • QBluetoothDeviceDiscoveryAgent::InquiryType inquiryType(void) • bool isActive(void) • void setInquiryType(QBluetoothDeviceDiscoveryAgent::InquiryType type) • void start(void) • void stop(void) • void setcanceledEvent(const char *) • void setdeviceDiscoveredEvent(const char *) • void seterrorEvent(const char *) • void setfinishedEvent(const char *) • const char *getcanceledEvent(void) • const char *getdeviceDiscoveredEvent(void) • const char *geterrorEvent(void) • const char *getfinishedEvent(void) 95.172 QBluetoothDeviceInfo Class C++ Reference : http://doc.qt.io/qt-5/QBluetoothDeviceInfo.html Parameters : void • QBluetoothAddress address(void) • bool isValid(void) • QBluetoothDeviceInfo::MajorDeviceClass majorDeviceClass(void) • quint8 minorDeviceClass(void) • QString name(void) • qint16 rssi(void) • QBluetoothDeviceInfo::ServiceClasses serviceClasses(void) • QList<QBluetoothUuid> serviceUuids(QBluetoothDeviceInfo::DataCompleteness *completeness) • QBluetoothDeviceInfo::DataCompleteness serviceUuidsCompleteness(void) • void setCached(bool cached) • void setServiceUuids(QList<QBluetoothUuid> uuids, QBluetoothDeviceInfo::DataCompleteness complete- ness) 95.171. QBluetoothDeviceDiscoveryAgent Class 1729
  • 6. Ring Documentation, Release 1.5.4 95.173 QBluetoothHostInfo Class C++ Reference : http://doc.qt.io/qt-5/QBluetoothHostInfo.html Parameters : void • QBluetoothAddress address(void) • QString name(void) • void setAddress(QBluetoothAddress address) • void setName(QString name) 95.174 QBluetoothLocalDevice Class C++ Reference : http://doc.qt.io/qt-5/QBluetoothLocalDevice.html Parameters : QObject * • QBluetoothAddress address(void) 95.175 QDateTime Class C++ Reference : http://doc.qt.io/qt-5/QDateTime.html Parameters : void • QDateTime addDays(int ndays) • QDateTime addMSecs(qint64 msecs) • QDateTime addMonths(int nmonths) • QDateTime addSecs(int s) • QDateTime addYears(int nyears) • QDate date(void) • int daysTo(QDateTime other) • bool isNull(void) • bool isValid(void) • qint64 msecsTo(QDateTime other) • int secsTo(QDateTime other) • void setDate(QDate date) • void setMSecsSinceEpoch(qint64 msecs) • void setTime(QTime time) • void setTimeSpec(Qt::TimeSpec spec) • void setTime_t(uint seconds) • QTime time(void) • Qt::TimeSpec timeSpec(void) 95.173. QBluetoothHostInfo Class 1730
  • 7. Ring Documentation, Release 1.5.4 • QDateTime toLocalTime(void) • qint64 toMSecsSinceEpoch(void) • QString toString(QString format) • QString toString_2(Qt::DateFormat format) • QDateTime toTimeSpec(Qt::TimeSpec specification) • uint toTime_t(void) • QDateTime toUTC(void) • QDateTime currentDateTime(void) • QDateTime currentDateTimeUtc(void) • qint64 currentMSecsSinceEpoch(void) • QDateTime fromMSecsSinceEpoch(qint64 msecs) • QDateTime fromString(QString string, Qt::DateFormat format) • QDateTime fromString_2(QString string, QString format) • QDateTime fromTime_t(uint seconds) 95.176 QScreen Class C++ Reference : http://doc.qt.io/qt-5/QScreen.html • int angleBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b) • QRect availableGeometry(void) • QSize availableSize(void) • QRect availableVirtualGeometry(void) • QSize availableVirtualSize(void) • int depth(void) • qreal devicePixelRatio(void) • QRect geometry(void) • QPixmap grabWindow(int window, int x, int y, int width, int height) • QPixmap grabWindow_2(int window) • QPlatformScreen * handle(void) • bool isLandscape(Qt::ScreenOrientation o) • bool isPortrait(Qt::ScreenOrientation o) • qreal logicalDotsPerInch(void) • qreal logicalDotsPerInchX(void) • qreal logicalDotsPerInchY(void) • QRect mapBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, QRect rect) • QString name(void) 95.176. QScreen Class 1731
  • 8. Ring Documentation, Release 1.5.4 • Qt::ScreenOrientation nativeOrientation(void) • Qt::ScreenOrientation orientation(void) • Qt::ScreenOrientations orientationUpdateMask(void) • qreal physicalDotsPerInch(void) • qreal physicalDotsPerInchX(void) • qreal physicalDotsPerInchY(void) • QSizeF physicalSize(void) • Qt::ScreenOrientation primaryOrientation(void) • qreal refreshRate(void) • void setOrientationUpdateMask(Qt::ScreenOrientations mask) • QSize size(void) • QTransform transformBetween(Qt::ScreenOrientation a, Qt::ScreenOrientation b, QRect target) 95.177 QWindow Class C++ Reference : http://doc.qt.io/qt-5/QWindow.html Parameters : QScreen * Parent Class : QObject • QSize baseSize(void) • Qt::ScreenOrientation contentOrientation(void) • void create(void) • QCursor cursor(void) • void destroy(void) • qreal devicePixelRatio(void) • QString filePath(void) • Qt::WindowFlags flags(void) • QObject * focusObject(void) • QRect frameGeometry(void) • QMargins frameMargins(void) • QPoint framePosition(void) • QRect geometry(void) • int height(void) • QIcon icon(void) • bool isActive(void) • bool isAncestorOf(QWindow *child, QWindow::AncestorMode mode) • bool isExposed(void) 95.177. QWindow Class 1732
  • 9. Ring Documentation, Release 1.5.4 • bool isModal(void) • bool isTopLevel(void) • bool isVisible(void) • QPoint mapFromGlobal(QPoint pos) • QPoint mapToGlobal(QPoint pos) • QRegion mask(void) • int maximumHeight(void) • QSize maximumSize(void) • int maximumWidth(void) • int minimumHeight(void) • QSize minimumSize(void) • int minimumWidth(void) • Qt::WindowModality modality(void) • qreal opacity(void) • QPoint position(void) • void reportContentOrientationChange(Qt::ScreenOrientation orientation) • QSurfaceFormat requestedFormat(void) • void resize(QSize newSize) • void resize_2(int w, int h) • QScreen * screen(void) • void setBaseSize(QSize size) • void setCursor(QCursor cursor) • void setFilePath(QString filePath) • void setFlags(Qt::WindowFlags flags) • void setFormat(QSurfaceFormat format) • void setFramePosition(QPoint point) • void setGeometry(int posx, int posy, int w, int h) • void setGeometry_2(QRect rect) • void setIcon(QIcon icon) • bool setKeyboardGrabEnabled(bool grab) • void setMask(QRegion region) • void setMaximumSize(QSize size) • void setMinimumSize(QSize size) • void setModality(Qt::WindowModality modality) • bool setMouseGrabEnabled(bool grab) • void setOpacity(qreal level) 95.177. QWindow Class 1733
  • 10. Ring Documentation, Release 1.5.4 • void setParent(QWindow *parent) • void setPosition(QPoint pt) • void setPosition_2(int posx, int posy) • void setScreen(QScreen *newScreen) • void setSizeIncrement(QSize size) • void setTransientParent(QWindow *parent) • void setVisibility(QWindow::Visibility v) • void setWindowState(Qt::WindowState state) • QSize sizeIncrement(void) • QString title(void) • QWindow * transientParent(void) • Qt::WindowType type(void) • void unsetCursor(void) • QWindow::Visibility visibility(void) • int width(void) • WId winId(void) • Qt::WindowState windowState(void) • int x(void) • int y(void) • void alert(int msec) • bool close(void) • void hide(void) • void lower(void) • void raise(void) • void requestActivate(void) • void setHeight(int arg) • void setMaximumHeight(int h) • void setMaximumWidth(int w) • void setMinimumHeight(int h) • void setMinimumWidth(int w) • void setTitle(QString ) • void setVisible(bool visible) • void setWidth(int arg) • void setX(int arg) • void setY(int arg) • void show(void) 95.177. QWindow Class 1734