diff options
author | Timothy Pearson <[email protected]> | 2011-11-06 15:56:40 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-06 15:56:40 -0600 |
commit | e16866e072f94410321d70daedbcb855ea878cac (patch) | |
tree | ee3f52eabde7da1a0e6ca845fb9c2813cf1558cf /tdeui/tests/kdockwidgettest.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/kdockwidgettest.h')
-rw-r--r-- | tdeui/tests/kdockwidgettest.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/tdeui/tests/kdockwidgettest.h b/tdeui/tests/kdockwidgettest.h new file mode 100644 index 000000000..7ae2ab271 --- /dev/null +++ b/tdeui/tests/kdockwidgettest.h @@ -0,0 +1,72 @@ +/*************************************************************************** + copyright : (C) 1999 by Judin Max + email : [email protected] + ***************************************************************************/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ***************************************************************************/ + +#ifndef KDOCKWIDGETTEST_H +#define KDOCKWIDGETTEST_H + +#include <kdockwidget.h> +#include <kdockwidget_p.h> +#include <tqtabwidget.h> +#include <tqlabel.h> +class TQPushButton; + +class DockApplication : public KDockMainWindow +{Q_OBJECT +public: + DockApplication( const char* name ); + ~DockApplication(); + +public slots: + void rConfig(); + void wConfig(); + void cap(); + void greenMain(); + void blueMain(); + void nullMain(); + void gSetPix1(); + void gSetPix2(); + +protected: + void initMenuBar(); + void initToolBars(); + void initStatusBar(); + +private: + void updateButton(); + KDockWidget* dock; + KDockWidget* dock1; + KDockWidget* dock4; + KDockWidget* dock5; + KDockWidget* dock6; + + TQWidget* mainW; + TQWidget* l; + TQPushButton* m_bname; +}; + +class CTW:public TQTabWidget,public KDockContainer +{ + Q_OBJECT +public: + CTW(TQWidget *parent):TQTabWidget(parent,"MyDockContainer"),KDockContainer(){insertTab(new TQLabel("BLAH",this),"BLUP");} + virtual ~CTW(){;} + KDockWidget *parentDockWidget(){return ((KDockWidget*)parent());} + void insertWidget (KDockWidget *w, TQPixmap, const TQString &, int &){qDebug("widget inserted"); insertTab(w,"NO");} + void setToolTip (KDockWidget *, TQString &){qDebug("Tooltip set");} +}; + + +#endif + + |