diff options
Diffstat (limited to 'kommander/widgets/table.h')
-rw-r--r-- | kommander/widgets/table.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kommander/widgets/table.h b/kommander/widgets/table.h index 26ed3b36..c2ec755e 100644 --- a/kommander/widgets/table.h +++ b/kommander/widgets/table.h @@ -20,53 +20,53 @@ /* KDE INCLUDES */ /* QT INCLUDES */ -#include <qtable.h> -#include <qobject.h> +#include <tqtable.h> +#include <tqobject.h> /* OTHER INCLUDES */ #include <kommanderwidget.h> class QWidget; -class KOMMANDER_EXPORT Table : public QTable, public KommanderWidget +class KOMMANDER_EXPORT Table : public TQTable, 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_OVERRIDE(bool readOnly DESIGNABLE false) Q_PROPERTY(bool KommanderWidget READ isKommanderWidget) public: - Table(QWidget *a_parent, const char *a_name); + Table(TQWidget *a_parent, const char *a_name); ~Table(); virtual bool isKommanderWidget() const; - virtual void setAssociatedText(const QStringList&); - virtual QStringList associatedText() const; - virtual QString currentState() const; + virtual void setAssociatedText(const TQStringList&); + virtual TQStringList associatedText() const; + virtual TQString currentState() const; - virtual QString populationText() const; - virtual void setPopulationText(const QString&); + virtual TQString populationText() const; + virtual void setPopulationText(const TQString&); - virtual QString handleDCOP(int function, const QStringList& args); + virtual TQString handleDCOP(int function, const TQStringList& args); virtual bool isFunctionSupported(int function); virtual void clearCellWidget(int row, int col); virtual void columnClicked(int col); public slots: virtual void populate(); - virtual void setWidgetText(const QString &); + virtual void setWidgetText(const TQString &); //void adjustColumn(int col); signals: void contextMenuRequested(int xpos, int ypos); void columnHeaderClicked(int col); protected: - void contextMenuEvent( QContextMenuEvent * e ); + void contextMenuEvent( TQContextMenuEvent * e ); private: - QString selectedArea(); - QString cellWidget(int row, int col); - void setCellWidget(int row, int col, const QString &widgetName); - void setCellText(int row, int col, const QString &text); + TQString selectedArea(); + TQString cellWidget(int row, int col); + void setCellWidget(int row, int col, const TQString &widgetName); + void setCellText(int row, int col, const TQString &text); }; #endif |