More Related Content
More from Mahmoud Samir Fayed (20)
The Ring programming language version 1.2 book - Part 75 of 84
- 1. Ring Documentation, Release 1.2
• void writeComment(QString text)
• void writeCurrentToken(QXmlStreamReader reader)
• void writeDTD(QString dtd)
• void writeDefaultNamespace(QString namespaceUri)
• void writeEmptyElement(QString namespaceUri, QString name)
• void writeEmptyElement_2(QString qualifiedName)
• void writeEndDocument(void)
• void writeEndElement(void)
• void writeEntityReference(QString name)
• void writeNamespace(QString namespaceUri, QString prefix)
• void writeProcessingInstruction(QString target, QString data)
• void writeStartDocument(QString version)
• void writeStartDocument_2(QString version, bool standalone)
• void writeStartDocument_3(void)
• void writeStartElement(QString namespaceUri, QString name)
• void writeStartElement_2(QString qualifiedName)
• void writeTextElement(QString namespaceUri, QString name, QString text)
• void writeTextElement_2(QString qualifiedName, QString text)
62.109 QXmlStreamNotationDeclaration Class
C++ Reference : http://doc.qt.io/qt-5/QXmlStreamNotationDeclaration.html
Parameters : void
• QStringRef name(void)
• QStringRef publicId(void)
• QStringRef systemId(void)
62.110 QXmlStreamNamespaceDeclaration Class
C++ Reference : http://doc.qt.io/qt-5/QXmlStreamNamespaceDeclaration.html
Parameters : void
• QStringRef namespaceUri(void)
• QStringRef prefix(void)
62.109. QXmlStreamNotationDeclaration Class 720
- 2. Ring Documentation, Release 1.2
62.111 QXmlStreamEntityResolver Class
C++ Reference : http://doc.qt.io/qt-5/QXmlStreamEntityResolver.html
Parameters : void
62.112 QXmlStreamEntityDeclaration Class
C++ Reference : http://doc.qt.io/qt-5/QXmlStreamEntityDeclaration.html
Parameters : void
• QStringRef name(void)
• QStringRef notationName(void)
• QStringRef publicId(void)
• QStringRef systemId(void)
• QStringRef value(void)
62.113 QXmlStreamAttributes Class
C++ Reference : http://doc.qt.io/qt-5/QXmlStreamAttributes.html
Parameters : void
• void append(QString namespaceUri, QString name, QString value)
• void append_2(QString qualifiedName, QString value)
• bool hasAttribute(QString qualifiedName)
• bool hasAttribute_2(QLatin1String qualifiedName)
• bool hasAttribute_3(QString namespaceUri, QString name)
• QStringRef value(QString namespaceUri, QString name)
• QStringRef value_2(QString namespaceUri, QLatin1String name)
• QStringRef value_3(QLatin1String namespaceUri, QLatin1String name)
• QStringRef value_4(QString qualifiedName)
• QStringRef value_5(QLatin1String qualifiedName)
62.114 QXmlStreamAttribute Class
C++ Reference : http://doc.qt.io/qt-5/QXmlStreamAttribute.html
Parameters : void
• bool isDefault(void)
• QStringRef name(void)
• QStringRef namespaceUri(void)
62.111. QXmlStreamEntityResolver Class 721
- 3. Ring Documentation, Release 1.2
• QStringRef prefix(void)
• QStringRef qualifiedName(void)
• QStringRef value(void)
62.115 QThread Class
C++ Reference : http://doc.qt.io/qt-5/QThread.html
Parameters : QObject *
Parent Class : QObject
• QAbstractEventDispatcher *eventDispatcher(void)
• void exit(int returnCode) # In RingQt use : void exitfromthread(int returnCode)
• bool isFinished(void)
• bool isInterruptionRequested(void)
• bool isRunning(void)
• QThread::Priority priority(void)
• void requestInterruption(void)
• void setEventDispatcher(QAbstractEventDispatcher *eventDispatcher)
• void setPriority(QThread::Priority priority)
• void setStackSize(uint stackSize)
• uint stackSize(void)
• bool wait(unsigned long time)
• void quit(void)
• void start(QThread::Priority priority)
• void terminate(void)
• QThread *currentThread(void)
• Qt::HANDLE currentThreadId(void)
• int idealThreadCount(void)
• void msleep(unsigned long msecs)
• void sleep(unsigned long secs)
• void usleep(unsigned long usecs)
• void yieldCurrentThread(void)
• void setStartedEvent(const char *)
• void setFinishedEvent(const char *)
• const char *getStartedEvent(void)
• const char *getFinishedEvent(void)
62.115. QThread Class 722
- 4. Ring Documentation, Release 1.2
62.116 QThreadPool Class
C++ Reference : http://doc.qt.io/qt-5/QThreadPool.html
Parameters : void
Parent Class : QObject
• int activeThreadCount(void)
• void clear(void)
• int expiryTimeout(void)
• int maxThreadCount(void)
• void releaseThread(void)
• void reserveThread(void)
• void setExpiryTimeout(int expiryTimeout)
• void setMaxThreadCount(int maxThreadCount)
• void start(QRunnable * runnable, int priority)
• bool tryStart(QRunnable * runnable)
• bool waitForDone(int msecs)
• QThreadPool *globalInstance(void)
62.117 QRegularExpression Class
C++ Reference : http://doc.qt.io/qt-5/QRegularExpression.html
Parameters : void
• int captureCount(void)
• QString errorString(void)
• QRegularExpressionMatchIterator globalMatch(QString subject, int offset, QRegularExpression::MatchType
matchType, QRegularExpression::MatchOptions matchOptions)
• bool isValid(void)
• QRegularExpressionMatch match(QString subject, int offset, QRegularExpression::MatchType matchType,
QRegularExpression::MatchOptions matchOptions)
• QStringList namedCaptureGroups(void)
• QString pattern(void)
• int patternErrorOffset(void)
• QRegularExpression::PatternOptions patternOptions(void)
• void setPattern(QString pattern)
• void setPatternOptions(QRegularExpression::PatternOptions options)
• void swap(QRegularExpression other)
62.116. QThreadPool Class 723
- 5. Ring Documentation, Release 1.2
62.118 QRegularExpressionMatch Class
C++ Reference : http://doc.qt.io/qt-5/QRegularExpressionMatch.html
Parameters : void
• QString captured(int nth)
• QString captured_2(const QString name)
• int capturedEnd(int nth)
• int capturedEnd_2(const QString name)
• int capturedLength(int nth)
• int capturedLength_2(const QString name)
• QStringRef capturedRef(int nth)
• QStringRef capturedRef_2(const QString name)
• int capturedStart(int nth)
• int capturedStart_2(const QString name)
• QStringList capturedTexts(void)
• bool hasMatch(void)
• bool hasPartialMatch(void)
• bool isValid(void)
• int lastCapturedIndex(void)
• QRegularExpression::MatchOptions matchOptions(void)
• QRegularExpression::MatchType matchType(void)
• QRegularExpression regularExpression(void)
• void swap(QRegularExpressionMatch other)
62.119 QRegularExpressionMatchIterator Class
C++ Reference : http://doc.qt.io/qt-5/QRegularExpressionMatchIterator.html
Parameters : void
• bool hasNext(void)
• bool isValid(void)
• QRegularExpression::MatchOptions matchOptions(void)
• QRegularExpression::MatchType matchType(void)
• QRegularExpressionMatch next(void) # In RingQt use : QRegularExpressionMatch nextitem(void)
• QRegularExpressionMatch peekNext(void)
• QRegularExpression regularExpression(void)
• void swap(QRegularExpressionMatchIterator other)
62.118. QRegularExpressionMatch Class 724
- 6. Ring Documentation, Release 1.2
62.120 QJsonArray Class
C++ Reference : http://doc.qt.io/qt-5/QJsonArray.html
Parameters : void
• void append(QJsonValue value)
• QJsonValue at(int i)
• bool contains(QJsonValue value)
• int count(void)
• bool empty(void)
• QJsonValue first(void)
• void insert(int i, QJsonValue value)
• bool isEmpty(void)
• QJsonValue last(void)
• void pop_back(void)
• void pop_front(void)
• void prepend(QJsonValue value)
• void push_back(QJsonValue value)
• void push_front(QJsonValue value)
• void removeAt(int i)
• void removeFirst(void)
• void removeLast(void)
• void replace(int i, QJsonValue value)
• int size(void)
• QJsonValue takeAt(int i)
• QVariantList toVariantList(void)
• QJsonArray fromStringList(QStringList list)
• QJsonArray fromVariantList(QVariantList list)
62.121 QJsonDocument Class
C++ Reference : http://doc.qt.io/qt-5/QJsonDocument.html
Parameters : void
• QJsonArray array(void)
• bool isArray(void)
• bool isEmpty(void)
• bool isNull(void)
• bool isObject(void)
62.120. QJsonArray Class 725
- 7. Ring Documentation, Release 1.2
• QJsonObject object(void)
• const char * rawData(int * size)
• void setArray(QJsonArray array)
• void setObject(QJsonObject object)
• QByteArray toBinaryData(void)
• QByteArray toJson(QJsonDocument::JsonFormat format)
• QVariant toVariant(void)
• QJsonDocument fromBinaryData( QByteArray data, QJsonDocument::DataValidation validation)
• QJsonDocument fromJson( QByteArray json, QJsonParseError * error)
• QJsonDocument fromRawData( char * data, int size, QJsonDocument::DataValidation validation)
• QJsonDocument fromVariant( QVariant variant)
62.122 QJsonObject Class
C++ Reference : http://doc.qt.io/qt-5/QJsonObject.html
Parameters : void
• bool contains(QString key)
• int count(void)
• bool empty(void)
• bool isEmpty(void)
• QStringList keys(void)
• int length(void)
• void remove(QString key)
• int size(void)
• QJsonValue take(QString key)
• QVariantMap toVariantMap(void)
• QJsonValue value(QString key)
• QJsonObject fromVariantMap(QVariantMap map)
62.123 QJsonParseError Class
C++ Reference : http://doc.qt.io/qt-5/QJsonParseError.html
Parameters : void
• QString errorString(void)
62.122. QJsonObject Class 726
- 8. Ring Documentation, Release 1.2
62.124 QJsonValue Class
C++ Reference : http://doc.qt.io/qt-5/QJsonValue.html
Parameters : void
• bool isArray(void)
• bool isBool(void)
• bool isDouble(void)
• bool isNull(void)
• bool isObject(void)
• bool isString(void)
• bool isUndefined(void)
• QJsonArray toArray(QJsonArray defaultValue)
• QJsonArray toArray_2(void)
• bool toBool(bool defaultValue )
• double toDouble(double defaultValue )
• int toInt(int defaultValue )
• QJsonObject toObject(QJsonObject defaultValue)
• QJsonObject toObject_2(void)
• QString toString(QString defaultValue )
• QVariant toVariant(void)
• QJsonValue::Type type(void)
• QJsonValue fromVariant(QVariant variant)
62.125 QPlainTextEdit Class
C++ Reference : http://doc.qt.io/qt-5/QPlainTextEdit.html
Parameters : QWidget *
Parent Class : QAbstractScrollArea
• QString anchorAt(QPoint pos)
• bool backgroundVisible(void)
• int blockCount(void)
• bool canPaste(void)
• bool centerOnScroll(void)
• QMenu * createStandardContextMenu(void)
• QTextCharFormat currentCharFormat(void)
• QTextCursor cursorForPosition(QPoint pos)
• QRect cursorRect(QTextCursor cursor)
62.124. QJsonValue Class 727
- 9. Ring Documentation, Release 1.2
• QRect cursorRect_2(void)
• int cursorWidth(void)
• QTextDocument * document(void)
• QString documentTitle(void)
• void ensureCursorVisible(void)
• QList<QTextEdit::ExtraSelection> extraSelections(void)
• bool find(QString exp, QTextDocument::FindFlags options)
• bool isReadOnly(void)
• bool isUndoRedoEnabled(void)
• QPlainTextEdit::LineWrapMode lineWrapMode(void)
• int maximumBlockCount(void)
• void mergeCurrentCharFormat(QTextCharFormat modifier)
• void moveCursor(QTextCursor::MoveOperation operation, QTextCursor::MoveMode mode)
• bool overwriteMode(void)
• void print(QPagedPaintDevice *printer)
• void setBackgroundVisible(bool visible)
• void setCenterOnScroll(bool enabled)
• void setCurrentCharFormat(QTextCharFormat format)
• void setCursorWidth(int width)
• void setDocument(QTextDocument *document)
• void setDocumentTitle(QString title)
• void setExtraSelections(QList<QTextEdit::ExtraSelection> selections)
• void setLineWrapMode(QPlainTextEdit::LineWrapMode mode)
• void setMaximumBlockCount(int maximum)
• void setOverwriteMode(bool overwrite)
• void setReadOnly(bool ro)
• void setTabChangesFocus(bool b)
• void setTabStopWidth(int width)
• void setTextCursor(QTextCursor cursor)
• void setTextInteractionFlags(Qt::TextInteractionFlags flags)
• void setUndoRedoEnabled(bool enable)
• void setWordWrapMode(QTextOption::WrapMode policy)
• bool tabChangesFocus(void)
• int tabStopWidth(void)
• QTextCursor textCursor(void)
• Qt::TextInteractionFlags textInteractionFlags(void)
62.125. QPlainTextEdit Class 728
- 10. Ring Documentation, Release 1.2
• QString toPlainText(void)
• QTextOption::WrapMode wordWrapMode(void)
• void appendHtml(QString html)
• void appendPlainText(QString text)
• void centerCursor(void)
• void clear(void)
• void copy(void)
• void cut(void)
• void insertPlainText(QString text)
• void paste(void)
• void redo(void)
• void selectAll(void)
• void setPlainText(QString text)
• void undo(void)
• void zoomIn(int range)
• void zoomOut(int range)
• void setblockCountChangedEvent(const char *cStr)
• void setcopyAvailableEvent(const char *cStr)
• void setcursorPositionChangedEvent(const char *cStr)
• void setmodificationChangedEvent(const char *cStr)
• void setredoAvailableEvent(const char *cStr)
• void setselectionChangedEvent(const char *cStr)
• void settextChangedEvent(const char *cStr)
• void setundoAvailableEvent(const char *cStr)
• void setupdateRequestEvent(const char *cStr)
• const char *getblockCountChangedEvent(void)
• const char *getcopyAvailableEvent(void)
• const char *getcursorPositionChangedEvent(void)
• const char *getmodificationChangedEvent(void)
• const char *getredoAvailableEvent(void)
• const char *getselectionChangedEvent(void)
• const char *gettextChangedEvent(void)
• const char *getundoAvailableEvent(void)
• const char *getupdateRequestEvent(void)
62.125. QPlainTextEdit Class 729