summaryrefslogtreecommitdiffstats
path: root/src/settingsidsuggestions.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/settingsidsuggestions.h')
-rw-r--r--src/settingsidsuggestions.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/src/settingsidsuggestions.h b/src/settingsidsuggestions.h
index cbde362..4d364bc 100644
--- a/src/settingsidsuggestions.h
+++ b/src/settingsidsuggestions.h
@@ -20,14 +20,14 @@
#ifndef KBIBTEXSETTINGSIDSUGGESTIONS_H
#define KBIBTEXSETTINGSIDSUGGESTIONS_H
-#include <qwidget.h>
+#include <ntqwidget.h>
#include <klistview.h>
#include <entry.h>
-class QRegExpValidator;
-class QCheckBox;
+class TQRegExpValidator;
+class TQCheckBox;
class KPushButton;
class KLineEdit;
@@ -38,26 +38,26 @@ namespace KBibTeX
class IdSuggestionsListViewItem: public KListViewItem
{
public:
- IdSuggestionsListViewItem( KListView *, const QString&, BibTeX::Entry *example );
- IdSuggestionsListViewItem( KListView *, KListViewItem *, const QString&, BibTeX::Entry *example );
- void setText( int, const QString& );
- QString originalText() const;
- int width( const QFontMetrics &, const QListView *, int ) const;
+ IdSuggestionsListViewItem( KListView *, const TQString&, BibTeX::Entry *example );
+ IdSuggestionsListViewItem( KListView *, KListViewItem *, const TQString&, BibTeX::Entry *example );
+ void setText( int, const TQString& );
+ TQString originalText() const;
+ int width( const TQFontMetrics &, const TQListView *, int ) const;
private:
- QString m_original;
+ TQString m_original;
BibTeX::Entry *m_example;
- QString parse( const QString& );
+ TQString parse( const TQString& );
};
/**
@author Thomas Fischer <[email protected]>
*/
- class SettingsIdSuggestions : public QWidget
+ class SettingsIdSuggestions : public TQWidget
{
Q_OBJECT
public:
- SettingsIdSuggestions( QWidget *parent = 0, const char *name = 0 );
+ SettingsIdSuggestions( TQWidget *parent = 0, const char *name = 0 );
~SettingsIdSuggestions();
void applyData();
@@ -76,7 +76,7 @@ namespace KBibTeX
void slotMoveUpIdSuggestion();
void slotMoveDownIdSuggestion();
void slotToggleDefault();
- void slotEditSmallWordsChanged( const QString & );
+ void slotEditSmallWordsChanged( const TQString & );
void slotAddSmallWord();
void slotDeleteSmallWord();
void slotListSmallWordsChanged();
@@ -90,14 +90,14 @@ namespace KBibTeX
KPushButton *m_buttonMoveUpIdSuggestion;
KPushButton *m_buttonMoveDownIdSuggestion;
KPushButton *m_buttonToggleDefault;
- QCheckBox *m_checkBoxForceDefault;
+ TQCheckBox *m_checkBoxForceDefault;
KListView *m_listSmallWords;
KLineEdit *m_lineEditSmallWords;
KPushButton *m_buttonAddSmallWord;
KPushButton *m_buttonDeleteSmallWord;
- QRegExpValidator *m_validator;
- QListViewItem *m_defaultSuggestionItem;
- static QString exampleBibTeXEntry;
+ TQRegExpValidator *m_validator;
+ TQListViewItem *m_defaultSuggestionItem;
+ static TQString exampleBibTeXEntry;
BibTeX::Entry *m_example;
void setupGUI();