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 /parts/outputviews/makewidget.h | |
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 'parts/outputviews/makewidget.h')
-rw-r--r-- | parts/outputviews/makewidget.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/parts/outputviews/makewidget.h b/parts/outputviews/makewidget.h index ff65eb5e..bdc7d451 100644 --- a/parts/outputviews/makewidget.h +++ b/parts/outputviews/makewidget.h @@ -12,11 +12,11 @@ #ifndef _MAKEWIDGET_H_ #define _MAKEWIDGET_H_ -#include <qptrstack.h> -#include <qregexp.h> -#include <qtextedit.h> -#include <qvaluevector.h> -#include <qintdict.h> +#include <tqptrstack.h> +#include <tqregexp.h> +#include <tqtextedit.h> +#include <tqvaluevector.h> +#include <tqintdict.h> #include "outputfilter.h" #include "directorystatusmessagefilter.h" @@ -42,10 +42,10 @@ public: MakeWidget(MakeViewPart *part); ~MakeWidget(); - void queueJob(const QString &dir, const QString &command); + void queueJob(const TQString &dir, const TQString &command); bool isRunning(); void updateSettingsFromConfig(); - void processLine( const QString& line ); + void processLine( const TQString& line ); public slots: void startNextJob(); @@ -55,14 +55,14 @@ public slots: void copy(); protected: - virtual QPopupMenu *createPopupMenu( const QPoint& pos ); - virtual void contentsMouseReleaseEvent( QMouseEvent* e ); + virtual TQPopupMenu *createPopupMenu( const TQPoint& pos ); + virtual void contentsMouseReleaseEvent( TQMouseEvent* e ); private slots: - void insertStdoutLine(const QCString& line); - void insertStderrLine(const QCString& line); - void storePartialStdoutLine(const QCString& line); - void storePartialStderrLine(const QCString& line); + void insertStdoutLine(const TQCString& line); + void insertStderrLine(const TQCString& line); + void storePartialStdoutLine(const TQCString& line); + void storePartialStderrLine(const TQCString& line); void slotProcessExited(KProcess *); void verticScrollingOn() { m_vertScrolling = true; } void verticScrollingOff() { m_vertScrolling = false; } @@ -78,11 +78,11 @@ private slots: void insertItem( MakeItem* ); private: - void specialCheck( const QString& file, QString& fName ) const; - virtual void keyPressEvent(QKeyEvent *e); + void specialCheck( const TQString& file, TQString& fName ) const; + virtual void keyPressEvent(TQKeyEvent *e); void searchItem(int parag); - QString guessFileName( const QString& fName, int parag ) const; - QString directory(int parag) const; + TQString guessFileName( const TQString& fName, int parag ) const; + TQString directory(int parag) const; bool brightBg(); void refill(); void createCursor(ErrorItem* e, KTextEditor::Document* doc); @@ -98,19 +98,19 @@ private: void setPendingItem(MakeItem* new_item); void displayPendingItem(); - bool appendToLastLine( const QString& text ); + bool appendToLastLine( const TQString& text ); void setCompilerOutputLevel(EOutputLevel level); - QStringList commandList; - QStringList dirList; - QString m_lastBuildDir; //stores directory of last build, for the case we don't have proper path information - QString currentCommand; + TQStringList commandList; + TQStringList dirList; + TQString m_lastBuildDir; //stores directory of last build, for the case we don't have proper path information + TQString currentCommand; KProcess *childproc; ProcessLineMaker* procLineMaker; - QPtrStack<QString> dirstack; + TQPtrStack<TQString> dirstack; MakeItem* m_pendingItem; - QValueVector<MakeItem*> m_items; - QIntDict<MakeItem> m_paragraphToItem; + TQValueVector<MakeItem*> m_items; + TQIntDict<MakeItem> m_paragraphToItem; long m_paragraphs; int m_lastErrorSelected; @@ -119,8 +119,8 @@ private: bool m_vertScrolling, m_horizScrolling; bool m_bCompiling; - QCString stderrbuf; - QCString stdoutbuf; + TQCString stderrbuf; + TQCString stdoutbuf; bool m_bLineWrapping; EOutputLevel m_compilerOutputLevel; |