diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/kfile/kfilefiltercombo.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kfile/kfilefiltercombo.h')
-rw-r--r-- | kio/kfile/kfilefiltercombo.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kio/kfile/kfilefiltercombo.h b/kio/kfile/kfilefiltercombo.h index 9b7c103bf..d1f9cbf62 100644 --- a/kio/kfile/kfilefiltercombo.h +++ b/kio/kfile/kfilefiltercombo.h @@ -20,8 +20,8 @@ #ifndef KFILEFILTERCOMBO_H #define KFILEFILTERCOMBO_H -#include <qstringlist.h> -#include <qptrdict.h> +#include <tqstringlist.h> +#include <tqptrdict.h> #include <kcombobox.h> #include <kmimetype.h> @@ -33,31 +33,31 @@ class KIO_EXPORT KFileFilterCombo : public KComboBox Q_OBJECT public: - KFileFilterCombo(QWidget *parent= 0, const char *name= 0); + KFileFilterCombo(TQWidget *parent= 0, const char *name= 0); ~KFileFilterCombo(); - void setFilter(const QString& filter); + void setFilter(const TQString& filter); /** * @returns the current filter, either something like "*.cpp *.h" * or the current mimetype, like "text/html", or a list of those, like " "text/html text/plain image/png", all separated with one space. */ - QString currentFilter() const; + TQString currentFilter() const; /** * Sets the current filter. Filter must match one of the filter items * passed before to this widget. * @since 3.4 */ - void setCurrentFilter( const QString& filter ); + void setCurrentFilter( const TQString& filter ); /** * Sets a list of mimetypes. * If @p defaultType is set, it will be set as the current item. * Otherwise, a first item showing all the mimetypes will be created. */ - void setMimeFilter( const QStringList& types, const QString& defaultType ); + void setMimeFilter( const TQStringList& types, const TQString& defaultType ); /** * @return true if the filter's first item is the list of all mimetypes @@ -72,19 +72,19 @@ class KIO_EXPORT KFileFilterCombo : public KComboBox * By default, this is set to i18n("*|All Files") * @see defaultFilter */ - void setDefaultFilter( const QString& filter ); + void setDefaultFilter( const TQString& filter ); /** * @return the default filter, used when an empty filter is set. * @see setDefaultFilter */ - QString defaultFilter() const; + TQString defaultFilter() const; protected: - virtual bool eventFilter( QObject *o, QEvent *e ); + virtual bool eventFilter( TQObject *o, TQEvent *e ); // KDE4: those variables are private. filters() was added - QStringList filters; + TQStringList filters; bool m_allTypes; signals: |