diff options
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);  } | 
