summaryrefslogtreecommitdiffstats
path: root/kate/interfaces
diff options
context:
space:
mode:
Diffstat (limited to 'kate/interfaces')
-rw-r--r--kate/interfaces/application.cpp2
-rw-r--r--kate/interfaces/application.h2
-rw-r--r--kate/interfaces/documentmanager.cpp4
-rw-r--r--kate/interfaces/documentmanager.h4
-rw-r--r--kate/interfaces/mainwindow.cpp4
-rw-r--r--kate/interfaces/mainwindow.h6
-rw-r--r--kate/interfaces/plugin.cpp4
-rw-r--r--kate/interfaces/plugin.h6
-rw-r--r--kate/interfaces/pluginconfiginterfaceextension.cpp2
-rw-r--r--kate/interfaces/pluginconfiginterfaceextension.h14
-rw-r--r--kate/interfaces/pluginmanager.cpp10
-rw-r--r--kate/interfaces/pluginmanager.h10
-rw-r--r--kate/interfaces/toolviewmanager.cpp10
-rw-r--r--kate/interfaces/toolviewmanager.h10
-rw-r--r--kate/interfaces/viewmanager.cpp4
-rw-r--r--kate/interfaces/viewmanager.h2
16 files changed, 47 insertions, 47 deletions
diff --git a/kate/interfaces/application.cpp b/kate/interfaces/application.cpp
index 160c460c8..5aded5505 100644
--- a/kate/interfaces/application.cpp
+++ b/kate/interfaces/application.cpp
@@ -46,7 +46,7 @@ class PrivateApplication
KateApp *app;
};
-Application::Application (void *application) : QObject ((KateApp *) application)
+Application::Application (void *application) : TQObject ((KateApp *) application)
{
d = new PrivateApplication;
d->app = (KateApp *) application;
diff --git a/kate/interfaces/application.h b/kate/interfaces/application.h
index 6f576a311..be9cd23c6 100644
--- a/kate/interfaces/application.h
+++ b/kate/interfaces/application.h
@@ -19,7 +19,7 @@
#ifndef _KATE_APPLICATION_INCLUDE_
#define _KATE_APPLICATION_INCLUDE_
-#include <qobject.h>
+#include <tqobject.h>
#include <kurl.h>
namespace Kate
diff --git a/kate/interfaces/documentmanager.cpp b/kate/interfaces/documentmanager.cpp
index 1b8292290..750839781 100644
--- a/kate/interfaces/documentmanager.cpp
+++ b/kate/interfaces/documentmanager.cpp
@@ -45,7 +45,7 @@ class PrivateDocumentManager
KateDocManager *docMan;
};
-DocumentManager::DocumentManager (void *documentManager) : QObject ((KateDocManager*) documentManager)
+DocumentManager::DocumentManager (void *documentManager) : TQObject ((KateDocManager*) documentManager)
{
d = new PrivateDocumentManager ();
d->docMan = (KateDocManager*) documentManager;
@@ -86,7 +86,7 @@ uint DocumentManager::documents ()
return d->docMan->documents ();
}
-Document *DocumentManager::openURL(const KURL&url,const QString &encoding,uint *id)
+Document *DocumentManager::openURL(const KURL&url,const TQString &encoding,uint *id)
{
return d->docMan->openURL (url, encoding, id);
}
diff --git a/kate/interfaces/documentmanager.h b/kate/interfaces/documentmanager.h
index 82a714aa6..a0c5e2387 100644
--- a/kate/interfaces/documentmanager.h
+++ b/kate/interfaces/documentmanager.h
@@ -19,7 +19,7 @@
#ifndef _KATE_DOCMANAGER_INCLUDE_
#define _KATE_DOCMANAGER_INCLUDE_
-#include <qobject.h>
+#include <tqobject.h>
#include <kurl.h>
namespace Kate
@@ -61,7 +61,7 @@ class KDE_EXPORT DocumentManager : public QObject
/** open a document and return a pointer to the document, if you specify a pointer != 0 to the id parameter
* you will get the document id returned too
*/
- class Document *openURL(const KURL&url,const QString &encoding=QString::null,uint *id =0);
+ class Document *openURL(const KURL&url,const TQString &encoding=TQString::null,uint *id =0);
/** close a document by pointer
*/
bool closeDocument(class Document *document);
diff --git a/kate/interfaces/mainwindow.cpp b/kate/interfaces/mainwindow.cpp
index ad563d6ab..4596cacb5 100644
--- a/kate/interfaces/mainwindow.cpp
+++ b/kate/interfaces/mainwindow.cpp
@@ -46,7 +46,7 @@ class PrivateMainWindow
KateMainWindow *win;
};
-MainWindow::MainWindow (void *mainWindow) : QObject ((KateMainWindow*) mainWindow)
+MainWindow::MainWindow (void *mainWindow) : TQObject ((KateMainWindow*) mainWindow)
{
d = new PrivateMainWindow;
d->win = (KateMainWindow*) mainWindow;
@@ -67,7 +67,7 @@ ViewManager *MainWindow::viewManager () const
return d->win->viewManager ()->viewManager ();
}
-class QWidget *MainWindow::centralWidget() const
+class TQWidget *MainWindow::centralWidget() const
{
return d->win->centralWidget();
}
diff --git a/kate/interfaces/mainwindow.h b/kate/interfaces/mainwindow.h
index 19d5170cb..5c8449b62 100644
--- a/kate/interfaces/mainwindow.h
+++ b/kate/interfaces/mainwindow.h
@@ -19,7 +19,7 @@
#ifndef _KATE_MAINWINDOW_INCLUDE_
#define _KATE_MAINWINDOW_INCLUDE_
-#include <qobject.h>
+#include <tqobject.h>
#include <kxmlguifactory.h>
#include <kurl.h>
@@ -48,10 +48,10 @@ class KDE_EXPORT MainWindow : public QObject
public :
/**
* Access the widget (in the middle of the 4 sidebars) in which the editor
- * component and the KateTabBar are embedded. This widget is a QVBox, so
+ * component and the KateTabBar are embedded. This widget is a TQVBox, so
* other child widgets can be embedded unter the editor widget.
*/
- class QWidget *centralWidget() const;
+ class TQWidget *centralWidget() const;
class ToolViewManager *toolViewManager() const;
private:
diff --git a/kate/interfaces/plugin.cpp b/kate/interfaces/plugin.cpp
index 3a540440f..849b12a1e 100644
--- a/kate/interfaces/plugin.cpp
+++ b/kate/interfaces/plugin.cpp
@@ -54,7 +54,7 @@ namespace Kate
unsigned int Plugin::globalPluginNumber = 0;
unsigned int PluginViewInterface::globalPluginViewInterfaceNumber = 0;
-Plugin::Plugin( Application *application, const char *name ) : QObject (application, name )
+Plugin::Plugin( Application *application, const char *name ) : TQObject (application, name )
{
globalPluginNumber++;
myPluginNumber = globalPluginNumber;
@@ -89,7 +89,7 @@ unsigned int PluginViewInterface::pluginViewInterfaceNumber () const
return myPluginViewInterfaceNumber;
}
-Plugin *createPlugin ( const char* libname, Application *application, const char *name, const QStringList &args )
+Plugin *createPlugin ( const char* libname, Application *application, const char *name, const TQStringList &args )
{
return KParts::ComponentFactory::createInstanceFromLibrary<Plugin>( libname, application, name, args);
}
diff --git a/kate/interfaces/plugin.h b/kate/interfaces/plugin.h
index 57bddae71..53ee16bd6 100644
--- a/kate/interfaces/plugin.h
+++ b/kate/interfaces/plugin.h
@@ -20,8 +20,8 @@
#ifndef _KATE_PLUGIN_INCLUDE_
#define _KATE_PLUGIN_INCLUDE_
-#include <qwidget.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
#include <kicontheme.h>
#include <kurl.h>
@@ -52,7 +52,7 @@ class KDE_EXPORT Plugin : public QObject
unsigned int myPluginNumber;
};
-KDE_EXPORT Plugin *createPlugin ( const char* libname, Application *application = 0, const char *name = 0,const QStringList &args = QStringList() );
+KDE_EXPORT Plugin *createPlugin ( const char* libname, Application *application = 0, const char *name = 0,const TQStringList &args = TQStringList() );
/*
* view plugin class
diff --git a/kate/interfaces/pluginconfiginterfaceextension.cpp b/kate/interfaces/pluginconfiginterfaceextension.cpp
index 99cb824bd..53c22122b 100644
--- a/kate/interfaces/pluginconfiginterfaceextension.cpp
+++ b/kate/interfaces/pluginconfiginterfaceextension.cpp
@@ -35,7 +35,7 @@ class PrivatePluginConfigInterfaceExtension
using namespace Kate;
-PluginConfigPage::PluginConfigPage ( QWidget *parent, const char *name ) : QWidget (parent, name) { }
+PluginConfigPage::PluginConfigPage ( TQWidget *parent, const char *name ) : TQWidget (parent, name) { }
PluginConfigPage::~PluginConfigPage () { }
diff --git a/kate/interfaces/pluginconfiginterfaceextension.h b/kate/interfaces/pluginconfiginterfaceextension.h
index 4c4169179..17a74ce7d 100644
--- a/kate/interfaces/pluginconfiginterfaceextension.h
+++ b/kate/interfaces/pluginconfiginterfaceextension.h
@@ -19,8 +19,8 @@
#ifndef __kate_pluginconfiginterfaceextension_h__
#define __kate_pluginconfiginterfaceextension_h__
-#include <qwidget.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
#include <kicontheme.h>
namespace Kate
@@ -31,7 +31,7 @@ class KDE_EXPORT PluginConfigPage : public QWidget
Q_OBJECT
public:
- PluginConfigPage ( QWidget *parent=0, const char *name=0 );
+ PluginConfigPage ( TQWidget *parent=0, const char *name=0 );
virtual ~PluginConfigPage ();
//
@@ -84,11 +84,11 @@ class KDE_EXPORT PluginConfigInterfaceExtension
config pages from 0 to configPages()-1 are available
if configPages() > 0
*/
- virtual PluginConfigPage *configPage (uint number = 0, QWidget *parent = 0, const char *name=0 ) = 0;
+ virtual PluginConfigPage *configPage (uint number = 0, TQWidget *parent = 0, const char *name=0 ) = 0;
- virtual QString configPageName (uint number = 0) const = 0;
- virtual QString configPageFullName (uint number = 0) const = 0;
- virtual QPixmap configPagePixmap (uint number = 0, int size = KIcon::SizeSmall) const = 0;
+ virtual TQString configPageName (uint number = 0) const = 0;
+ virtual TQString configPageFullName (uint number = 0) const = 0;
+ virtual TQPixmap configPagePixmap (uint number = 0, int size = KIcon::SizeSmall) const = 0;
private:
class PrivatePluginConfigInterfaceExtension *d;
diff --git a/kate/interfaces/pluginmanager.cpp b/kate/interfaces/pluginmanager.cpp
index 2ea7c54b5..8d4f13f7c 100644
--- a/kate/interfaces/pluginmanager.cpp
+++ b/kate/interfaces/pluginmanager.cpp
@@ -43,7 +43,7 @@ class PrivatePluginManager
KatePluginManager *pluginMan;
};
-PluginManager::PluginManager (void *pluginManager) : QObject ((KatePluginManager*) pluginManager)
+PluginManager::PluginManager (void *pluginManager) : TQObject ((KatePluginManager*) pluginManager)
{
d = new PrivatePluginManager ();
d->pluginMan = (KatePluginManager*) pluginManager;
@@ -54,22 +54,22 @@ PluginManager::~PluginManager ()
delete d;
}
-Plugin *PluginManager::plugin(const QString &name)
+Plugin *PluginManager::plugin(const TQString &name)
{
return d->pluginMan->plugin(name);
}
-bool PluginManager::pluginAvailable(const QString &name)
+bool PluginManager::pluginAvailable(const TQString &name)
{
return d->pluginMan->pluginAvailable (name);
}
-Plugin *PluginManager::loadPlugin(const QString &name,bool permanent)
+Plugin *PluginManager::loadPlugin(const TQString &name,bool permanent)
{
return d->pluginMan->loadPlugin (name, permanent);
}
-void PluginManager::unloadPlugin(const QString &name,bool permanent)
+void PluginManager::unloadPlugin(const TQString &name,bool permanent)
{
d->pluginMan->unloadPlugin (name, permanent);
}
diff --git a/kate/interfaces/pluginmanager.h b/kate/interfaces/pluginmanager.h
index 53279fd94..d9473e584 100644
--- a/kate/interfaces/pluginmanager.h
+++ b/kate/interfaces/pluginmanager.h
@@ -20,7 +20,7 @@
#ifndef _KATE_PLUGINMANAGER_INCLUDE_
#define _KATE_PLUGINMANAGER_INCLUDE_
-#include <qobject.h>
+#include <tqobject.h>
#include <kurl.h>
namespace Kate
@@ -39,27 +39,27 @@ class KDE_EXPORT PluginManager : public QObject
public:
/** if the plugin with the library name "name" is loaded, a pointer to that plugin is returned */
- class Plugin *plugin(const QString &name);
+ class Plugin *plugin(const TQString &name);
/** return true, if plugin is known to kate (either loaded or not loaded)
*
* This method is not used yet
*/
- bool pluginAvailable(const QString &name);
+ bool pluginAvailable(const TQString &name);
/** tries loading the specified plugin and returns a pointer to the new plugin or 0
* if permanent is true (default value) the plugin will be loaded at the next kate startup
*
* This method is not used yet
*/
- class Plugin *loadPlugin(const QString &name,bool permanent=true);
+ class Plugin *loadPlugin(const TQString &name,bool permanent=true);
/** unload the specified plugin. If the value permanent is true (default value), the plugin will not be
* loaded on kate's next startup. Even if it had been loaded with permanent=true.
*
* This method is not used yet
*/
- void unloadPlugin(const QString &name,bool permanent=true);
+ void unloadPlugin(const TQString &name,bool permanent=true);
private:
class PrivatePluginManager *d;
diff --git a/kate/interfaces/toolviewmanager.cpp b/kate/interfaces/toolviewmanager.cpp
index 9f96a476d..848ec5fa2 100644
--- a/kate/interfaces/toolviewmanager.cpp
+++ b/kate/interfaces/toolviewmanager.cpp
@@ -42,7 +42,7 @@ class PrivateToolViewManager
KateMainWindow *toolViewMan;
};
-ToolViewManager::ToolViewManager (void *toolViewManager) : QObject ((KateMainWindow*) toolViewManager)
+ToolViewManager::ToolViewManager (void *toolViewManager) : TQObject ((KateMainWindow*) toolViewManager)
{
d = new PrivateToolViewManager ();
d->toolViewMan = (KateMainWindow*) toolViewManager;
@@ -53,12 +53,12 @@ ToolViewManager::~ToolViewManager ()
delete d;
}
-QWidget *ToolViewManager::createToolView (const QString &identifier, ToolViewManager::Position pos, const QPixmap &icon, const QString &text)
+TQWidget *ToolViewManager::createToolView (const TQString &identifier, ToolViewManager::Position pos, const TQPixmap &icon, const TQString &text)
{
return d->toolViewMan->createToolView (identifier, (KMultiTabBar::KMultiTabBarPosition)pos, icon, text);
}
-bool ToolViewManager::moveToolView (QWidget *widget, ToolViewManager::Position pos)
+bool ToolViewManager::moveToolView (TQWidget *widget, ToolViewManager::Position pos)
{
if (!widget || !widget->qt_cast("KateMDI::ToolView"))
return false;
@@ -66,7 +66,7 @@ bool ToolViewManager::moveToolView (QWidget *widget, ToolViewManager::Position
return d->toolViewMan->moveToolView (static_cast<KateMDI::ToolView*>(widget), (KMultiTabBar::KMultiTabBarPosition)pos);
}
-bool ToolViewManager::showToolView(QWidget *widget)
+bool ToolViewManager::showToolView(TQWidget *widget)
{
if (!widget || !widget->qt_cast("KateMDI::ToolView"))
return false;
@@ -74,7 +74,7 @@ bool ToolViewManager::showToolView(QWidget *widget)
return d->toolViewMan->showToolView (static_cast<KateMDI::ToolView*>(widget));
}
-bool ToolViewManager::hideToolView(QWidget *widget)
+bool ToolViewManager::hideToolView(TQWidget *widget)
{
if (!widget || !widget->qt_cast("KateMDI::ToolView"))
return false;
diff --git a/kate/interfaces/toolviewmanager.h b/kate/interfaces/toolviewmanager.h
index 0a1011181..2e9242f3a 100644
--- a/kate/interfaces/toolviewmanager.h
+++ b/kate/interfaces/toolviewmanager.h
@@ -20,7 +20,7 @@
#ifndef _KATE_TOOLVIEWMANAGER_INCLUDE_
#define _KATE_TOOLVIEWMANAGER_INCLUDE_
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kurl.h>
namespace Kate
@@ -60,7 +60,7 @@ class KDE_EXPORT ToolViewManager : public QObject
* @param text text to use in addition to icon
* @return created toolview on success or 0
*/
- QWidget *createToolView (const QString &identifier, ToolViewManager::Position pos, const QPixmap &icon, const QString &text);
+ TQWidget *createToolView (const TQString &identifier, ToolViewManager::Position pos, const TQPixmap &icon, const TQString &text);
/**
* Move the toolview
@@ -68,21 +68,21 @@ class KDE_EXPORT ToolViewManager : public QObject
* @param pos position to move widget to
* @return bool success
*/
- bool moveToolView (QWidget *widget, ToolViewManager::Position pos);
+ bool moveToolView (TQWidget *widget, ToolViewManager::Position pos);
/**
* Show the toolview
* @param widget to show, widget given must be widget constructed by createToolView
* @return bool success
*/
- bool showToolView (QWidget *widget);
+ bool showToolView (TQWidget *widget);
/**
* Hide the toolview
* @param widget to hide, widget given must be widget constructed by createToolView
* @return bool success
*/
- bool hideToolView (QWidget *widget);
+ bool hideToolView (TQWidget *widget);
private:
/**
diff --git a/kate/interfaces/viewmanager.cpp b/kate/interfaces/viewmanager.cpp
index e2dbd34de..d365f514e 100644
--- a/kate/interfaces/viewmanager.cpp
+++ b/kate/interfaces/viewmanager.cpp
@@ -43,7 +43,7 @@ class PrivateViewManager
KateViewManager *viewMan;
};
-ViewManager::ViewManager (void *viewManager) : QObject ((KateViewManager*) viewManager)
+ViewManager::ViewManager (void *viewManager) : TQObject ((KateViewManager*) viewManager)
{
d = new PrivateViewManager ();
d->viewMan = (KateViewManager*) viewManager;
@@ -66,7 +66,7 @@ void ViewManager::activateView ( uint documentNumber )
void ViewManager::openURL (const KURL &url)
{
- d->viewMan->openURL (url, QString::null, true);
+ d->viewMan->openURL (url, TQString::null, true);
}
}
diff --git a/kate/interfaces/viewmanager.h b/kate/interfaces/viewmanager.h
index ab7a74ce8..9bdc938d7 100644
--- a/kate/interfaces/viewmanager.h
+++ b/kate/interfaces/viewmanager.h
@@ -19,7 +19,7 @@
#ifndef _KATE_VIEWMANAGER_INCLUDE_
#define _KATE_VIEWMANAGER_INCLUDE_
-#include <qobject.h>
+#include <tqobject.h>
#include <kurl.h>
namespace Kate