From 28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:20:30 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmouth/wordcompletion/klanguagebutton.h | 38 ++++++++++++++++----------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'kmouth/wordcompletion/klanguagebutton.h') diff --git a/kmouth/wordcompletion/klanguagebutton.h b/kmouth/wordcompletion/klanguagebutton.h index ee1d58f..0ebe5c7 100644 --- a/kmouth/wordcompletion/klanguagebutton.h +++ b/kmouth/wordcompletion/klanguagebutton.h @@ -30,9 +30,9 @@ #include "kpushbutton.h" /* - * Extended QPushButton that shows a menu with submenu for language selection. + * Extended TQPushButton that shows a menu with submenu for language selection. * Essentially just a combo box with a 2-D dataset, but using a real - * QComboBox will produce ugly results. + * TQComboBox will produce ugly results. * * Combined version of KTagCombo and KLanguageCombo but using a QPushButton * instead. @@ -42,39 +42,39 @@ class KLanguageButton : public QPushButton Q_OBJECT public: - KLanguageButton(QWidget *parent=0, const char *name=0); + KLanguageButton(TQWidget *parent=0, const char *name=0); ~KLanguageButton(); - void insertItem( const QIconSet& icon, const QString &text, - const QString &tag, const QString &submenu = QString::null, + void insertItem( const TQIconSet& icon, const TQString &text, + const TQString &tag, const TQString &submenu = TQString::null, int index = -1 ); - void insertItem( const QString &text, const QString &tag, - const QString &submenu = QString::null, int index = -1 ); - void insertSeparator( const QString &submenu = QString::null, + void insertItem( const TQString &text, const TQString &tag, + const TQString &submenu = TQString::null, int index = -1 ); + void insertSeparator( const TQString &submenu = TQString::null, int index = -1 ); - void insertSubmenu( const QString &text, const QString &tag, - const QString &submenu = QString::null, int index = -1); + void insertSubmenu( const TQString &text, const TQString &tag, + const TQString &submenu = TQString::null, int index = -1); int count() const; void clear(); - void insertLanguage( const QString& path, const QString& name, - const QString& sub = QString::null, - const QString &submenu = QString::null, int index = -1); + void insertLanguage( const TQString& path, const TQString& name, + const TQString& sub = TQString::null, + const TQString &submenu = TQString::null, int index = -1); /* * Tag of the selected item */ - QString currentTag() const; - QString tag( int i ) const; - bool containsTag( const QString &str ) const; + TQString currentTag() const; + TQString tag( int i ) const; + bool containsTag( const TQString &str ) const; /* * Set the current item */ int currentItem() const; void setCurrentItem( int i ); - void setCurrentItem( const QString &code ); + void setCurrentItem( const TQString &code ); signals: void activated( int index ); @@ -85,8 +85,8 @@ private slots: private: // work space for the new class - QStringList *m_tags; - QPopupMenu *m_popup, *m_oldPopup; + TQStringList *m_tags; + TQPopupMenu *m_popup, *m_oldPopup; int m_current; }; -- cgit v1.2.1