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 /lib/interfaces/kdevcore.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 'lib/interfaces/kdevcore.cpp')
-rw-r--r-- | lib/interfaces/kdevcore.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/lib/interfaces/kdevcore.cpp b/lib/interfaces/kdevcore.cpp index 6a7e5c01..dda66cbf 100644 --- a/lib/interfaces/kdevcore.cpp +++ b/lib/interfaces/kdevcore.cpp @@ -50,8 +50,8 @@ bool Context::hasType( int aType ) const class EditorContext::Private { public: - Private( const KURL &url, int line, int col, const QString &linestr, - const QString &wordstr ) + Private( const KURL &url, int line, int col, const TQString &linestr, + const TQString &wordstr ) : m_url(url), m_line(line), m_col(col), m_linestr(linestr), m_wordstr(wordstr) { @@ -59,11 +59,11 @@ public: KURL m_url; int m_line, m_col; - QString m_linestr, m_wordstr; + TQString m_linestr, m_wordstr; }; EditorContext::EditorContext( const KURL &url, int line, int col, - const QString &linestr, const QString &wordstr ) + const TQString &linestr, const TQString &wordstr ) : Context(), d( new Private(url, line, col, linestr, wordstr) ) { } @@ -94,12 +94,12 @@ int EditorContext::col() const return d->m_col; } -QString EditorContext::currentLine() const +TQString EditorContext::currentLine() const { return d->m_linestr; } -QString EditorContext::currentWord() const +TQString EditorContext::currentWord() const { return d->m_wordstr; } @@ -124,7 +124,7 @@ public: m_isDirectory = URLUtil::isDirectory( m_urls[0] ); } } - Private( const QString &fileName, bool isDirectory ) + Private( const TQString &fileName, bool isDirectory ) : m_fileName(fileName), m_isDirectory(isDirectory) { } @@ -132,7 +132,7 @@ public: KURL::List m_urls; /// \FIXME the following data members should be removed, but first other // parts should be modified to comply with this change. - QString m_fileName; + TQString m_fileName; bool m_isDirectory; }; @@ -164,16 +164,16 @@ const KURL::List &FileContext::urls() const class DocumentationContext::Private { public: - Private( const QString &url, const QString &selection ) + Private( const TQString &url, const TQString &selection ) : m_url(url), m_selection(selection) { } - QString m_url; - QString m_selection; + TQString m_url; + TQString m_selection; }; -DocumentationContext::DocumentationContext( const QString &url, const QString &selection ) +DocumentationContext::DocumentationContext( const TQString &url, const TQString &selection ) : Context(), d( new Private(url, selection) ) { } @@ -204,12 +204,12 @@ int DocumentationContext::type() const return Context::DocumentationContext; } -QString DocumentationContext::url() const +TQString DocumentationContext::url() const { return d->m_url; } -QString DocumentationContext::selection() const +TQString DocumentationContext::selection() const { return d->m_selection; } @@ -285,8 +285,8 @@ const ProjectModelItem* ProjectModelItemContext::item() const // class KDevCore /////////////////////////////////////////////////////////////////////////////// -KDevCore::KDevCore( QObject *parent, const char *name ) - : QObject( parent, name ) +KDevCore::KDevCore( TQObject *parent, const char *name ) + : TQObject( parent, name ) { new KDevCoreIface(this); } |