summaryrefslogtreecommitdiffstats
path: root/src/valuewidget.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-06-29 12:56:53 +0200
committerSlávek Banko <[email protected]>2013-07-04 03:11:35 +0200
commit5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch)
treec8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/valuewidget.h
parent251c9a439759c830d34c70683d0fc9454d703010 (diff)
downloadkbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz
kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip
Initial TQt conversion
Diffstat (limited to 'src/valuewidget.h')
-rw-r--r--src/valuewidget.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/valuewidget.h b/src/valuewidget.h
index 094bf1a..5a31fc4 100644
--- a/src/valuewidget.h
+++ b/src/valuewidget.h
@@ -20,14 +20,14 @@
#ifndef KBIBTEXVALUEWIDGET_H
#define KBIBTEXVALUEWIDGET_H
-#include <qwidget.h>
-#include <qdialog.h>
+#include <ntqwidget.h>
+#include <ntqdialog.h>
#include <value.h>
#include <entryfield.h>
-class QListView;
-class QPushButton;
+class TQListView;
+class TQPushButton;
namespace KBibTeX
{
@@ -35,11 +35,11 @@ namespace KBibTeX
/**
@author Thomas Fischer <[email protected]>
*/
- class ValueWidget : public QWidget
+ class ValueWidget : public TQWidget
{
Q_OBJECT
public:
- static QDialog::DialogCode execute( const QString& title, BibTeX::EntryField::FieldType fieldType, BibTeX::Value *value, bool isReadOnly, QWidget *parent = 0, const char *name = 0 );
+ static TQDialog::DialogCode execute( const TQString& title, BibTeX::EntryField::FieldType fieldType, BibTeX::Value *value, bool isReadOnly, TQWidget *parent = 0, const char *name = 0 );
private slots:
void apply( );
@@ -55,21 +55,21 @@ namespace KBibTeX
private:
BibTeX::EntryField::FieldType m_fieldType;
BibTeX::Value *m_value;
- QListView *m_listViewValue;
- QPushButton *m_pushButtonAdd;
- QPushButton *m_pushButtonEdit;
- QPushButton *m_pushButtonToggle;
- QPushButton *m_pushButtonDelete;
- QPushButton *m_pushButtonUp;
- QPushButton *m_pushButtonDown;
+ TQListView *m_listViewValue;
+ TQPushButton *m_pushButtonAdd;
+ TQPushButton *m_pushButtonEdit;
+ TQPushButton *m_pushButtonToggle;
+ TQPushButton *m_pushButtonDelete;
+ TQPushButton *m_pushButtonUp;
+ TQPushButton *m_pushButtonDown;
int m_newValueCounter;
bool m_isReadOnly;
- ValueWidget( BibTeX::EntryField::FieldType fieldType, BibTeX::Value *value, bool isReadOnly, QWidget *parent = 0, const char *name = 0 );
+ ValueWidget( BibTeX::EntryField::FieldType fieldType, BibTeX::Value *value, bool isReadOnly, TQWidget *parent = 0, const char *name = 0 );
~ValueWidget();
void setupGUI();
- void applyList( QStringList& list );
+ void applyList( TQStringList& list );
};
}