Browse Source

Clean up unused parameter names

Neal Wilson 10 years ago
parent
commit
701be16fce
1 changed files with 8 additions and 6 deletions
  1. 8
    6
      src/typica.w

+ 8
- 6
src/typica.w View File

2085
 @ The constructor is trivial.
2085
 @ The constructor is trivial.
2086
 
2086
 
2087
 @<Functions for scripting@>=
2087
 @<Functions for scripting@>=
2088
-QScriptValue constructQProcess(QScriptContext *context, QScriptEngine *engine)
2088
+QScriptValue constructQProcess(QScriptContext *, QScriptEngine *engine)
2089
 {
2089
 {
2090
 	QScriptValue object = engine->newQObject(new QProcess);
2090
 	QScriptValue object = engine->newQObject(new QProcess);
2091
 	setQProcessProperties(object, engine);
2091
 	setQProcessProperties(object, engine);
2110
 arguments are specified.
2110
 arguments are specified.
2111
 
2111
 
2112
 @<Functions for scripting@>=
2112
 @<Functions for scripting@>=
2113
-QScriptValue QProcess_execute(QScriptContext *context, QScriptEngine *engine)
2113
+QScriptValue QProcess_execute(QScriptContext *context, QScriptEngine *)
2114
 {
2114
 {
2115
 	QProcess *self = getself<QProcess *>(context);
2115
 	QProcess *self = getself<QProcess *>(context);
2116
 	QString program = argument<QString>(0, context);
2116
 	QString program = argument<QString>(0, context);
2125
 @ Similarly |startDetached()| can be called in a few different ways.
2125
 @ Similarly |startDetached()| can be called in a few different ways.
2126
 
2126
 
2127
 @<Functions for scripting@>=
2127
 @<Functions for scripting@>=
2128
-QScriptValue QProcess_startDetached(QScriptContext *context, QScriptEngine *engine)
2128
+QScriptValue QProcess_startDetached(QScriptContext *context, QScriptEngine *)
2129
 {
2129
 {
2130
 	QProcess *self = getself<QProcess *>(context);
2130
 	QProcess *self = getself<QProcess *>(context);
2131
 	QString program = argument<QString>(0, context);
2131
 	QString program = argument<QString>(0, context);
2158
 @ Sometimes we care about the working directory for our program.
2158
 @ Sometimes we care about the working directory for our program.
2159
 
2159
 
2160
 @<Functions for scripting@>=
2160
 @<Functions for scripting@>=
2161
-QScriptValue QProcess_setWorkingDirectory(QScriptContext *context, QScriptEngine *engine)
2161
+QScriptValue QProcess_setWorkingDirectory(QScriptContext *context, QScriptEngine *)
2162
 {
2162
 {
2163
 	QProcess *self = getself<QProcess *>(context);
2163
 	QProcess *self = getself<QProcess *>(context);
2164
 	QString directory = argument<QString>(0, context);
2164
 	QString directory = argument<QString>(0, context);
2170
 access.
2170
 access.
2171
 
2171
 
2172
 @<Functions for scripting@>=
2172
 @<Functions for scripting@>=
2173
-QScriptValue QProcess_start(QScriptContext *context, QScriptEngine *engine)
2173
+QScriptValue QProcess_start(QScriptContext *context, QScriptEngine *)
2174
 {
2174
 {
2175
 	QProcess *self = getself<QProcess *>(context);
2175
 	QProcess *self = getself<QProcess *>(context);
2176
 	QString program = argument<QString>(0, context);
2176
 	QString program = argument<QString>(0, context);
3704
 the database out to the file system.
3704
 the database out to the file system.
3705
 
3705
 
3706
 @<Functions for scripting@>=
3706
 @<Functions for scripting@>=
3707
-QScriptValue saveFileFromDatabase(QScriptContext *context, QScriptEngine *engine)
3707
+QScriptValue saveFileFromDatabase(QScriptContext *context, QScriptEngine *)
3708
 {
3708
 {
3709
 	SqlQueryConnection h;
3709
 	SqlQueryConnection h;
3710
 	QSqlQuery *query = h.operator->();
3710
 	QSqlQuery *query = h.operator->();
4262
 
4262
 
4263
 @i helpmenu.w
4263
 @i helpmenu.w
4264
 
4264
 
4265
+@i feedback.w
4266
+
4265
 @ A layout can contain a number of different elements including a variety of
4267
 @ A layout can contain a number of different elements including a variety of
4266
 widget types and other layouts. This function is responsible for applying any
4268
 widget types and other layouts. This function is responsible for applying any
4267
 layout class to the widget currently being populated and processing children of
4269
 layout class to the widget currently being populated and processing children of

Loading…
Cancel
Save