diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:43:15 +0000 |
commit | e654398e46e37abf457b2b1122ab898d2c51c49f (patch) | |
tree | d39ee6440f3c3663c3ead84a2d4cc2d034667e96 /juk/tageditor.h | |
parent | e4f29b18e19394b9352f52a6c0d0d0e3932cf511 (diff) | |
download | tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.tar.gz tdemultimedia-e654398e46e37abf457b2b1122ab898d2c51c49f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1157644 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'juk/tageditor.h')
-rw-r--r-- | juk/tageditor.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/juk/tageditor.h b/juk/tageditor.h index e9d9b1bf..1820a179 100644 --- a/juk/tageditor.h +++ b/juk/tageditor.h @@ -16,7 +16,7 @@ #ifndef TAGEDITOR_H #define TAGEDITOR_H -#include <qwidget.h> +#include <tqwidget.h> class KComboBox; class KLineEdit; @@ -30,7 +30,7 @@ class QBoxLayout; class Playlist; class PlaylistItem; -typedef QValueList<PlaylistItem *> PlaylistItemList; +typedef TQValueList<PlaylistItem *> PlaylistItemList; class CollectionObserver; @@ -39,7 +39,7 @@ class TagEditor : public QWidget Q_OBJECT public: - TagEditor(QWidget *parent = 0, const char *name = 0); + TagEditor(TQWidget *parent = 0, const char *name = 0); virtual ~TagEditor(); PlaylistItemList items() const { return m_items; } void setupObservers(); @@ -61,7 +61,7 @@ private: void setupActions(); void setupLayout(); void readConfig(); - void readCompletionMode(KConfigBase *config, KComboBox *box, const QString &key); + void readCompletionMode(KConfigBase *config, KComboBox *box, const TQString &key); void saveConfig(); void save(const PlaylistItemList &list); void saveChangesPrompt(); @@ -69,15 +69,15 @@ private: * Adds an item to JuK's tagging layout. This handles the creation and * placement of the "enable" box as well. */ - void addItem(const QString &text, QWidget *item, QBoxLayout *layout, const QString &iconName = QString::null); + void addItem(const TQString &text, TQWidget *item, TQBoxLayout *layout, const TQString &iconName = TQString::null); /** * Adds a widget to m_hideList and returns that widget. */ - QWidget *addHidden(QWidget *w) { m_hideList.append(w); return w; } + TQWidget *addHidden(TQWidget *w) { m_hideList.append(w); return w; } - virtual void showEvent(QShowEvent *e); - virtual bool eventFilter(QObject *watched, QEvent *e); + virtual void showEvent(TQShowEvent *e); + virtual bool eventFilter(TQObject *watched, TQEvent *e); private slots: void slotDataChanged(bool c = true); @@ -85,10 +85,10 @@ private slots: void slotPlaylistRemoved() { m_currentPlaylist = 0; } private: - typedef QMap<QWidget *, QCheckBox *> BoxMap; + typedef TQMap<TQWidget *, TQCheckBox *> BoxMap; BoxMap m_enableBoxes; - QStringList m_genreList; + TQStringList m_genreList; KComboBox *m_artistNameBox; KLineEdit *m_trackNameBox; @@ -101,7 +101,7 @@ private: KLineEdit *m_bitrateBox; KEdit *m_commentBox; - QValueList<QWidget *> m_hideList; + TQValueList<TQWidget *> m_hideList; PlaylistItemList m_items; Playlist *m_currentPlaylist; |