diff options
Diffstat (limited to 'korn/dockeditem.cpp')
-rw-r--r-- | korn/dockeditem.cpp | 30 |
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" |