diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2016-03-25 20:03:28 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2016-03-25 20:03:28 +0100 |
commit | 2ee99ab520931c5efe91123c85ba10064a45e95d (patch) | |
tree | a367666e410de28d0f258aed77b11e17cafb28e4 /sidebar/listboxlink.h | |
parent | cfa36e1a95e82492c17225ff376911abb3688f62 (diff) | |
download | tde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.tar.gz tde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.zip |
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'sidebar/listboxlink.h')
-rw-r--r-- | sidebar/listboxlink.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/sidebar/listboxlink.h b/sidebar/listboxlink.h index 6614920..f5664e0 100644 --- a/sidebar/listboxlink.h +++ b/sidebar/listboxlink.h @@ -6,55 +6,55 @@ #include <config.h> #endif -#include <qlistbox.h> +#include <tqlistbox.h> class KListBox; -class QPainter; -class QPixmap; -class QStringList; +class TQPainter; +class TQPixmap; +class TQStringList; class KURL; -class ListBoxLink : public QListBoxPixmap +class ListBoxLink : public TQListBoxPixmap { friend class DnDListBox; public: - ListBoxLink(const QString & icon, uint size, const QString & title, const QString & url); - ListBoxLink(const QPixmap & pixmap, const QString & title, const QString & url); + ListBoxLink(const TQString & icon, uint size, const TQString & title, const TQString & url); + ListBoxLink(const TQPixmap & pixmap, const TQString & title, const TQString & url); ListBoxLink(ListBoxLink & link); ~ListBoxLink(); - QString & URL(){return url_;} - void setURL(const QString & url); - QString & icon(){return icon_;} - void setIcon(const QString & icon); - int height ( const QListBox * lb ) const; + TQString & URL(){return url_;} + void setURL(const TQString & url); + TQString & icon(){return icon_;} + void setIcon(const TQString & icon); + int height ( const TQListBox * lb ) const; private: - QString url_; //TODO: make this KURL?! - QString icon_; + TQString url_; //TODO: make this KURL?! + TQString icon_; }; class ListBoxDevice : public ListBoxLink { friend class MediaListBox; public: - ListBoxDevice(const QString & icon, uint size, const QString & title, const QString & url, const QString & name, const QString & mountPoint, bool mounted, bool ejectable = FALSE, bool removable = FALSE, int id = 0); - ListBoxDevice(const QPixmap & pixmap, const QString & title, const QString & url, const QString & name, const QString & mountPoint, bool mounted, bool ejectable = FALSE, bool removable = FALSE, int id = 0); + ListBoxDevice(const TQString & icon, uint size, const TQString & title, const TQString & url, const TQString & name, const TQString & mountPoint, bool mounted, bool ejectable = FALSE, bool removable = FALSE, int id = 0); + ListBoxDevice(const TQPixmap & pixmap, const TQString & title, const TQString & url, const TQString & name, const TQString & mountPoint, bool mounted, bool ejectable = FALSE, bool removable = FALSE, int id = 0); ~ListBoxDevice(){}; - QString & name(){return name_;} + TQString & name(){return name_;} bool mounted(){return mounted_;} bool ejectable(){return ejectable_;} bool removable(){return removable_;} - QString & mountPoint(){return mountPoint_;} + TQString & mountPoint(){return mountPoint_;} int id(){return id_;} - int width ( const QListBox * lb ) const; + int width ( const TQListBox * lb ) const; protected: - void paint( QPainter * p ); + void paint( TQPainter * p ); private: - QString name_; - QString mountPoint_; + TQString name_; + TQString mountPoint_; bool mounted_; bool ejectable_; bool removable_; |