summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/toolbox.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:54:04 +0000
commitdc6b8e72fed2586239e3514819238c520636c9d9 (patch)
tree88b200df0a0b7fab9d6f147596173556f1ed9a13 /kommander/widgets/toolbox.h
parent6927d4436e54551917f600b706a8d6109e49de1c (diff)
downloadtdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.tar.gz
tdewebdev-dc6b8e72fed2586239e3514819238c520636c9d9.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kommander/widgets/toolbox.h')
-rw-r--r--kommander/widgets/toolbox.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kommander/widgets/toolbox.h b/kommander/widgets/toolbox.h
index 9171aa32..12761df0 100644
--- a/kommander/widgets/toolbox.h
+++ b/kommander/widgets/toolbox.h
@@ -12,31 +12,31 @@
#ifndef TOOLBOX_H
#define TOOLBOX_H
-#include <qtoolbox.h>
+#include <tqtoolbox.h>
#include <kommanderwidget.h>
/**
@author Andras Mantia <amantia@kdewebdev.org>
*/
-class ToolBox : public QToolBox, public KommanderWidget
+class ToolBox : public TQToolBox, public KommanderWidget
{
Q_OBJECT
- Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
- Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
+ Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false)
+ Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false)
Q_PROPERTY(bool KommanderWidget READ isKommanderWidget)
public:
- ToolBox(QWidget *parent = 0, const char *name = 0);
+ ToolBox(TQWidget *parent = 0, const char *name = 0);
~ToolBox();
virtual bool isKommanderWidget() const;
- virtual QString currentState() const;
+ virtual TQString currentState() const;
virtual bool isFunctionSupported(int function);
- virtual QString handleDCOP(int function, const QStringList& args);
- virtual QStringList associatedText() const;
- virtual void setAssociatedText(const QStringList&);
- virtual QString populationText() const;
- virtual void setPopulationText(const QString&);
+ virtual TQString handleDCOP(int function, const TQStringList& args);
+ virtual TQStringList associatedText() const;
+ virtual void setAssociatedText(const TQStringList&);
+ virtual TQString populationText() const;
+ virtual void setPopulationText(const TQString&);
public slots:
virtual void populate();
@@ -45,9 +45,9 @@ signals:
void widgetOpened();
void contextMenuRequested(int xpos, int ypos);
protected:
- void showEvent(QShowEvent *e);
- void contextMenuEvent( QContextMenuEvent * e );
- QString addWidget(const QString& widgetName, const QString &label);
+ void showEvent(TQShowEvent *e);
+ void contextMenuEvent( TQContextMenuEvent * e );
+ TQString addWidget(const TQString& widgetName, const TQString &label);
};