From dc6b8e72fed2586239e3514819238c520636c9d9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:54:04 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/editor/assoctexteditorimpl.h | 48 +++++++++++++++++----------------- 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'kommander/editor/assoctexteditorimpl.h') 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 -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include #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 m_widgetList; + TQDict m_widgetList; // Dictionary for current widget; contains pairs (state, script associated with current state) - QMap m_atdict; + TQMap 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; -- cgit v1.2.3