summaryrefslogtreecommitdiffstats
path: root/lib/widgets/processwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/processwidget.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-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/widgets/processwidget.h')
-rw-r--r--lib/widgets/processwidget.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/widgets/processwidget.h b/lib/widgets/processwidget.h
index f1e28a57..ee1a6012 100644
--- a/lib/widgets/processwidget.h
+++ b/lib/widgets/processwidget.h
@@ -38,15 +38,15 @@ class ProcessListBoxItem : public QListBoxText
public:
enum Type { Diagnostic, Normal, Error };
- ProcessListBoxItem(const QString &s, Type type);
+ ProcessListBoxItem(const TQString &s, Type type);
virtual bool isCustomItem();
protected:
- QColor blend(const QColor &c1, const QColor &c2, double k = 0.25) const;
+ TQColor blend(const TQColor &c1, const TQColor &c2, double k = 0.25) const;
private:
- virtual void paint(QPainter *p);
+ virtual void paint(TQPainter *p);
Type t;
};
@@ -60,7 +60,7 @@ class ProcessWidget : public KListBox
Q_OBJECT
public:
- ProcessWidget(QWidget *parent, const char *name=0);
+ ProcessWidget(TQWidget *parent, const char *name=0);
~ProcessWidget();
/**
@@ -72,7 +72,7 @@ public slots:
/**
* Starts the child process.
*/
- void startJob(const QString &dir, const QString &command);
+ void startJob(const TQString &dir, const TQString &command);
/**
* Kills the child processss.
*/
@@ -82,17 +82,17 @@ public slots:
* be overridden by subclasses to implement
* syntax highlighting.
*/
- virtual void insertStdoutLine(const QCString &line);
+ virtual void insertStdoutLine(const TQCString &line);
/**
* Inserts one line from stderr into the listbox. This can
* be overridden by subclasses to implement
* syntax highlighting. By default, a ProcessListBoxItem
* is used.
*/
- virtual void insertStderrLine(const QCString &line);
+ virtual void insertStderrLine(const TQCString &line);
- virtual void addPartialStdoutLine(const QCString&);
- virtual void addPartialStderrLine(const QCString&);
+ virtual void addPartialStdoutLine(const TQCString&);
+ virtual void addPartialStderrLine(const TQCString&);
protected:
/**
@@ -108,7 +108,7 @@ signals:
void rowSelected(int row);
protected:
- virtual QSize minimumSizeHint() const;
+ virtual TQSize minimumSizeHint() const;
void maybeScrollToBottom();
protected slots:
@@ -117,8 +117,8 @@ protected slots:
private:
KProcess *childproc;
ProcessLineMaker* procLineMaker;
- QCString stderrbuf;
- QCString stdoutbuf;
+ TQCString stderrbuf;
+ TQCString stdoutbuf;
int lastRowStdout;
int lastRowStderr;
};