diff options
Diffstat (limited to 'src/newstuff/dialog.h')
-rw-r--r-- | src/newstuff/dialog.h | 47 |
1 files changed, 24 insertions, 23 deletions
diff --git a/src/newstuff/dialog.h b/src/newstuff/dialog.h index f1c5e48..b719b72 100644 --- a/src/newstuff/dialog.h +++ b/src/newstuff/dialog.h @@ -28,10 +28,10 @@ namespace KNS { class Provider; } -class QProgressBar; -class QSplitter; -class QLabel; -class QTextEdit; +class TQProgressBar; +class TQSplitter; +class TQLabel; +class TQTextEdit; namespace Tellico { namespace GUI { @@ -43,22 +43,23 @@ namespace Tellico { class Dialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - Dialog(DataType type, QWidget* parent); + Dialog(DataType type, TQWidget* tqparent); virtual ~Dialog(); - QPtrList<DataSourceInfo> dataSourceInfo() const { return m_manager->dataSourceInfo(); } + TQPtrList<DataSourceInfo> dataSourceInfo() const { return m_manager->dataSourceInfo(); } private slots: - void slotProviders(QPtrList<KNS::Provider>* list); - void slotData(KIO::Job* job, const QByteArray& data); + void slotProviders(TQPtrList<KNS::Provider>* list); + void slotData(KIO::Job* job, const TQByteArray& data); void slotResult(KIO::Job* job); void slotPreviewResult(KIO::Job* job); void slotShowPercent(KIO::Job* job, unsigned long percent); - void slotSelected(QListViewItem* item); + void slotSelected(TQListViewItem* item); void slotInstall(); void slotDoneInstall(KNS::Entry* entry); @@ -68,32 +69,32 @@ private slots: private: class Item; - void setStatus(const QString& status); + void settqStatus(const TQString& status); void addEntry(KNS::Entry* entry); Manager* const m_manager; DataType m_type; - QString m_lang; - QString m_typeName; + TQString m_lang; + TQString m_typeName; - QSplitter* m_split; + TQSplitter* m_split; GUI::ListView* m_listView; - QLabel* m_iconLabel; - QLabel* m_nameLabel; - QLabel* m_infoLabel; - QTextEdit* m_descLabel; + TQLabel* m_iconLabel; + TQLabel* m_nameLabel; + TQLabel* m_infoLabel; + TQTextEdit* m_descLabel; KPushButton* m_install; KStatusBar* m_statusBar; - QProgressBar* m_progress; - QTimer* m_timer; + TQProgressBar* m_progress; + TQTimer* m_timer; GUI::CursorSaver* m_cursorSaver; KTempFile* m_tempPreviewImage; - QMap<KIO::Job*, KNS::Provider*> m_jobs; - QMap<KIO::Job*, QByteArray> m_data; + TQMap<KIO::Job*, KNS::Provider*> m_jobs; + TQMap<KIO::Job*, TQByteArray> m_data; - QMap<QListViewItem*, KNS::Entry*> m_entryMap; - QListViewItem* m_lastPreviewItem; + TQMap<TQListViewItem*, KNS::Entry*> m_entryMap; + TQListViewItem* m_lastPreviewItem; }; } |