summaryrefslogtreecommitdiffstats
path: root/src/entrywidgetauthor.cpp
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/entrywidgetauthor.cpp
parent251c9a439759c830d34c70683d0fc9454d703010 (diff)
downloadkbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz
kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip
Initial TQt conversion
Diffstat (limited to 'src/entrywidgetauthor.cpp')
-rw-r--r--src/entrywidgetauthor.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/entrywidgetauthor.cpp b/src/entrywidgetauthor.cpp
index 32e2e18..578a9d8 100644
--- a/src/entrywidgetauthor.cpp
+++ b/src/entrywidgetauthor.cpp
@@ -17,8 +17,8 @@
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
-#include <qlayout.h>
-#include <qlabel.h>
+#include <ntqlayout.h>
+#include <ntqlabel.h>
#include <kdialog.h>
#include <klocale.h>
@@ -30,7 +30,7 @@
namespace KBibTeX
{
- EntryWidgetAuthor::EntryWidgetAuthor( BibTeX::File *bibtexfile, bool isReadOnly, QWidget *parent, const char *name )
+ EntryWidgetAuthor::EntryWidgetAuthor( BibTeX::File *bibtexfile, bool isReadOnly, TQWidget *parent, const char *name )
: EntryWidgetTab( bibtexfile, isReadOnly, parent, name )
{
setupGUI();
@@ -75,7 +75,7 @@ namespace KBibTeX
m_fieldListViewEditor->setValue( field != NULL ? field->value() : NULL );
}
- void EntryWidgetAuthor::updateWarnings( BibTeX::Entry::EntryType entryType, QListView *listViewWarnings )
+ void EntryWidgetAuthor::updateWarnings( BibTeX::Entry::EntryType entryType, TQListView *listViewWarnings )
{
if ( entryType == BibTeX::Entry::etBook || entryType == BibTeX::Entry::etInBook )
{
@@ -92,17 +92,17 @@ namespace KBibTeX
void EntryWidgetAuthor::setupGUI()
{
- QGridLayout * gridLayout = new QGridLayout( this, 2, 3, KDialog::marginHint(), KDialog::spacingHint(), "gridLayout" );
+ TQGridLayout * gridLayout = new TQGridLayout( this, 2, 3, KDialog::marginHint(), KDialog::spacingHint(), "gridLayout" );
gridLayout->setColSpacing( 1, KDialog::spacingHint() * 4 );
- QLabel *label = new QLabel( QString( "%1:" ).arg( i18n( "Author" ) ), this );
+ TQLabel *label = new TQLabel( TQString( "%1:" ).arg( i18n( "Author" ) ), this );
gridLayout->addWidget( label, 0, 0 );
m_fieldListViewAuthor = new KBibTeX::FieldListView( i18n( "Author" ), i18n( "May only contain ASCII characters, in case of doubt keep English form", "NewAuthor" ), m_isReadOnly, this );
m_fieldListViewAuthor->setFieldType( BibTeX::EntryField::ftAuthor );
gridLayout->addWidget( m_fieldListViewAuthor, 1, 0 );
label->setBuddy( m_fieldListViewAuthor );
- label = new QLabel( QString( "%1:" ).arg( i18n( "Editor" ) ), this );
+ label = new TQLabel( TQString( "%1:" ).arg( i18n( "Editor" ) ), this );
gridLayout->addWidget( label, 0, 2 );
m_fieldListViewEditor = new KBibTeX::FieldListView( i18n( "Editor" ), i18n( "May only contain ASCII characters, in case of doubt keep English form", "NewEditor" ), m_isReadOnly, this );
m_fieldListViewEditor->setFieldType( BibTeX::EntryField::ftEditor );