summaryrefslogtreecommitdiffstats
path: root/lib/widgets/processwidget.h
diff options
context:
space:
mode:
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;
};