diff options
Diffstat (limited to 'parts/grepview/grepviewwidget.h')
-rw-r--r-- | parts/grepview/grepviewwidget.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/parts/grepview/grepviewwidget.h b/parts/grepview/grepviewwidget.h index bf3fca4b..04206973 100644 --- a/parts/grepview/grepviewwidget.h +++ b/parts/grepview/grepviewwidget.h @@ -13,8 +13,8 @@ #define _GREPVIEWWIDGET_H_ #include "processwidget.h" -#include <qwidget.h> -#include <qfile.h> +#include <tqwidget.h> +#include <tqfile.h> class GrepDialog; class GrepViewPart; @@ -26,7 +26,7 @@ class GrepViewProcessWidget : public ProcessWidget { Q_OBJECT public: - GrepViewProcessWidget(QWidget* parent) : ProcessWidget(parent) {}; + GrepViewProcessWidget(TQWidget* parent) : ProcessWidget(parent) {}; ~GrepViewProcessWidget(){}; void setMatchCount(int newCount) { @@ -38,22 +38,22 @@ public: m_matchCount += amount; } - void setLastFileName(const QString& lastFileName) + void setLastFileName(const TQString& lastFileName) { _lastfilename = lastFileName; } public slots: - virtual void insertStdoutLine(const QCString &line); - virtual void addPartialStdoutLine( const QCString &line ); + virtual void insertStdoutLine(const TQCString &line); + virtual void addPartialStdoutLine( const TQCString &line ); protected: virtual void childFinished(bool normal, int status); private: int m_matchCount; - QString _lastfilename; - QCString grepbuf; + TQString _lastfilename; + TQCString grepbuf; }; class GrepViewWidget : public QWidget @@ -70,7 +70,7 @@ public: public slots: void showDialog(); - void showDialogWithPattern(QString pattern); + void showDialogWithPattern(TQString pattern); private slots: void searchActivated(); @@ -78,8 +78,8 @@ private slots: * If item is a valid result of a search run, it opens the file at the position, where the stuff was found. * @param item item containing filename and linenumber of the file to open. */ - void slotExecuted(QListBoxItem *item); - void popupMenu(QListBoxItem*, const QPoint& p); + void slotExecuted(TQListBoxItem *item); + void popupMenu(TQListBoxItem*, const TQPoint& p); /** * Creates a new tab containing the current output in the main tab and clears the main tab. */ @@ -98,14 +98,14 @@ private slots: private: - QHBoxLayout* m_layout; + TQHBoxLayout* m_layout; KTabWidget* m_tabWidget; GrepViewProcessWidget* m_curOutput; GrepDialog *grepdlg; GrepViewPart *m_part; - QToolButton* m_closeButton; - QString m_lastPattern; - QFile m_tempFile; + TQToolButton* m_closeButton; + TQString m_lastPattern; + TQFile m_tempFile; }; #endif |