summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmactions.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmactions.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmactions.h')
-rw-r--r--kpovmodeler/pmactions.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/kpovmodeler/pmactions.h b/kpovmodeler/pmactions.h
index f4f8e9e4..6575caa8 100644
--- a/kpovmodeler/pmactions.h
+++ b/kpovmodeler/pmactions.h
@@ -20,13 +20,13 @@
#ifndef PMACTIONS_H
#define PMACTIONS_H
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
#include <kaction.h>
-class QComboBox;
-class QSpinBox;
-class QLabel;
-class QToolButton;
+class TQComboBox;
+class TQSpinBox;
+class TQLabel;
+class TQToolButton;
/**
* Combobox action for the toolbar.
@@ -37,14 +37,14 @@ class PMComboAction : public KAction
{
Q_OBJECT
public:
- PMComboAction( const QString& text, int accel, const QObject* receiver, const char* member, QObject* parent, const char* name );
+ PMComboAction( const TQString& text, int accel, const TQObject* receiver, const char* member, TQObject* parent, const char* name );
~PMComboAction( );
- virtual int plug( QWidget* w, int index = -1 );
+ virtual int plug( TQWidget* w, int index = -1 );
- virtual void unplug( QWidget* w );
+ virtual void unplug( TQWidget* w );
- QGuardedPtr<QComboBox> combo( ) { return m_combo; }
+ TQGuardedPtr<TQComboBox> combo( ) { return m_combo; }
void setMaximumWidth( int w ) { m_maxWidth = w; }
void setMinimumWidth( int w ) { m_minWidth = w; }
@@ -53,8 +53,8 @@ signals:
void plugged( );
private:
- QGuardedPtr<QComboBox> m_combo;
- const QObject* m_receiver;
+ TQGuardedPtr<TQComboBox> m_combo;
+ const TQObject* m_receiver;
const char* m_member;
int m_minWidth, m_maxWidth;
};
@@ -68,14 +68,14 @@ class PMLabelAction : public KAction
{
Q_OBJECT
public:
- PMLabelAction( const QString &text, QObject *parent = 0, const char *name = 0 );
+ PMLabelAction( const TQString &text, TQObject *parent = 0, const char *name = 0 );
- virtual int plug( QWidget *widget, int index = -1 );
- virtual void unplug( QWidget *widget );
- QToolButton* button( ) { return m_button; }
+ virtual int plug( TQWidget *widget, int index = -1 );
+ virtual void unplug( TQWidget *widget );
+ TQToolButton* button( ) { return m_button; }
private:
- QToolButton* m_button;
+ TQToolButton* m_button;
};
/**
@@ -85,20 +85,20 @@ class PMSpinBoxAction : public KAction
{
Q_OBJECT
public:
- PMSpinBoxAction( const QString& text, int accel, const QObject* receiver, const char* member, QObject* parent, const char* name );
+ PMSpinBoxAction( const TQString& text, int accel, const TQObject* receiver, const char* member, TQObject* parent, const char* name );
~PMSpinBoxAction( );
- virtual int plug( QWidget* w, int index = -1 );
- virtual void unplug( QWidget* w );
+ virtual int plug( TQWidget* w, int index = -1 );
+ virtual void unplug( TQWidget* w );
- QGuardedPtr<QSpinBox> spinBox( ) { return m_spinBox; }
+ TQGuardedPtr<TQSpinBox> spinBox( ) { return m_spinBox; }
signals:
void plugged( );
private:
- QGuardedPtr<QSpinBox> m_spinBox;
- const QObject* m_receiver;
+ TQGuardedPtr<TQSpinBox> m_spinBox;
+ const TQObject* m_receiver;
const char* m_member;
};