2015-07-11 18:20:46 +03:00
|
|
|
#ifndef TEST_KSTATUSBAR_H
|
|
|
|
#define TEST_KSTATUSBAR_H
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
#include <kstatusbar.h>
|
|
|
|
#include <kxmlguiwindow.h>
|
2016-03-26 05:13:47 +00:00
|
|
|
#include <QMenuBar>
|
2014-11-13 01:04:59 +02:00
|
|
|
|
|
|
|
class QTextEdit;
|
|
|
|
|
|
|
|
class testWindow : public KXmlGuiWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
testWindow (QWidget *parent=0);
|
|
|
|
~testWindow ();
|
|
|
|
|
|
|
|
public Q_SLOTS:
|
|
|
|
void slotPress(int i);
|
|
|
|
void slotClick(int i);
|
|
|
|
void slotMenu(QAction*);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
QMenu *fileMenu;
|
|
|
|
QMenu *smenu;
|
2016-03-26 05:13:47 +00:00
|
|
|
QMenuBar *menuBar;
|
2014-11-13 01:04:59 +02:00
|
|
|
KStatusBar *statusbar;
|
|
|
|
bool insert;
|
|
|
|
QTextEdit *widget;
|
|
|
|
};
|
|
|
|
#endif
|