File: kwindowtest.h

package info (click to toggle)
kf6-kxmlgui 6.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 26,692 kB
  • sloc: cpp: 16,698; xml: 45; python: 41; ansic: 22; sh: 18; makefile: 7
file content (67 lines) | stat: -rw-r--r-- 1,394 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#ifndef KWINDOWTEST_H
#define KWINDOWTEST_H

#include <QMenuBar>
#include <QProgressBar>
#include <QStatusBar>
#include <QTimer>
#include <ktoolbar.h>
#include <kxmlguiwindow.h>

class QTextEdit;
class QComboBox;
class QLineEdit;

class TestWindow : public KXmlGuiWindow
{
    Q_OBJECT

public:
    TestWindow(QWidget *parent = nullptr);
    ~TestWindow() override;

public Q_SLOTS:
    void beFixed();
    void beYFixed();

    void slotNew();
    void slotPrint();
    void slotReturn();
    void slotSave();
    void slotList(const QString &str);
    void slotOpen();
    void slotCompletion();
    void slotCompletionsMenu(QAction *action);
    void slotInsertClock();
    void slotLined();
    void slotImportant();
    void slotExit();
    void slotFrame();
    void slotListCompletion();
    void slotMessage(int, bool);
    void slotToggle(bool);
    void slotClearCombo();
    void slotGoGoGoo();
    void slotInsertListInCombo();
    void slotMakeItem3Current();
    void slotToggled(QAction *action);

protected:
    QMenu *itemsMenu;
    QMenu *completions;
    QStatusBar *statusBar;
    KToolBar *tb;
    KToolBar *tb1;
    class QLineEdit *testLineEdit;
    class QComboBox *testComboBox;
    QAction *fileNewAction;
    QAction *exitAction;
    bool lineL;
    bool exitB;
    bool greenF;
    bool ena;
    QTextEdit *widget;
    QTimer *timer;
    QProgressBar *pr;
};
#endif