summaryrefslogtreecommitdiffstats
path: root/korn/dockeditem.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/dockeditem.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/dockeditem.cpp')
-rw-r--r--korn/dockeditem.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/korn/dockeditem.cpp b/korn/dockeditem.cpp
index 2ec57a4f7..4423e7660 100644
--- a/korn/dockeditem.cpp
+++ b/korn/dockeditem.cpp
@@ -29,22 +29,22 @@
#include <kpopupmenu.h>
#include <klocale.h>
-#include <qbitmap.h>
-#include <qcursor.h>
-#include <qtooltip.h>
-#include <qpainter.h>
-#include <qpixmap.h>
-#include <qmovie.h>
+#include <tqbitmap.h>
+#include <tqcursor.h>
+#include <tqtooltip.h>
+#include <tqpainter.h>
+#include <tqpixmap.h>
+#include <tqmovie.h>
-DockedItem::DockedItem( QWidget * parent, const char * name )
+DockedItem::DockedItem( TQWidget * parent, const char * name )
: BoxContainerItem( parent, name ),
_systemtray( new SystemTray( parent, "System tray" ) )
{
this->fillKPopupMenu( _systemtray->contextMenu(), _systemtray->actionCollection() );
- connect( _systemtray, SIGNAL( quitSelected() ), kapp, SLOT( quit() ) );
- connect( _systemtray, SIGNAL( mouseButtonPressed( Qt::ButtonState ) ),
- this, SLOT( mouseButtonPressed( Qt::ButtonState ) ) );
+ connect( _systemtray, TQT_SIGNAL( quitSelected() ), kapp, TQT_SLOT( quit() ) );
+ connect( _systemtray, TQT_SIGNAL( mouseButtonPressed( Qt::ButtonState ) ),
+ this, TQT_SLOT( mouseButtonPressed( Qt::ButtonState ) ) );
}
DockedItem::~DockedItem()
@@ -69,24 +69,24 @@ void DockedItem::setCount( const int count, const bool newMessages )
drawLabel( _systemtray, count, newMessages );
}
-void DockedItem::setTooltip( const QString& tooltip )
+void DockedItem::setTooltip( const TQString& tooltip )
{
- QToolTip::add( _systemtray, tooltip );
+ TQToolTip::add( _systemtray, tooltip );
}
-void DockedItem::slotShowPassivePopup( QPtrList< KornMailSubject >* list, int total, bool date, const QString& name )
+void DockedItem::slotShowPassivePopup( TQPtrList< KornMailSubject >* list, int total, bool date, const TQString& name )
{
showPassivePopup( _systemtray, list, total, name, date );
}
-void DockedItem::slotShowPassivePopup( const QString& message, const QString& name )
+void DockedItem::slotShowPassivePopup( const TQString& message, const TQString& name )
{
KPassivePopup::message( i18n( "Korn - %1/%2" ).arg( objId() ).arg( name ), message, _systemtray, "Passive error message" );
}
void DockedItem::doPopup()
{
- _systemtray->contextMenu()->popup( QCursor::pos() );
+ _systemtray->contextMenu()->popup( TQCursor::pos() );
}
#include "dockeditem.moc"