summaryrefslogtreecommitdiffstats
path: root/kolf/kcomboboxdialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /kolf/kcomboboxdialog.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolf/kcomboboxdialog.h')
-rw-r--r--kolf/kcomboboxdialog.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kolf/kcomboboxdialog.h b/kolf/kcomboboxdialog.h
index e835c0aa..fdd74840 100644
--- a/kolf/kcomboboxdialog.h
+++ b/kolf/kcomboboxdialog.h
@@ -25,7 +25,7 @@
#ifndef KCOMBOBOX_DIALOG_H
#define KCOMBOBOX_DIALOG_H
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <kdialogbase.h>
#include <kglobal.h>
@@ -34,7 +34,7 @@ class QCheckBox;
class KHistoryCombo;
/**
- * Dialog for user to choose an item from a QStringList.
+ * Dialog for user to choose an item from a TQStringList.
*/
class KComboBoxDialog : public KDialogBase
@@ -51,13 +51,13 @@ public:
* @param _text Text of the label
* @param _value Initial value of the combobox
*/
- KComboBoxDialog( const QString &_text, const QStringList& _items, const QString& _value = QString::null, bool showDontAskAgain = false, QWidget *parent = 0 );
+ KComboBoxDialog( const TQString &_text, const TQStringList& _items, const TQString& _value = TQString::null, bool showDontAskAgain = false, TQWidget *parent = 0 );
virtual ~KComboBoxDialog();
/**
* @return the value the user chose
*/
- QString text() const;
+ TQString text() const;
/**
* @return the line edit widget
@@ -70,9 +70,9 @@ public:
* @param _text Text of the label
* @param _items Items in the combobox
* @param _value Initial value of the inputline
- * @param dontAskAgainName Name for saving whether the user doesn't want to be asked again; use QString::null to disable
+ * @param dontAskAgainName Name for saving whether the user doesn't want to be asked again; use TQString::null to disable
*/
- static QString getItem( const QString &_text, const QStringList &_items, const QString& _value = QString::null, const QString &dontAskAgainName = QString::null, QWidget *parent = 0 );
+ static TQString getItem( const TQString &_text, const TQStringList &_items, const TQString& _value = TQString::null, const TQString &dontAskAgainName = TQString::null, TQWidget *parent = 0 );
/**
* Static convenience function to get input from the user.
@@ -82,9 +82,9 @@ public:
* @param _text Text of the label
* @param _items Items in the combobox
* @param _value Initial value of the inputline
- * @param dontAskAgainName Name for saving whether the user doesn't want to be asked again; use QString::null to disable
+ * @param dontAskAgainName Name for saving whether the user doesn't want to be asked again; use TQString::null to disable
*/
- static QString getItem( const QString &_text, const QString &_caption, const QStringList &_items, const QString& _value = QString::null, const QString &dontAskAgainName = QString::null, QWidget *parent = 0 );
+ static TQString getItem( const TQString &_text, const TQString &_caption, const TQStringList &_items, const TQString& _value = TQString::null, const TQString &dontAskAgainName = TQString::null, TQWidget *parent = 0 );
/**
* Static convenience method.
@@ -99,15 +99,15 @@ public:
* @param configName Name of the dialog for saving the completion and history
* @parma config KConfig for saving the completion and history
*/
- static QString getText(const QString &_caption, const QString &_text,
- const QString &_value = QString::null,
- bool *ok = 0, QWidget *parent = 0,
- const QString &configName = QString::null,
+ static TQString getText(const TQString &_caption, const TQString &_text,
+ const TQString &_value = TQString::null,
+ bool *ok = 0, TQWidget *parent = 0,
+ const TQString &configName = TQString::null,
KConfig *config = KGlobal::config());
protected:
KHistoryCombo *combo;
- QCheckBox *dontAskAgainCheckBox;
+ TQCheckBox *dontAskAgainCheckBox;
bool dontAskAgainChecked();
};