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 | |
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')
-rw-r--r-- | editors/editor-chooser/editorchooser_part.cpp | 10 | ||||
-rw-r--r-- | editors/editor-chooser/editorchooser_part.h | 2 | ||||
-rw-r--r-- | editors/editor-chooser/editorchooser_widget.cpp | 16 | ||||
-rw-r--r-- | editors/editor-chooser/editorchooser_widget.h | 6 |
4 files changed, 17 insertions, 17 deletions
diff --git a/editors/editor-chooser/editorchooser_part.cpp b/editors/editor-chooser/editorchooser_part.cpp index f11a540b..4dffa96d 100644 --- a/editors/editor-chooser/editorchooser_part.cpp +++ b/editors/editor-chooser/editorchooser_part.cpp @@ -1,4 +1,4 @@ -#include <qvbox.h> +#include <tqvbox.h> #include <kiconloader.h> @@ -16,12 +16,12 @@ typedef KDevGenericFactory<EditorChooserPart> EditorChooserFactory; static const KDevPluginInfo data("kdeveditorchooser"); K_EXPORT_COMPONENT_FACTORY( libkdeveditorchooser, EditorChooserFactory( data ) ) -EditorChooserPart::EditorChooserPart(QObject *parent, const char *name, const QStringList &) +EditorChooserPart::EditorChooserPart(TQObject *parent, const char *name, const TQStringList &) : KDevPlugin(&data, parent, name ? name : "EditorChooserPart") { setInstance(EditorChooserFactory::instance()); - connect(core(), SIGNAL(configWidget(KDialogBase*)), this, SLOT(configWidget(KDialogBase*))); + connect(core(), TQT_SIGNAL(configWidget(KDialogBase*)), this, TQT_SLOT(configWidget(KDialogBase*))); } @@ -32,9 +32,9 @@ EditorChooserPart::~EditorChooserPart() void EditorChooserPart::configWidget(KDialogBase *dlg) { - QVBox *vbox = dlg->addVBoxPage(i18n("Editor"), i18n("Editor"), BarIcon("kate", KIcon::SizeMedium) ); + TQVBox *vbox = dlg->addVBoxPage(i18n("Editor"), i18n("Editor"), BarIcon("kate", KIcon::SizeMedium) ); EditorChooserWidget *w = new EditorChooserWidget(vbox); - connect(dlg, SIGNAL(okClicked()), w, SLOT(accept())); + connect(dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept())); } diff --git a/editors/editor-chooser/editorchooser_part.h b/editors/editor-chooser/editorchooser_part.h index 15cb2f97..810e1066 100644 --- a/editors/editor-chooser/editorchooser_part.h +++ b/editors/editor-chooser/editorchooser_part.h @@ -19,7 +19,7 @@ class EditorChooserPart : public KDevPlugin public: - EditorChooserPart(QObject *parent, const char *name, const QStringList &); + EditorChooserPart(TQObject *parent, const char *name, const TQStringList &); ~EditorChooserPart(); 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) diff --git a/editors/editor-chooser/editorchooser_widget.h b/editors/editor-chooser/editorchooser_widget.h index 1688b5c0..75880af7 100644 --- a/editors/editor-chooser/editorchooser_widget.h +++ b/editors/editor-chooser/editorchooser_widget.h @@ -2,7 +2,7 @@ #define __EDITORCHOOSER_WIDGET_H__ -#include <qwidget.h> +#include <tqwidget.h> #include <ktrader.h> #include "editchooser.h" @@ -14,10 +14,10 @@ class EditorChooserWidget : public EditChooser public: - EditorChooserWidget(QWidget *parent=0, const char *name=0); + EditorChooserWidget(TQWidget *parent=0, const char *name=0); public slots: - virtual void slotEditPartChanged(const QString &); + virtual void slotEditPartChanged(const TQString &); private slots: |