summaryrefslogtreecommitdiffstats
path: root/kommander/editor/assoctexteditorimpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/editor/assoctexteditorimpl.h')
-rw-r--r--kommander/editor/assoctexteditorimpl.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/kommander/editor/assoctexteditorimpl.h b/kommander/editor/assoctexteditorimpl.h
index 65879cef..37c582ab 100644
--- a/kommander/editor/assoctexteditorimpl.h
+++ b/kommander/editor/assoctexteditorimpl.h
@@ -17,14 +17,14 @@
#ifndef _HAVE_ASSOCTEXTEDITORIMPL_H_
#define _HAVE_ASSOCTEXTEDITORIMPL_H_
-#include <qdict.h>
-#include <qstringlist.h>
-#include <qstring.h>
-#include <qwidget.h>
-#include <qobject.h>
-#include <qmap.h>
-#include <qptrvector.h>
-#include <qpixmap.h>
+#include <tqdict.h>
+#include <tqstringlist.h>
+#include <tqstring.h>
+#include <tqwidget.h>
+#include <tqobject.h>
+#include <tqmap.h>
+#include <tqptrvector.h>
+#include <tqpixmap.h>
#include "assoctexteditor.h"
@@ -50,16 +50,16 @@ class AssocTextEditor : public AssocTextEditorBase
{
Q_OBJECT
public:
- AssocTextEditor(QWidget*, FormWindow*, PropertyEditor*, KParts::PartManager *partManager, QWidget*, const char* = 0, bool = true);
+ AssocTextEditor(TQWidget*, FormWindow*, PropertyEditor*, KParts::PartManager *partManager, TQWidget*, const char* = 0, bool = true);
~AssocTextEditor();
// Set interface for given widget.
- void setWidget(QWidget *);
+ void setWidget(TQWidget *);
// Save changes for current widget
void save() const;
// Return population text for current widget
- QString populationText() const;
+ TQString populationText() const;
// Return associated text for current widget
- QStringList associatedText() const;
+ TQStringList associatedText() const;
public slots:
// Current script text has changed - save it in m_atdict
@@ -74,7 +74,7 @@ public slots:
// Functions for script editing:
// Insert given text at cursor position for current widget and state
- void insertAssociatedText(const QString&);
+ void insertAssociatedText(const TQString&);
// Select file and insert its content at cursor position
void insertFile();
// Open function browser and insert chosen function at cursor position
@@ -83,7 +83,7 @@ public slots:
void insertWidgetName(int);
protected:
- virtual void closeEvent(QCloseEvent * e);
+ virtual void closeEvent(TQCloseEvent * e);
protected slots:
@@ -93,33 +93,33 @@ private:
bool useInternalParser();
// Current widget
- QWidget *m_widget;
+ TQWidget *m_widget;
KommanderWidget* m_kommanderWidget;
//FIXME: could it be done more cleanly?
// Current form and property editor
FormWindow* m_formWindow;
PropertyEditor* m_propertyEditor;
// Current state
- QString m_currentState;
+ TQString m_currentState;
// List of states for current widget
- QStringList m_states;
+ TQStringList m_states;
// Current widget list
- QDict<QWidget> m_widgetList;
+ TQDict<TQWidget> m_widgetList;
// Dictionary for current widget; contains pairs (state, script associated with current state)
- QMap<QString, QString> m_atdict;
+ TQMap<TQString, TQString> m_atdict;
// Current population text
- QString m_populationText;
+ TQString m_populationText;
// Non-enmpty script pixmap
- QPixmap scriptPixmap;
+ TQPixmap scriptPixmap;
// Create list of all widgets on the same dialog as current widget
// Set store to true, to update m_widgetList;
- QStringList buildWidgetList();
+ TQStringList buildWidgetList();
// Convert widget to string displayed in combos
// If formatted, return formatted string, else just widget's name
- QString widgetToString(QWidget* widget, bool formatted = true);
+ TQString widgetToString(TQWidget* widget, bool formatted = true);
// Conver combo string to widget
- QWidget* widgetFromString(const QString& name);
+ TQWidget* widgetFromString(const TQString& name);
KTextEditor::EditInterface *associatedTextEdit;
KTextEditor::Document *doc;