diff options
Diffstat (limited to 'quanta/messages/messageoutput.h')
-rw-r--r-- | quanta/messages/messageoutput.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/quanta/messages/messageoutput.h b/quanta/messages/messageoutput.h index 223470bd..125b85e2 100644 --- a/quanta/messages/messageoutput.h +++ b/quanta/messages/messageoutput.h @@ -18,7 +18,7 @@ #ifndef MESSAGEOUTPUT_H #define MESSAGEOUTPUT_H -#include <qlistbox.h> +#include <tqlistbox.h> class KProcess; class KPopupMenu; @@ -30,17 +30,17 @@ weblint output *@author Yacovlev Alexander & Dmitry Poplavski */ -class MessageOutput : public QListBox { +class MessageOutput : public TQListBox { Q_OBJECT public: - MessageOutput(QWidget *parent=0, const char *name=0); + MessageOutput(TQWidget *parent=0, const char *name=0); ~MessageOutput(); // Return whole content as a single string with EOLs - QString content(); + TQString content(); public slots: /** Inserts an item with the content s to the end of the list*/ - MessageItem *insertItem(const QString& s); + MessageItem *insertItem(const TQString& s); /** Insert message for each line of string (EOL-separated). @param line The line this message refers to. -1 if it's not specified (the first number is taken from the message string) @@ -49,19 +49,19 @@ public slots: @param message The message itself @param append Append the message to the previous one or start a new line. Default is false, start a new line. */ - void showMessage(int line, int column, const QString &fileName, const QString& message, bool append = false); + void showMessage(int line, int column, const TQString &fileName, const TQString& message, bool append = false); /** Insert message for each line of string (EOL-separated). @param message The message itself @param append Append the message to the previous one or start a new line. Default is false, start a new line. */ - void showMessage(const QString& message, bool append = false); + void showMessage(const TQString& message, bool append = false); /** Append message string to the last item @param line The line this message refers to. -1 if it's not specified (the first number is taken from the message string) @param column The column this message refers to. -1 if it's not specified (the second number is taken from the message string) @param fileName The URL of the file this message refers to. If empty, the string following the "File: " string in the message is used. @param message The message itself */ - void addToLastItem(const QString& message); + void addToLastItem(const TQString& message); // Copy message content to clipboard void copyContent(); // Save message content to clipboard @@ -75,12 +75,12 @@ public: void checkMaxItems(); signals: - void clicked(const QString& fname, int line, int col); + void clicked(const TQString& fname, int line, int col); protected slots: - void clickItem( QListBoxItem *); + void clickItem( TQListBoxItem *); // Show context menu - void showMenu(QListBoxItem*, const QPoint&); + void showMenu(TQListBoxItem*, const TQPoint&); private: uint m_maxItems; |