summaryrefslogtreecommitdiffstats
path: root/src/fieldlineedit.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-06-29 12:56:53 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-07-04 03:11:35 +0200
commit5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch)
treec8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/fieldlineedit.h
parent251c9a439759c830d34c70683d0fc9454d703010 (diff)
downloadkbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz
kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip
Initial TQt conversion
Diffstat (limited to 'src/fieldlineedit.h')
-rw-r--r--src/fieldlineedit.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/fieldlineedit.h b/src/fieldlineedit.h
index e17dde1..ebff73f 100644
--- a/src/fieldlineedit.h
+++ b/src/fieldlineedit.h
@@ -20,26 +20,26 @@
#ifndef KBIBTEXFIELDLINEEDIT_H
#define KBIBTEXFIELDLINEEDIT_H
-#include <qwidget.h>
+#include <ntqwidget.h>
#include <entryfield.h>
#include <value.h>
class KLineEdit;
-class QTextEdit;
-class QPushButton;
+class TQTextEdit;
+class TQPushButton;
class KCompletion;
namespace KBibTeX
{
- class FieldLineEdit : public QWidget
+ class FieldLineEdit : public TQWidget
{
Q_OBJECT
public:
enum InputType {itSingleLine, itMultiLine};
enum ErrorType {etNoError, etInvalidStringKey};
- FieldLineEdit( const QString& caption, InputType inputType = itSingleLine, bool readOnly = FALSE, QWidget *parent = 0, const char *name = 0 );
+ FieldLineEdit( const TQString& caption, InputType inputType = itSingleLine, bool readOnly = FALSE, TQWidget *parent = 0, const char *name = 0 );
~FieldLineEdit();
/**
@@ -64,7 +64,7 @@ namespace KBibTeX
void setFieldType( BibTeX::EntryField::FieldType fieldType );
- QString caption();
+ TQString caption();
bool isEmpty();
@@ -85,11 +85,11 @@ namespace KBibTeX
private:
BibTeX::Value *m_value;
- QString m_caption;
+ TQString m_caption;
KLineEdit *m_lineEdit;
- QTextEdit *m_textEdit;
- QPushButton *m_pushButtonString;
- QPushButton *m_pushButtonComplex;
+ TQTextEdit *m_textEdit;
+ TQPushButton *m_pushButtonString;
+ TQPushButton *m_pushButtonComplex;
bool m_isReadOnly;
bool m_enabled;
InputType m_inputType;