File indexing completed on 2022-11-23 10:29:25

0001 #ifndef test_kstatusbar_h
0002 #define test_kstatusbar_h
0003 
0004 #include <kmenubar.h>
0005 #include <kstatusbar.h>
0006 #include <kxmlguiwindow.h>
0007 
0008 class QTextEdit;
0009 
0010 class testWindow  : public KXmlGuiWindow
0011 {
0012     Q_OBJECT
0013 
0014 public:
0015     testWindow(QWidget *parent = nullptr);
0016     ~testWindow() override;
0017 
0018 public Q_SLOTS:
0019     void slotPress(int i);
0020     void slotClick(int i);
0021     void slotMenu(QAction *);
0022 
0023 protected:
0024     QMenu *fileMenu;
0025     QMenu *smenu;
0026     KMenuBar *menuBar;
0027     KStatusBar *statusbar;
0028     bool insert;
0029     QTextEdit *widget;
0030 };
0031 #endif