diff options
author | Michele Calgaro <[email protected]> | 2021-12-06 00:02:47 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-12-08 19:24:33 +0900 |
commit | 7d1585c071206dd8460ed624eff764de5464dde7 (patch) | |
tree | 6e3a6fa7a9e1eb1d5dd510a6d4ae0e39bd915cb1 /examples/PkExample.h | |
parent | 26fc60d30352bb3bbf00f8a392bbc695ff8cf29f (diff) | |
download | polkit-tqt-7d1585c071206dd8460ed624eff764de5464dde7.tar.gz polkit-tqt-7d1585c071206dd8460ed624eff764de5464dde7.zip |
Converted first part of examples code.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/PkExample.h')
-rw-r--r-- | examples/PkExample.h | 54 |
1 files changed, 47 insertions, 7 deletions
diff --git a/examples/PkExample.h b/examples/PkExample.h index 30958821b..8621a3129 100644 --- a/examples/PkExample.h +++ b/examples/PkExample.h @@ -22,20 +22,60 @@ #ifndef PKEXAMPLE_H #define PKEXAMPLE_H -#include "ui_PkExample.h" +#include <tqvariant.h> +#include <tqmainwindow.h> -class PkExample : public TQMainWindow, Ui::PkExample +class TQVBoxLayout; +class TQGridLayout; +class TQSpacerItem; +class TQToolBar; +class TQPopupMenu; +class TQLabel; +class TQPushButton; +class TQComboBox; +class TQListView; + +class PkExample : public TQMainWindow { - Q_OBJECT + TQ_OBJECT public: - PkExample(TQMainWindow *parent = 0); - ~PkExample(); + PkExample(); + + TQLabel *kickL; + TQPushButton *kickPB; + TQLabel *cryL; + TQPushButton *cryPB; + TQLabel *bleedL; + TQPushButton *bleedPB; + TQLabel *playL; + TQPushButton *playPB; + TQLabel *listenL; + TQPushButton *listenPB; + TQLabel *deleteL; + TQPushButton *deletePB; + TQLabel *deleteL_2; + TQComboBox *setCB; + TQPushButton *setPB; + TQLabel *deleteL_3; + TQPushButton *shoutPB; + TQListView *actionList; + TQMenuBar *menubar; + TQPopupMenu *menuActions; + TQToolBar *toolBar; + + protected: + TQVBoxLayout *vLayout; + TQGridLayout *grid; + + protected slots: + virtual void languageChange(); -private Q_SLOTS: + private slots: void activateAction(); void actionActivated(); -}; +}; #endif + |