diff options
Diffstat (limited to 'lib/interfaces/extensions')
-rw-r--r-- | lib/interfaces/extensions/codebrowserfrontend.h | 2 | ||||
-rw-r--r-- | lib/interfaces/extensions/dcop/KDevAppFrontendIface.cpp | 10 | ||||
-rw-r--r-- | lib/interfaces/extensions/dcop/KDevAppFrontendIface.h | 10 | ||||
-rw-r--r-- | lib/interfaces/extensions/dcop/KDevMakeFrontendIface.cpp | 2 | ||||
-rw-r--r-- | lib/interfaces/extensions/dcop/KDevMakeFrontendIface.h | 2 | ||||
-rw-r--r-- | lib/interfaces/extensions/kdevappfrontend.h | 14 | ||||
-rw-r--r-- | lib/interfaces/extensions/kdevcreatefile.h | 22 | ||||
-rw-r--r-- | lib/interfaces/extensions/kdevdifffrontend.cpp | 2 | ||||
-rw-r--r-- | lib/interfaces/extensions/kdevdifffrontend.h | 4 | ||||
-rw-r--r-- | lib/interfaces/extensions/kdevmakefrontend.h | 12 | ||||
-rw-r--r-- | lib/interfaces/extensions/kdevquickopen.h | 4 | ||||
-rw-r--r-- | lib/interfaces/extensions/kdevsourceformatter.h | 6 | ||||
-rw-r--r-- | lib/interfaces/extensions/kdevversioncontrol.h | 40 |
13 files changed, 65 insertions, 65 deletions
diff --git a/lib/interfaces/extensions/codebrowserfrontend.h b/lib/interfaces/extensions/codebrowserfrontend.h index 9a1d6e0d..52dd5a1e 100644 --- a/lib/interfaces/extensions/codebrowserfrontend.h +++ b/lib/interfaces/extensions/codebrowserfrontend.h @@ -29,7 +29,7 @@ class KDevCodeBrowserFrontend : public KDevPlugin { Q_OBJECT public: - KDevCodeBrowserFrontend(const KDevPluginInfo *info, QObject *parent=0, const char *name=0 ) + KDevCodeBrowserFrontend(const KDevPluginInfo *info, TQObject *parent=0, const char *name=0 ) :KDevPlugin(info, parent, name ? name : "CodeBrowserFrontend") {} ///Used by the quickopen-plugin to notify extensions that it jumped to a searched item diff --git a/lib/interfaces/extensions/dcop/KDevAppFrontendIface.cpp b/lib/interfaces/extensions/dcop/KDevAppFrontendIface.cpp index dd71b2d9..1eca4bfc 100644 --- a/lib/interfaces/extensions/dcop/KDevAppFrontendIface.cpp +++ b/lib/interfaces/extensions/dcop/KDevAppFrontendIface.cpp @@ -35,7 +35,7 @@ KDevAppFrontendIface::~KDevAppFrontendIface() {} -void KDevAppFrontendIface::startAppCommand(const QString &directory, const QString &command, bool inTerminal) +void KDevAppFrontendIface::startAppCommand(const TQString &directory, const TQString &command, bool inTerminal) { m_appFrontend->startAppCommand(directory, command, inTerminal); } @@ -55,22 +55,22 @@ void KDevAppFrontendIface::clearView( ) m_appFrontend->clearView(); } -void KDevAppFrontendIface::insertStderrLine( const QCString & line ) +void KDevAppFrontendIface::insertStderrLine( const TQCString & line ) { m_appFrontend->insertStderrLine(line); } -void KDevAppFrontendIface::insertStdoutLine( const QCString & line ) +void KDevAppFrontendIface::insertStdoutLine( const TQCString & line ) { m_appFrontend->insertStdoutLine(line); } -void KDevAppFrontendIface::addPartialStderrLine( const QCString& line ) +void KDevAppFrontendIface::addPartialStderrLine( const TQCString& line ) { m_appFrontend->addPartialStderrLine(line); } -void KDevAppFrontendIface::addPartialStdoutLine( const QCString& line ) +void KDevAppFrontendIface::addPartialStdoutLine( const TQCString& line ) { m_appFrontend->addPartialStdoutLine(line); } diff --git a/lib/interfaces/extensions/dcop/KDevAppFrontendIface.h b/lib/interfaces/extensions/dcop/KDevAppFrontendIface.h index 636fc140..3903e897 100644 --- a/lib/interfaces/extensions/dcop/KDevAppFrontendIface.h +++ b/lib/interfaces/extensions/dcop/KDevAppFrontendIface.h @@ -36,14 +36,14 @@ public: ~KDevAppFrontendIface(); k_dcop: - void startAppCommand(const QString &directory, const QString &command, bool inTerminal); + void startAppCommand(const TQString &directory, const TQString &command, bool inTerminal); void stopApplication(); bool isRunning(); void clearView(); - void insertStderrLine(const QCString &line); - void insertStdoutLine(const QCString &line); - void addPartialStderrLine(const QCString &line); - void addPartialStdoutLine(const QCString &line); + void insertStderrLine(const TQCString &line); + void insertStdoutLine(const TQCString &line); + void addPartialStderrLine(const TQCString &line); + void addPartialStdoutLine(const TQCString &line); private: KDevAppFrontend *m_appFrontend; diff --git a/lib/interfaces/extensions/dcop/KDevMakeFrontendIface.cpp b/lib/interfaces/extensions/dcop/KDevMakeFrontendIface.cpp index a0e0f32c..73305e4a 100644 --- a/lib/interfaces/extensions/dcop/KDevMakeFrontendIface.cpp +++ b/lib/interfaces/extensions/dcop/KDevMakeFrontendIface.cpp @@ -35,7 +35,7 @@ KDevMakeFrontendIface::~KDevMakeFrontendIface() {} -void KDevMakeFrontendIface::queueCommand(const QString &dir, const QString &command) +void KDevMakeFrontendIface::queueCommand(const TQString &dir, const TQString &command) { m_makeFrontend->queueCommand(dir, command); } diff --git a/lib/interfaces/extensions/dcop/KDevMakeFrontendIface.h b/lib/interfaces/extensions/dcop/KDevMakeFrontendIface.h index cde64454..53217359 100644 --- a/lib/interfaces/extensions/dcop/KDevMakeFrontendIface.h +++ b/lib/interfaces/extensions/dcop/KDevMakeFrontendIface.h @@ -35,7 +35,7 @@ public: ~KDevMakeFrontendIface(); k_dcop: - void queueCommand(const QString &dir, const QString &command); + void queueCommand(const TQString &dir, const TQString &command); bool isRunning(); private: diff --git a/lib/interfaces/extensions/kdevappfrontend.h b/lib/interfaces/extensions/kdevappfrontend.h index 2a762266..4f17154d 100644 --- a/lib/interfaces/extensions/kdevappfrontend.h +++ b/lib/interfaces/extensions/kdevappfrontend.h @@ -26,7 +26,7 @@ #ifndef KDEVAPPFRONTEND_H #define KDEVAPPFRONTEND_H -#include <qstringlist.h> +#include <tqstringlist.h> #include <kdevplugin.h> /** @@ -68,7 +68,7 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevAppFrontend(const KDevPluginInfo *info, QObject *parent=0, const char *name=0 ) + KDevAppFrontend(const KDevPluginInfo *info, TQObject *parent=0, const char *name=0 ) :KDevPlugin(info, parent, name ? name : "KDevAppFrontend") {} /**@return Whether the application is currently running.*/ @@ -83,7 +83,7 @@ public slots: * @param program A program to start. * @param inTerminal If true then the program is started in an external konsole. */ - virtual void startAppCommand(const QString &directory, const QString &program, bool inTerminal) = 0; + virtual void startAppCommand(const TQString &directory, const TQString &program, bool inTerminal) = 0; /** * Stops the currently running application. @@ -94,17 +94,17 @@ public slots: * Inserts a string into the application output view. * @param line A string to insert. */ - virtual void insertStdoutLine(const QCString &line) = 0; + virtual void insertStdoutLine(const TQCString &line) = 0; /** * Inserts a string into the application output view marked as stderr output * (usually colored). * @param line An error string to insert. */ - virtual void insertStderrLine(const QCString &line) = 0; + virtual void insertStderrLine(const TQCString &line) = 0; - virtual void addPartialStderrLine( const QCString& line ) = 0; - virtual void addPartialStdoutLine( const QCString& line ) = 0; + virtual void addPartialStderrLine( const TQCString& line ) = 0; + virtual void addPartialStdoutLine( const TQCString& line ) = 0; /** * Clears the output view. diff --git a/lib/interfaces/extensions/kdevcreatefile.h b/lib/interfaces/extensions/kdevcreatefile.h index 4a84410c..b3f5e080 100644 --- a/lib/interfaces/extensions/kdevcreatefile.h +++ b/lib/interfaces/extensions/kdevcreatefile.h @@ -20,7 +20,7 @@ #ifndef KDEVCREATEFILE_H #define KDEVCREATEFILE_H -#include <qstring.h> +#include <tqstring.h> #include <kdevplugin.h> @@ -95,15 +95,15 @@ public: // this should be private /**The directory.*/ - QString dir; + TQString dir; /**The name (without directory path).*/ - QString filename; + TQString filename; /**The extension of a file. Extension defines a "type" of the file template to use during file creation.*/ - QString ext; + TQString ext; /**The subtype of a file. "Subtype" defines a file template to use when there are several file templates for each extension.*/ - QString subtype; + TQString subtype; /**Current status.*/ Status status; /**true if the file should be added to a project.*/ @@ -122,11 +122,11 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevCreateFile(const KDevPluginInfo *info, QObject * parent = 0, const char * name = 0) + KDevCreateFile(const KDevPluginInfo *info, TQObject * parent = 0, const char * name = 0) :KDevPlugin(info, parent, name) {} /**Creates a new file, within or without the project. - Supply as much information as you know. Leave what you don't know as QString::null. + Supply as much information as you know. Leave what you don't know as TQString::null. The user will be prompted as necessary for the missing information, and the file created, and added to the project as necessary. @param ext File extension (type). @@ -135,10 +135,10 @@ public: @param subtype The subtype, pass this only if an extension is not enough to find the file template. @return @ref CreatedFile instance with information about file and file creation process.*/ - virtual CreatedFile createNewFile(QString ext = QString::null, - QString dir = QString::null, - QString name = QString::null, - QString subtype = QString::null) = 0; + virtual CreatedFile createNewFile(TQString ext = TQString::null, + TQString dir = TQString::null, + TQString name = TQString::null, + TQString subtype = TQString::null) = 0; }; diff --git a/lib/interfaces/extensions/kdevdifffrontend.cpp b/lib/interfaces/extensions/kdevdifffrontend.cpp index 148c8f8c..745703e4 100644 --- a/lib/interfaces/extensions/kdevdifffrontend.cpp +++ b/lib/interfaces/extensions/kdevdifffrontend.cpp @@ -21,7 +21,7 @@ #include "kdevdifffrontend.h" -KDevDiffFrontend::KDevDiffFrontend(const KDevPluginInfo *info, QObject *parent, const char *name) +KDevDiffFrontend::KDevDiffFrontend(const KDevPluginInfo *info, TQObject *parent, const char *name) : KDevPlugin(info, parent, name ? name : "KDevDiffFrontend") { } diff --git a/lib/interfaces/extensions/kdevdifffrontend.h b/lib/interfaces/extensions/kdevdifffrontend.h index 34dfd50e..ecf360ad 100644 --- a/lib/interfaces/extensions/kdevdifffrontend.h +++ b/lib/interfaces/extensions/kdevdifffrontend.h @@ -58,12 +58,12 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevDiffFrontend( const KDevPluginInfo *info, QObject *parent=0, const char *name=0 ) + KDevDiffFrontend( const KDevPluginInfo *info, TQObject *parent=0, const char *name=0 ) :KDevPlugin(info, parent, name ? name : "KDevDiffFrontend") {} /**Displays the patch. @param diff A string which contains a patch in unified format.*/ - virtual void showDiff( const QString& diff ) = 0; + virtual void showDiff( const TQString& diff ) = 0; /**Displays a patch file. @param url An url of the patch file.*/ diff --git a/lib/interfaces/extensions/kdevmakefrontend.h b/lib/interfaces/extensions/kdevmakefrontend.h index 3279cfc6..96749bd2 100644 --- a/lib/interfaces/extensions/kdevmakefrontend.h +++ b/lib/interfaces/extensions/kdevmakefrontend.h @@ -26,7 +26,7 @@ #ifndef KDEVMAKEFRONTEND_H #define KDEVMAKEFRONTEND_H -#include <qstringlist.h> +#include <tqstringlist.h> #include <kdevplugin.h> /** @@ -65,11 +65,11 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevMakeFrontend(const KDevPluginInfo *info, QObject *parent=0, const char *name=0 ) + KDevMakeFrontend(const KDevPluginInfo *info, TQObject *parent=0, const char *name=0 ) :KDevPlugin(info, parent, name ? name : "KDevMakeFrontend") {} /**@return The widget where the make output is shown.*/ - virtual QWidget* widget() { return 0L; } + virtual TQWidget* widget() { return 0L; } /**The component shall start to execute a make-like command. * Commands are always asynchronous. You can submit several jobs @@ -83,7 +83,7 @@ public: * messages. * @param command A shell command to execute. */ - virtual void queueCommand(const QString &dir, const QString &command) = 0; + virtual void queueCommand(const TQString &dir, const TQString &command) = 0; /**@return Whether the application is currently running.*/ virtual bool isRunning() = 0; @@ -95,12 +95,12 @@ signals: /** * Only emitted if the command was succesfully finished. */ - void commandFinished(const QString &command); + void commandFinished(const TQString &command); /** * Emitted if a command failed. */ - void commandFailed(const QString &command); + void commandFailed(const TQString &command); }; #endif diff --git a/lib/interfaces/extensions/kdevquickopen.h b/lib/interfaces/extensions/kdevquickopen.h index 63fdd34b..09c7bb1b 100644 --- a/lib/interfaces/extensions/kdevquickopen.h +++ b/lib/interfaces/extensions/kdevquickopen.h @@ -54,7 +54,7 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevQuickOpen(const KDevPluginInfo *info, QObject* parent, const char* name) + KDevQuickOpen(const KDevPluginInfo *info, TQObject* parent, const char* name) :KDevPlugin(info, parent, name) {} /**Shows the file selection dialog. @@ -119,7 +119,7 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevQuickOpen(const KDevPluginInfo *info, QObject* parent, const char* name) + KDevQuickOpen(const KDevPluginInfo *info, TQObject* parent, const char* name) :KDevPlugin(info, parent, name) {} /**Shows the file selection dialog. diff --git a/lib/interfaces/extensions/kdevsourceformatter.h b/lib/interfaces/extensions/kdevsourceformatter.h index d15dfbae..5ca33079 100644 --- a/lib/interfaces/extensions/kdevsourceformatter.h +++ b/lib/interfaces/extensions/kdevsourceformatter.h @@ -54,16 +54,16 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevSourceFormatter(const KDevPluginInfo *info, QObject* parent, const char* name) + KDevSourceFormatter(const KDevPluginInfo *info, TQObject* parent, const char* name) :KDevPlugin(info, parent, name) {} /**Formats the source. @param text A string with a code. @return The formatted string.*/ - virtual QString formatSource(const QString text) = 0; + virtual TQString formatSource(const TQString text) = 0; /**@return The indentation string. For example, tab or four spaces can be returned.*/ - virtual QString indentString() const = 0; + virtual TQString indentString() const = 0; }; #endif diff --git a/lib/interfaces/extensions/kdevversioncontrol.h b/lib/interfaces/extensions/kdevversioncontrol.h index 697b5167..9b0571b8 100644 --- a/lib/interfaces/extensions/kdevversioncontrol.h +++ b/lib/interfaces/extensions/kdevversioncontrol.h @@ -23,11 +23,11 @@ #ifndef KDEVVERSIONCONTROL_H #define KDEVVERSIONCONTROL_H -#include <qobject.h> -#include <qstring.h> -#include <qwidget.h> -#include <qmap.h> -#include <qvaluelist.h> +#include <tqobject.h> +#include <tqstring.h> +#include <tqwidget.h> +#include <tqmap.h> +#include <tqvaluelist.h> #include <kdevplugin.h> @@ -65,26 +65,26 @@ struct VCSFileInfo @param workRev The current working revision of a file. @param repoRev The last revision of a file in the repository. @param aState The state of a file.*/ - VCSFileInfo( QString fn, QString workRev, QString repoRev, FileState aState ) + VCSFileInfo( TQString fn, TQString workRev, TQString repoRev, FileState aState ) : fileName(fn), workRevision(workRev), repoRevision(repoRev), state(aState) {} /**The file name.*/ - QString fileName; // Yeah, _just_ the file name ;-) + TQString fileName; // Yeah, _just_ the file name ;-) /**The working revision number.*/ - QString workRevision; + TQString workRevision; /**The repository revision number.*/ - QString repoRevision; + TQString repoRevision; /**The state of a file.*/ FileState state; /**@return A descriptive string with all VCS related info about the file.*/ - QString toString() const + TQString toString() const { return "(" + fileName + ", " + workRevision + ", " + repoRevision + ", " + state2String( state ) + ")"; } /**@return A textual VCS state description.*/ - static QString state2String( FileState state ) + static TQString state2String( FileState state ) { switch (state) { @@ -108,9 +108,9 @@ struct VCSFileInfo /**@class FileDom Info for a bunch of files that got modified. -This is a type definition: @code QMap<QString,VCSFileInfo> VCSFileInfoMap; @endcode +This is a type definition: @code TQMap<TQString,VCSFileInfo> VCSFileInfoMap; @endcode */ -typedef QMap<QString,VCSFileInfo> VCSFileInfoMap; +typedef TQMap<TQString,VCSFileInfo> VCSFileInfoMap; class KDevVCSFileInfoProvider; @@ -146,14 +146,14 @@ public: @param parent The parent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevVersionControl(const KDevPluginInfo *info, QObject *parent, const char *name ) + KDevVersionControl(const KDevPluginInfo *info, TQObject *parent, const char *name ) :KDevPlugin(info, parent, name ) {} /**Creates a new project in the passed path @p dir. This should instantiate VCS infrastructure and import a project into the VCS in that directory. @param dir The absolute path to the directory where VCS infrastructure should be created.*/ - virtual void createNewProject(const QString& dir) = 0; + virtual void createNewProject(const TQString& dir) = 0; /**Fetches a module from remote repository, so it can be used for importing. @return true in case of success.*/ @@ -167,14 +167,14 @@ public: @param dirPath The absolute path of the directory. @return true if the directory is valid for this version control <b>warning</b>: this returns false by default.*/ - virtual bool isValidDirectory(const QString &dirPath) const = 0; + virtual bool isValidDirectory(const TQString &dirPath) const = 0; signals: /**Emitted when the Version Control has finished importing a module from remote repository @param destinationDir The directory where the module has been fetched.*/ - void finishedFetching(QString destinationDir); + void finishedFetching(TQString destinationDir); }; @@ -189,7 +189,7 @@ public: @param parent The parent VCS plugin. @param name The name of a provider object.*/ KDevVCSFileInfoProvider(KDevVersionControl *parent, const char *name) - : QObject( parent, name ), m_owner(parent) {} + : TQObject( parent, name ), m_owner(parent) {} /**Gets the status for local files in the specified directory: the info are collected locally so they are necessarily in sync with the repository @@ -197,7 +197,7 @@ public: This is a <b>synchronous operation</b> (blocking). @param dirPath The relative (to project dir) directory path to stat. @return Status for all <b>registered</b> files.*/ - virtual const VCSFileInfoMap *status(const QString &dirPath) = 0; + virtual const VCSFileInfoMap *status(const TQString &dirPath) = 0; /**Starts a request for directory status to the remote repository. Requests and answers are asynchronous. @@ -212,7 +212,7 @@ public: @param checkRepos If true, contact remote repository and augment repository's status. If false, retrieve only for local modification information. @return true if the request has been successfully started, false otherwise.*/ - virtual bool requestStatus( const QString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true ) = 0; + virtual bool requestStatus( const TQString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true ) = 0; signals: /**Emitted when the status request to remote repository has finished. |