Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
myclass.h
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3#include <QObject>
4#include <QDebug>
5//![0]
6class MyClass : public QObject
7{
9public slots:
10 void cppSlot(const QString &msg) {
11 qDebug() << "Called the C++ slot with message:" << msg;
12 }
13};
14//![0]
int main(int argc, char *argv[])
[2]
Definition buffer.cpp:77