summaryrefslogtreecommitdiffstats
path: root/lilo-config/kde-qt-common/EditWidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'lilo-config/kde-qt-common/EditWidget.h')
-rw-r--r--lilo-config/kde-qt-common/EditWidget.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/lilo-config/kde-qt-common/EditWidget.h b/lilo-config/kde-qt-common/EditWidget.h
index 515c65e..0a64750 100644
--- a/lilo-config/kde-qt-common/EditWidget.h
+++ b/lilo-config/kde-qt-common/EditWidget.h
@@ -28,32 +28,32 @@
*/
#ifndef _EDITWIDGET_H_
#define _EDITWIDGET_H_ 1
-#include <qhbox.h>
-#include <qlabel.h>
-#include <qlineedit.h>
-#include <qpushbutton.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
+#include <tqlineedit.h>
+#include <tqpushbutton.h>
class EditWidget:public QHBox
{
Q_OBJECT
public:
- EditWidget(QString const label="", QString const text="", bool isFile=false, QWidget *parent=0, const char *name=0, WFlags f=0, bool allowLines=true);
- void setLabel(QString const &label) { lbl->setText(label); };
- QString text() const { return line->text(); };
- QString displayText() const { return line->displayText(); };
+ EditWidget(TQString const label="", TQString const text="", bool isFile=false, TQWidget *parent=0, const char *name=0, WFlags f=0, bool allowLines=true);
+ void setLabel(TQString const &label) { lbl->setText(label); };
+ TQString text() const { return line->text(); };
+ TQString displayText() const { return line->displayText(); };
int maxLength() const { return line->maxLength(); };
virtual void setMaxLength(int l) { line->setMaxLength(l); };
virtual void setFrame(bool b) { line->setFrame(b); };
bool frame() const { return line->frame(); };
- virtual void setEchoMode(QLineEdit::EchoMode e) { line->setEchoMode(e); };
- QLineEdit::EchoMode echoMode() const { return line->echoMode(); };
+ virtual void setEchoMode(TQLineEdit::EchoMode e) { line->setEchoMode(e); };
+ TQLineEdit::EchoMode echoMode() const { return line->echoMode(); };
void setReadOnly(bool b) const { line->setReadOnly(b); };
bool isReadOnly() const { return line->isReadOnly(); };
- virtual void setValidator(const QValidator *v) { line->setValidator(v); };
- const QValidator *validator() const { return line->validator(); };
+ virtual void setValidator(const TQValidator *v) { line->setValidator(v); };
+ const TQValidator *validator() const { return line->validator(); };
virtual void setSelection(int s, int e) { line->setSelection(s, e); };
virtual void setCursorPosition(int p) { line->setCursorPosition(p); };
int cursorPosition() const { return line->cursorPosition(); };
- bool validateAndSet(const QString &s, int a, int b, int c) { return line->validateAndSet(s, a, b, c); };
+ bool validateAndSet(const TQString &s, int a, int b, int c) { return line->validateAndSet(s, a, b, c); };
void cut() { line->cut(); };
void copy() const { line->copy(); };
void paste() { line->paste(); };
@@ -70,19 +70,19 @@ public:
void setEdited(bool e) { line->setEdited(e); };
bool edited() const { return line->edited(); };
bool hasMarkedText() const { return line->hasMarkedText(); };
- QString markedText() const { return line->markedText(); };
- virtual QSize sizeHint() const;
- virtual QSize minimumSizeHint() const;
+ TQString markedText() const { return line->markedText(); };
+ virtual TQSize sizeHint() const;
+ virtual TQSize minimumSizeHint() const;
public slots:
- virtual void setText(const QString &text) { line->setText(text); };
+ virtual void setText(const TQString &text) { line->setText(text); };
void selectAll() { line->selectAll(); };
void deselect() { line->deselect(); };
void clearValidator() { line->clearValidator(); };
- void insert(const QString &s) { line->insert(s); };
+ void insert(const TQString &s) { line->insert(s); };
void clear() { line->clear(); };
void selectFileClicked();
signals:
- void textChanged(const QString &);
+ void textChanged(const TQString &);
void returnPressed();
private:
QLabel *lbl;