-pedantic

svn path=/trunk/KDE/kdebase/workspace/; revision=1205832
This commit is contained in:
André Wöbbeking 2010-12-12 18:22:09 +00:00
parent 8940b37528
commit ea80dd8867
6 changed files with 10 additions and 10 deletions

View file

@ -98,7 +98,7 @@ enum Driver {
Driver_Swrast,
Driver_Softpipe,
Driver_Llvmpipe,
Driver_Unknown,
Driver_Unknown
};
enum ChipClass {

View file

@ -115,7 +115,7 @@ QScriptValue chelationRegex(QScriptContext*, QScriptEngine*);
QScriptValue lazyLogicGenerate(QScriptContext*, QScriptEngine*);
QScriptValue lazyLogic(QScriptContext*, QScriptEngine*);
};
};
}
}
#endif

View file

@ -36,8 +36,8 @@ namespace KWin
namespace Chelate
{
QScriptValue lazyLogicGenerate(QScriptContext*, QScriptEngine*);
};
};
}
}
Q_DECLARE_METATYPE(KClientRef)
Q_DECLARE_METATYPE(QPoint)
@ -187,4 +187,4 @@ T RefWrapping::extract(const QScriptValue& value)
*/
QScriptValue constructTimerClass(QScriptEngine *eng);
#endif
#endif

View file

@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "toplevel.h"
Q_DECLARE_METATYPE(SWrapper::Toplevel*);
Q_DECLARE_METATYPE(SWrapper::Toplevel*)
SWrapper::Toplevel::Toplevel(KWin::Toplevel* tlevel)
: QObject(tlevel)
@ -110,4 +110,4 @@ void SWrapper::Toplevel::tl_append(QScriptValue& value, QScriptEngine* eng)
value.setProperty("opacity", eng->newFunction(opacity, 0), QScriptValue::Undeletable);
value.setProperty("hasAlpha", eng->newFunction(hasAlpha, 0), QScriptValue::Undeletable);
value.setProperty("setOpacity", eng->newFunction(setOpacity, 1), QScriptValue::Undeletable);
}
}

View file

@ -92,6 +92,6 @@ class Workspace : public QObject
static QScriptValue clientGroups(QScriptContext*, QScriptEngine*);
};
};
}
#endif

View file

@ -80,6 +80,6 @@ class WorkspaceProxy : public QObject
void clientSetKeepAbove(KWin::Client*, bool);
};
};
}
#endif