summaryrefslogtreecommitdiffstats
path: root/korn/hvitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/hvitem.cpp')
-rw-r--r--korn/hvitem.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/korn/hvitem.cpp b/korn/hvitem.cpp
index e8cc2483d..7d836da3c 100644
--- a/korn/hvitem.cpp
+++ b/korn/hvitem.cpp
@@ -27,10 +27,10 @@
#include <kpopupmenu.h>
#include <kstdaction.h>
-#include <qcursor.h>
-#include <qtooltip.h>
+#include <tqcursor.h>
+#include <tqtooltip.h>
-HVItem::HVItem( QWidget *parent, const char *name )
+HVItem::HVItem( TQWidget *parent, const char *name )
: BoxContainerItem( 0, name ),
_label( new Label( parent, "label" ) ),
_popup( new KPopupMenu( _label, "popupmenu" ) ),
@@ -39,9 +39,9 @@ HVItem::HVItem( QWidget *parent, const char *name )
_popup->insertTitle( kapp->miniIcon(), kapp->caption() );
this->fillKPopupMenu( _popup, _actions );
_popup->insertSeparator();
- KStdAction::quit( kapp, SLOT( quit() ), _actions )->plug( _popup );
+ KStdAction::quit( kapp, TQT_SLOT( quit() ), _actions )->plug( _popup );
- connect( _label, SIGNAL( mouseButtonPressed( Qt::ButtonState ) ), this, SLOT( mouseButtonPressed( Qt::ButtonState ) ) );
+ connect( _label, TQT_SIGNAL( mouseButtonPressed( Qt::ButtonState ) ), this, TQT_SLOT( mouseButtonPressed( Qt::ButtonState ) ) );
}
HVItem::~HVItem()
@@ -59,24 +59,24 @@ void HVItem::setCount( const int count, const bool newMessages )
drawLabel( _label, count, newMessages );
}
-void HVItem::setTooltip( const QString& string )
+void HVItem::setTooltip( const TQString& string )
{
- QToolTip::add( _label, string );
+ TQToolTip::add( _label, string );
}
-void HVItem::slotShowPassivePopup( QPtrList< KornMailSubject >* list, int total, bool date, const QString& name )
+void HVItem::slotShowPassivePopup( TQPtrList< KornMailSubject >* list, int total, bool date, const TQString& name )
{
showPassivePopup( _label, list, total, name, date );
}
-void HVItem::slotShowPassivePopup( const QString& errorMessage, const QString& name )
+void HVItem::slotShowPassivePopup( const TQString& errorMessage, const TQString& name )
{
- KPassivePopup::message( QString( "korn-%1-%2" ).arg( objId() ).arg( name ), errorMessage, _label, "Passive error message" );
+ KPassivePopup::message( TQString( "korn-%1-%2" ).arg( objId() ).arg( name ), errorMessage, _label, "Passive error message" );
}
void HVItem::doPopup()
{
- _popup->popup( QCursor::pos() );
+ _popup->popup( TQCursor::pos() );
}
#include "hvitem.moc"