diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /kjsembed/tools/coverage | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/tools/coverage')
-rw-r--r-- | kjsembed/tools/coverage/README | 2 | ||||
-rw-r--r-- | kjsembed/tools/coverage/allqobjects.txt | 145 | ||||
-rw-r--r-- | kjsembed/tools/coverage/classes.js | 5 | ||||
-rw-r--r-- | kjsembed/tools/coverage/coverage.sh | 7 | ||||
-rw-r--r-- | kjsembed/tools/coverage/supported.txt | 71 | ||||
-rw-r--r-- | kjsembed/tools/coverage/unsupported.js | 11 | ||||
-rw-r--r-- | kjsembed/tools/coverage/unsupported.txt | 95 |
7 files changed, 336 insertions, 0 deletions
diff --git a/kjsembed/tools/coverage/README b/kjsembed/tools/coverage/README new file mode 100644 index 00000000..e6b57569 --- /dev/null +++ b/kjsembed/tools/coverage/README @@ -0,0 +1,2 @@ +A simplistic way to check which objects are supported by kjsembed and which +are missing. diff --git a/kjsembed/tools/coverage/allqobjects.txt b/kjsembed/tools/coverage/allqobjects.txt new file mode 100644 index 00000000..853e9e1d --- /dev/null +++ b/kjsembed/tools/coverage/allqobjects.txt @@ -0,0 +1,145 @@ +QAccel +QAccessibleObject +QAction +QActionGroup +QApplication +QAquaStyle +QAssistantClient +QAxObject +QAxWidget +QBoxLayout +QButton +QButtonGroup +QCDEStyle +QCanvas +QCanvasView +QCheckBox +QClipboard +QColorDialog +QColorDrag +QComboBox +QCommonStyle +QCopChannel +QDataBrowser +QDataPump +QDataTable +QDataView +QDateEdit +QDateTimeEdit +QDateTimeEditBase +QDesktopWidget +QDial +QDialog +QDns +QDockArea +QDockWindow +QDoubleValidator +QDragObject +QEditorFactory +QErrorMessage +QEventLoop +QFileDialog +QFileIconProvider +QFontDialog +QFrame +QFtp +QGLWidget +QGrid +QGridLayout +QGridView +QGroupBox +QHBox +QHBoxLayout +QHButtonGroup +QHGroupBox +QHeader +QHttp +QIconDrag +QIconView +QImageDrag +QInputDialog +QIntValidator +QLCDNumber +QLabel +QLayout +QLineEdit +QListBox +QListView +QLocalFs +QMacStyle +QMainWindow +QMenuBar +QMessageBox +QMotif +QMotifDialog +QMotifPlusStyle +QMotifStyle +QMotifWidget +QMultiLineEdit +QNPInstance +QNPWidget +QNetworkOperation +QNetworkProtocol +QObject +QObjectCleanupHandler +QPlatinumStyle +QPopupMenu +QProcess +QProgressBar +QProgressDialog +QPushButton +QRadioButton +QRegExpValidator +QSGIStyle +QScrollBar +QScrollView +QServerSocket +QSessionManager +QSignal +QSignalMapper +QSizeGrip +QSlider +QSocket +QSocketNotifier +QSound +QSpinBox +QSplashScreen +QSplitter +QSqlDatabase +QSqlDriver +QSqlEditorFactory +QSqlForm +QStatusBar +QStoredDrag +QStyle +QStyleSheet +QTabBar +QTabDialog +QTabWidget +QTable +QTextBrowser +QTextDrag +QTextEdit +QTextView +QTimeEdit +QTimer +QToolBar +QToolBox +QToolButton +QToolTipGroup +QTranslator +QUriDrag +QUrlOperator +QVBox +QVBoxLayout +QVButtonGroup +QVGroupBox +QValidator +QWSKeyboardHandler +QWidget +QWidgetStack +QWindowsStyle +QWindowsXPStyle +QWizard +QWorkspace +QXtWidget diff --git a/kjsembed/tools/coverage/classes.js b/kjsembed/tools/coverage/classes.js new file mode 100644 index 00000000..acd7206e --- /dev/null +++ b/kjsembed/tools/coverage/classes.js @@ -0,0 +1,5 @@ +var classes = Factory.constructors().sort(); + +// Print out the supported classes +for ( var i=0 ; i < classes.length ; i++ ) + print( classes[i]+'\n' ); diff --git a/kjsembed/tools/coverage/coverage.sh b/kjsembed/tools/coverage/coverage.sh new file mode 100644 index 00000000..3b181bb3 --- /dev/null +++ b/kjsembed/tools/coverage/coverage.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +KJSCMD='../../kjscmd' + +$KJSCMD classes.js > supported.txt +$KJSCMD unsupported.js < allqobjects.txt > unsupported.txt + diff --git a/kjsembed/tools/coverage/supported.txt b/kjsembed/tools/coverage/supported.txt new file mode 100644 index 00000000..dbf96951 --- /dev/null +++ b/kjsembed/tools/coverage/supported.txt @@ -0,0 +1,71 @@ +Config +Dcop +EvalError +Image +Line +Movie +NetAccess +Painter +Pen +Pixmap +PixmapLabel +QBoxLayout +QButtonGroup +QCanvasView +QCheckBox +QComboBox +QDataBrowser +QDataTable +QDataView +QDateEdit +QDateTimeEdit +QDial +QDialog +QFrame +QGrid +QGroupBox +QHBox +QHBoxLayout +QIconView +QLCDNumber +QLabel +QLayout +QLayoutWidget +QLineEdit +QListBox +QListView +QMainWindow +QMultiLineEdit +QObject +QPopupMenu +QProgressBar +QPushButton +QRadioButton +QScrollBar +QScrollView +QSlider +QSpinBox +QSplitter +QTabWidget +QTable +QTextBrowser +QTextEdit +QTextView +QTimeEdit +QTimer +QToolBox +QToolButton +QVBox +QVBoxLayout +QWidget +QWidgetStack +QWizard +RangeError +ReferenceError +SqlDatabase +SqlQuery +SyntaxError +TextLabel +TextStream +TypeError +URIError diff --git a/kjsembed/tools/coverage/unsupported.js b/kjsembed/tools/coverage/unsupported.js new file mode 100644 index 00000000..331849e2 --- /dev/null +++ b/kjsembed/tools/coverage/unsupported.js @@ -0,0 +1,11 @@ + +var line = readLine(); +while ( line != null ) { + line = line.replace( /^ */g, '' ); + line = line.replace( / *$/g, '' ); + + if ( !Factory.isSupported( line ) ) + print( line + ' MISSING\n' ); + + line = readLine(); +} diff --git a/kjsembed/tools/coverage/unsupported.txt b/kjsembed/tools/coverage/unsupported.txt new file mode 100644 index 00000000..1ea2eb7b --- /dev/null +++ b/kjsembed/tools/coverage/unsupported.txt @@ -0,0 +1,95 @@ +QAccel MISSING +QAccessibleObject MISSING +QAction MISSING +QActionGroup MISSING +QApplication MISSING +QAquaStyle MISSING +QAssistantClient MISSING +QAxObject MISSING +QAxWidget MISSING +QButton MISSING +QCDEStyle MISSING +QCanvas MISSING +QClipboard MISSING +QColorDialog MISSING +QColorDrag MISSING +QCommonStyle MISSING +QCopChannel MISSING +QDataPump MISSING +QDateTimeEditBase MISSING +QDesktopWidget MISSING +QDns MISSING +QDockArea MISSING +QDockWindow MISSING +QDoubleValidator MISSING +QDragObject MISSING +QEditorFactory MISSING +QErrorMessage MISSING +QEventLoop MISSING +QFileDialog MISSING +QFileIconProvider MISSING +QFontDialog MISSING +QFtp MISSING +QGLWidget MISSING +QGridLayout MISSING +QGridView MISSING +QHButtonGroup MISSING +QHGroupBox MISSING +QHeader MISSING +QHttp MISSING +QIconDrag MISSING +QImageDrag MISSING +QInputDialog MISSING +QIntValidator MISSING +QLocalFs MISSING +QMacStyle MISSING +QMenuBar MISSING +QMessageBox MISSING +QMotif MISSING +QMotifDialog MISSING +QMotifPlusStyle MISSING +QMotifStyle MISSING +QMotifWidget MISSING +QNPInstance MISSING +QNPWidget MISSING +QNetworkOperation MISSING +QNetworkProtocol MISSING +QObjectCleanupHandler MISSING +QPlatinumStyle MISSING +QProcess MISSING +QProgressDialog MISSING +QRegExpValidator MISSING +QSGIStyle MISSING +QServerSocket MISSING +QSessionManager MISSING +QSignal MISSING +QSignalMapper MISSING +QSizeGrip MISSING +QSocket MISSING +QSocketNotifier MISSING +QSound MISSING +QSplashScreen MISSING +QSqlDatabase MISSING +QSqlDriver MISSING +QSqlEditorFactory MISSING +QSqlForm MISSING +QStatusBar MISSING +QStoredDrag MISSING +QStyle MISSING +QStyleSheet MISSING +QTabBar MISSING +QTabDialog MISSING +QTextDrag MISSING +QToolBar MISSING +QToolTipGroup MISSING +QTranslator MISSING +QUriDrag MISSING +QUrlOperator MISSING +QVButtonGroup MISSING +QVGroupBox MISSING +QValidator MISSING +QWSKeyboardHandler MISSING +QWindowsStyle MISSING +QWindowsXPStyle MISSING +QWorkspace MISSING +QXtWidget MISSING |