summaryrefslogtreecommitdiffstats
path: root/src/entrywidgetsource.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/entrywidgetsource.h
parent251c9a439759c830d34c70683d0fc9454d703010 (diff)
downloadkbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz
kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip
Initial TQt conversion
Diffstat (limited to 'src/entrywidgetsource.h')
-rw-r--r--src/entrywidgetsource.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/entrywidgetsource.h b/src/entrywidgetsource.h
index 77b98e2..48a35bb 100644
--- a/src/entrywidgetsource.h
+++ b/src/entrywidgetsource.h
@@ -22,7 +22,7 @@
#include <entrywidgettab.h>
-class QTextEdit;
+class TQTextEdit;
namespace KBibTeX
{
@@ -34,23 +34,23 @@ namespace KBibTeX
{
Q_OBJECT
public:
- EntryWidgetSource( BibTeX::File *bibtexfile, bool isReadOnly, QWidget *parent = 0, const char *name = 0 );
+ EntryWidgetSource( BibTeX::File *bibtexfile, bool isReadOnly, TQWidget *parent = 0, const char *name = 0 );
~EntryWidgetSource();
bool isModified();
bool containsValidText();
- QString text();
- void setText( const QString& text );
+ TQString text();
+ void setText( const TQString& text );
public slots:
void updateGUI( BibTeX::Entry::EntryType entryType, bool enableAll );
void apply( BibTeX::Entry *entry );
void reset( BibTeX::Entry *entry );
void restore();
- void updateWarnings( BibTeX::Entry::EntryType entryType, QListView *listViewWarnings );
+ void updateWarnings( BibTeX::Entry::EntryType entryType, TQListView *listViewWarnings );
private:
- QTextEdit *m_textEditSource;
+ TQTextEdit *m_textEditSource;
BibTeX::Entry *m_entry;
void setupGUI();