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
mainwindow.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
3
4#ifndef WINDOW_H
5#define WINDOW_H
6
7#include <QMainWindow>
8
9QT_BEGIN_NAMESPACE
10
11class QTextEdit;
12
13class MainWindow : public QMainWindow
14{
16
17public:
19
20public slots:
21 void insertCalendar();
22 void saveFile();
23
24private:
25 bool writeXml(const QString &fileName);
26
27 QTextEdit *editor;
28};
29
30QT_END_NAMESPACE
31
32#endif
void saveFile()
int main(int argc, char *argv[])
[ctor_close]