summaryrefslogtreecommitdiffstats
path: root/kaboodle/controls.h
diff options
context:
space:
mode:
Diffstat (limited to 'kaboodle/controls.h')
-rw-r--r--kaboodle/controls.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kaboodle/controls.h b/kaboodle/controls.h
index d288d1fc..a434489f 100644
--- a/kaboodle/controls.h
+++ b/kaboodle/controls.h
@@ -24,12 +24,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
#ifndef __CONTROLS_H
#define __CONTROLS_H
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
#include <kaction.h>
#include <ktoolbar.h>
-#include <qslider.h>
-#include <qstringlist.h>
+#include <tqslider.h>
+#include <tqstringlist.h>
class QComboBox;
class QLabel;
@@ -44,10 +44,10 @@ class L33tSlider : public QSlider
{
Q_OBJECT
public:
- L33tSlider(QWidget * parent, const char * name=0);
- L33tSlider(Orientation, QWidget * parent, const char * name=0);
+ L33tSlider(TQWidget * parent, const char * name=0);
+ L33tSlider(Orientation, TQWidget * parent, const char * name=0);
L33tSlider(int minValue, int maxValue, int pageStep, int value,
- Orientation, QWidget * parent, const char * name=0);
+ Orientation, TQWidget * parent, const char * name=0);
bool currentlyPressed() const;
signals:
@@ -59,9 +59,9 @@ signals:
public slots:
virtual void setValue(int);
protected:
- virtual void mousePressEvent(QMouseEvent*);
- virtual void mouseReleaseEvent(QMouseEvent*);
- virtual void wheelEvent(QWheelEvent *e);
+ virtual void mousePressEvent(TQMouseEvent*);
+ virtual void mouseReleaseEvent(TQMouseEvent*);
+ virtual void wheelEvent(TQWheelEvent *e);
private:
bool pressed;
@@ -74,11 +74,11 @@ class SliderAction : public KAction
{
Q_OBJECT
public:
- SliderAction(const QString& text, int accel, const QObject *receiver,
- const char *member, QObject* parent, const char* name );
- virtual int plug( QWidget *w, int index = -1 );
- virtual void unplug( QWidget *w );
- QSlider* slider() const { return m_slider; }
+ SliderAction(const TQString& text, int accel, const TQObject *receiver,
+ const char *member, TQObject* parent, const char* name );
+ virtual int plug( TQWidget *w, int index = -1 );
+ virtual void unplug( TQWidget *w );
+ TQSlider* slider() const { return m_slider; }
signals:
void plugged();
@@ -86,9 +86,9 @@ signals:
public slots:
void toolbarMoved(KToolBar::BarPosition pos);
private:
- QGuardedPtr<QSlider> m_slider;
- QStringList m_items;
- const QObject *m_receiver;
+ TQGuardedPtr<TQSlider> m_slider;
+ TQStringList m_items;
+ const TQObject *m_receiver;
const char *m_member;
};