diff options
Diffstat (limited to 'ksquirrel/ksquirrelpart/sq_externaltool.h')
-rw-r--r-- | ksquirrel/ksquirrelpart/sq_externaltool.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/ksquirrel/ksquirrelpart/sq_externaltool.h b/ksquirrel/ksquirrelpart/sq_externaltool.h index 3b1bc0a..a2c0e8a 100644 --- a/ksquirrel/ksquirrelpart/sq_externaltool.h +++ b/ksquirrel/ksquirrelpart/sq_externaltool.h @@ -18,9 +18,9 @@ #ifndef SQ_EXTERNALTOOL_H #define SQ_EXTERNALTOOL_H -#include <qstring.h> -#include <qobject.h> -#include <qvaluevector.h> +#include <tqstring.h> +#include <tqobject.h> +#include <tqvaluevector.h> #include <kfileitem.h> @@ -29,10 +29,10 @@ class SQ_PopupMenu; struct Tool { Tool(); - Tool(const QString &, const QString &, const QString &); + Tool(const TQString &, const TQString &, const TQString &); - QString name, command; - QString icon; + TQString name, command; + TQString icon; }; /* @@ -40,20 +40,21 @@ struct Tool * in memory, and create popup menu where external tools been inserted. */ -class SQ_ExternalTool : public QObject, public QValueVector<Tool> +class SQ_ExternalTool : public TQObject, public TQValueVector<Tool> { Q_OBJECT + TQ_OBJECT public: - SQ_ExternalTool(QObject *parent = 0); + SQ_ExternalTool(TQObject *tqparent = 0); ~SQ_ExternalTool(); /* * Get pixmap, name or command of external tool. */ - QString toolPixmap(const int i); - QString toolName(const int i); - QString toolCommand(const int i); + TQString toolPixmap(const int i); + TQString toolName(const int i); + TQString toolCommand(const int i); void setItems(const KFileItemList &); @@ -68,7 +69,7 @@ class SQ_ExternalTool : public QObject, public QValueVector<Tool> SQ_PopupMenu* constPopupMenu() const; /* - * Write tools to config file as QStringLists + * Write tools to config file as TQStringLists */ void writeEntries(); |