summaryrefslogtreecommitdiffstats
path: root/smb4k/searchdlg/smb4ksearchdialogitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smb4k/searchdlg/smb4ksearchdialogitem.cpp')
-rw-r--r--smb4k/searchdlg/smb4ksearchdialogitem.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/smb4k/searchdlg/smb4ksearchdialogitem.cpp b/smb4k/searchdlg/smb4ksearchdialogitem.cpp
index 525072e..9b18496 100644
--- a/smb4k/searchdlg/smb4ksearchdialogitem.cpp
+++ b/smb4k/searchdlg/smb4ksearchdialogitem.cpp
@@ -24,8 +24,8 @@
* MA 02110-1301 USA *
***************************************************************************/
-// Qt includes
-#include <qimage.h>
+// TQt includes
+#include <tqimage.h>
// KDE includes
#include <kiconloader.h>
@@ -47,7 +47,7 @@ Smb4KSearchDialogItem::Smb4KSearchDialogItem( KListView *listView, Smb4KHostItem
{
m_is_regular = true;
- QString item_text = m_item.name();
+ TQString item_text = m_item.name();
if ( !m_item.workgroup().isEmpty() && !m_item.ip().isEmpty() )
{
@@ -95,12 +95,12 @@ void Smb4KSearchDialogItem::setIcon()
if ( m_is_known )
{
KIconEffect e;
- QImage over = SmallIcon( "button_ok" ).convertToImage();
- QImage src = SmallIcon( "server" ).convertToImage();
+ TQImage over = SmallIcon( "button_ok" ).convertToImage();
+ TQImage src = SmallIcon( "server" ).convertToImage();
e.semiTransparent( over );
e.overlay( src, over );
- QPixmap pix( src );
+ TQPixmap pix( src );
setPixmap( 0, pix );
}
@@ -124,7 +124,7 @@ void Smb4KSearchDialogItem::setKnown( bool known )
}
-int Smb4KSearchDialogItem::compare( QListViewItem *i, int, bool ascending ) const
+int Smb4KSearchDialogItem::compare( TQListViewItem *i, int, bool ascending ) const
{
Smb4KSearchDialogItem *item = static_cast<Smb4KSearchDialogItem *>( i );