diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /editors/editor-chooser/editorchooser_widget.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'editors/editor-chooser/editorchooser_widget.cpp')
-rw-r--r-- | editors/editor-chooser/editorchooser_widget.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/editors/editor-chooser/editorchooser_widget.cpp b/editors/editor-chooser/editorchooser_widget.cpp index 6c9f7071..3a8a3584 100644 --- a/editors/editor-chooser/editorchooser_widget.cpp +++ b/editors/editor-chooser/editorchooser_widget.cpp @@ -1,6 +1,6 @@ -#include <qcombobox.h> -#include <qbuttongroup.h> -#include <qradiobutton.h> +#include <tqcombobox.h> +#include <tqbuttongroup.h> +#include <tqradiobutton.h> #include <kapplication.h> #include <kdeversion.h> @@ -12,7 +12,7 @@ #include "editorchooser_widget.h" -EditorChooserWidget::EditorChooserWidget(QWidget *parent, const char *name) +EditorChooserWidget::EditorChooserWidget(TQWidget *parent, const char *name) : EditChooser(parent, name) { // ask the trader which editors he has to offer @@ -32,7 +32,7 @@ EditorChooserWidget::EditorChooserWidget(QWidget *parent, const char *name) } load(); - slotEditPartChanged(QString()); + slotEditPartChanged(TQString()); } @@ -43,7 +43,7 @@ void EditorChooserWidget::load() // find the editor to use KConfig *config = kapp->config(); config->setGroup("Editor"); - QString editor = config->readPathEntry("EmbeddedKTextEditor"); + TQString editor = config->readPathEntry("EmbeddedKTextEditor"); // add the entries to the listview KTrader::OfferList::Iterator it; @@ -59,7 +59,7 @@ void EditorChooserWidget::load() if (index >=0) EditorPart->setCurrentItem(index); - QString dirtyAction = config->readEntry( "DirtyAction" ); + TQString dirtyAction = config->readEntry( "DirtyAction" ); if ( dirtyAction == "reload" ) { @@ -110,7 +110,7 @@ void EditorChooserWidget::accept() save(); } -void EditorChooserWidget::slotEditPartChanged( const QString & ) +void EditorChooserWidget::slotEditPartChanged( const TQString & ) { KTrader::OfferList::Iterator it; for (it = m_offers.begin(); it != m_offers.end(); ++it) |