summaryrefslogtreecommitdiffstats
path: root/korn/hvitem.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /korn/hvitem.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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"