diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 11:44:59 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-27 10:38:26 +0900 |
| commit | 5dc7ba8c7fac87afb799a317ce12b5a52dfc60b4 (patch) | |
| tree | c3d2ab0682394b8cee91cea92f55134bba8862df /amarok/HACKING | |
| parent | de3274d93181cda9edc7e98777b7bbfdaebbd6ab (diff) | |
| download | amarok-5dc7ba8c.tar.gz amarok-5dc7ba8c.zip | |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0784cbd9b04d181f3b400ea963d20acfeba0ba64)
Diffstat (limited to 'amarok/HACKING')
| -rw-r--r-- | amarok/HACKING | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/amarok/HACKING b/amarok/HACKING index 1a08e7e9..1cf5261f 100644 --- a/amarok/HACKING +++ b/amarok/HACKING @@ -29,7 +29,7 @@ Formatting Example: | bool - | MyClass::myMethod( QPtrList<QListViewItem> items, const QString &name ) + | MyClass::myMethod( QPtrList<QListViewItem> items, const TQString &name ) | { | if( items.isEmpty() ) | return false; @@ -122,7 +122,7 @@ great too. | TQ_OBJECT | | public: - | Queuelist( QWidget *parent, const char *name = 0 ); + | Queuelist( TQWidget *parent, const char *name = 0 ); | ~QueueList() {}; | | public slots: @@ -154,7 +154,7 @@ See: http://www.parashift.com/c++-faq-lite/const-correctness.html Example: | bool - | MyClass::isValidFile( const QString& path ) const + | MyClass::isValidFile( const TQString& path ) const | { | const bool valid = QFile::exist( path ); | @@ -200,7 +200,7 @@ We provide this method for convenience, but it is important to use it properly. inspection, we can see that we may produce very obscure bugs in the wrong case: | TDEConfig - | *config( const QString &group ) + | *config( const TQString &group ) | { | //Slightly more useful config() that allows setting the group simultaneously | kapp->config()->setGroup( group ); |
