summaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/editor-chooser/editorchooser_part.cpp10
-rw-r--r--editors/editor-chooser/editorchooser_part.h2
-rw-r--r--editors/editor-chooser/editorchooser_widget.cpp16
-rw-r--r--editors/editor-chooser/editorchooser_widget.h6
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: