summaryrefslogtreecommitdiffstats
path: root/kmouth/wordcompletion/klanguagebutton.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:20:30 +0000
commit28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c (patch)
treea2f011f22aa31d0839c6e2118501b7a6d2f2ae96 /kmouth/wordcompletion/klanguagebutton.h
parent0285229d858c8f03cde7354c679a752598cf4515 (diff)
downloadtdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.tar.gz
tdeaccessibility-28bf3cbba4139c8a0f81dc9d1a2f6c4ed724f22c.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1157633 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmouth/wordcompletion/klanguagebutton.h')
-rw-r--r--kmouth/wordcompletion/klanguagebutton.h38
1 files changed, 19 insertions, 19 deletions
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;
};