diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 15:56:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-11-06 15:56:40 -0600 |
commit | e16866e072f94410321d70daedbcb855ea878cac (patch) | |
tree | ee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /tdeui/tests/ktabwidgettest.h | |
parent | a58c20c1a7593631a1b50213c805507ebc16adaf (diff) | |
download | tdelibs-e16866e072f94410321d70daedbcb855ea878cac.tar.gz tdelibs-e16866e072f94410321d70daedbcb855ea878cac.zip |
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'tdeui/tests/ktabwidgettest.h')
-rw-r--r-- | tdeui/tests/ktabwidgettest.h | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/tdeui/tests/ktabwidgettest.h b/tdeui/tests/ktabwidgettest.h new file mode 100644 index 000000000..7c178bd32 --- /dev/null +++ b/tdeui/tests/ktabwidgettest.h @@ -0,0 +1,69 @@ +#ifndef KTABWIDGETTEST_H +#define KTABWIDGETTEST_H + +#include <kiconloader.h> +#include <tqwidget.h> +#include <ktabwidget.h> +#include <tqlabel.h> +#include <tqpushbutton.h> +#include <tqpopupmenu.h> +#include <stdlib.h> +#include <tqvbox.h> +#include <time.h> +#include <tqcheckbox.h> +#include <tqtoolbutton.h> + +class Test : public TQVBox +{ + Q_OBJECT +public: + Test( TQWidget* parent=0, const char *name =0 ); + +private slots: + void addTab(); + void removeCurrentTab(); + void toggleLeftButton(bool); + void toggleRightButton(bool); + void toggleLeftPopup(bool); + void toggleRightPopup(bool); + void toggleTabPosition(bool); + void toggleTabShape(bool); + void toggleCloseButtons(bool); + void toggleLabels(bool); + + void currentChanged(TQWidget*); + void contextMenu(TQWidget*, const TQPoint&); + void tabbarContextMenu(const TQPoint&); + void testCanDecode(const TQDragMoveEvent *, bool & /* result */); + void receivedDropEvent( TQDropEvent* ); + void initiateDrag( TQWidget * ); + void receivedDropEvent( TQWidget *, TQDropEvent * ); + void mouseDoubleClick(TQWidget*); + void mouseMiddleClick(TQWidget*); + void movedTab( int, int ); + + void leftPopupActivated(int); + void rightPopupActivated(int); + void contextMenuActivated(int); + void tabbarContextMenuActivated(int); + +private: + KTabWidget* mWidget; + int mChange; + + TQCheckBox * mLeftButton; + TQCheckBox * mRightButton; + TQCheckBox * mTabsBottom; + + TQToolButton* mLeftWidget; + TQToolButton* mRightWidget; + + TQPopupMenu* mLeftPopup; + TQPopupMenu* mRightPopup; + TQPopupMenu* mTabbarContextPopup; + TQPopupMenu* mContextPopup; + TQWidget* mContextWidget; +}; + + +#endif |