diff options
Diffstat (limited to 'src/sidebar.h')
-rw-r--r-- | src/sidebar.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/sidebar.h b/src/sidebar.h index 250cd8c..b612544 100644 --- a/src/sidebar.h +++ b/src/sidebar.h @@ -20,50 +20,50 @@ #ifndef KBIBTEXSIDEBAR_H #define KBIBTEXSIDEBAR_H -#include <qwidget.h> -#include <qlistview.h> +#include <ntqwidget.h> +#include <ntqlistview.h> #include <entryfield.h> #include <file.h> -class QComboBox; -class QToolButton; +class TQComboBox; +class TQToolButton; class KListView; -class QListViewItem; +class TQListViewItem; class KPopupMenu; namespace KBibTeX { - class SideBar : public QWidget + class SideBar : public TQWidget { Q_OBJECT public: - SideBar( bool isReadOnly, QWidget *parent = 0, const char *name = 0 ); + SideBar( bool isReadOnly, TQWidget *parent = 0, const char *name = 0 ); ~SideBar(); void restoreState(); void setReadOnly( bool isReadOnly ); signals: - void selected( const QString& text, BibTeX::Element::FilterType, BibTeX::EntryField::FieldType fieldType ); + void selected( const TQString& text, BibTeX::Element::FilterType, BibTeX::EntryField::FieldType fieldType ); void valueRenamed(); public slots: void refreshLists( BibTeX::File *bibtexFile = NULL ); protected: - void resizeEvent( QResizeEvent *event ); + void resizeEvent( TQResizeEvent *event ); private: BibTeX::File *m_bibtexFile; - QToolButton *m_buttonToggleShowAll; - QToolButton *m_buttonToggleMultiSelect; - QComboBox *m_listTypeList; + TQToolButton *m_buttonToggleShowAll; + TQToolButton *m_buttonToggleMultiSelect; + TQComboBox *m_listTypeList; KListView *m_listAvailableItems; static const BibTeX::EntryField::FieldType importantFields[ 6 ]; bool m_isReadOnly; KPopupMenu *m_popupMenu; - QString m_oldText; + TQString m_oldText; void setupGUI(); @@ -71,17 +71,17 @@ namespace KBibTeX void prepareSearch(); void toggleShowAll( bool showAll ); void toggleMultiSelect( bool showAll ); - void showContextMenu( QListViewItem * item, const QPoint & pos ); + void showContextMenu( TQListViewItem * item, const TQPoint & pos ); void startRenaming(); - void endRenaming( QListViewItem * item, int col, const QString & text ); + void endRenaming( TQListViewItem * item, int col, const TQString & text ); }; - class SideBarListViewItem: QListViewItem + class SideBarListViewItem: TQListViewItem { public: - SideBarListViewItem( QListView *parent, QString label1, QString label2 ); + SideBarListViewItem( TQListView *parent, TQString label1, TQString label2 ); - int compare( QListViewItem* item, int column, bool ascending ) const; + int compare( TQListViewItem* item, int column, bool ascending ) const; }; } |