Skip to content
Snippets Groups Projects
Commit 36c97226 authored by esjeon's avatar esjeon
Browse files

distinguish `QByteArray` from string

there was a type safety issue during development.
parent b631f44a
No related branches found
No related tags found
No related merge requests found
......@@ -76,12 +76,12 @@ declare namespace KWin {
/* read-only */
readonly activities: string[]; /* Not exactly `Array` */
readonly dialog: boolean;
readonly resourceClass: string;
readonly resourceName: string;
readonly resourceClass: QByteArray;
readonly resourceName: QByteArray;
readonly screen: number;
readonly splash: boolean;
readonly utility: boolean;
readonly windowRole: string;
readonly windowRole: QByteArray;
readonly clientPos: QPoint;
readonly clientSize: QSize;
......
......@@ -18,6 +18,11 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
interface QByteArray {
/* keep it empty for now */
}
interface QRect extends IRect {
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment