summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/knotes/summarywidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/knotes/summarywidget.cpp')
-rw-r--r--kontact/plugins/knotes/summarywidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kontact/plugins/knotes/summarywidget.cpp b/kontact/plugins/knotes/summarywidget.cpp
index b714ff19e..611425b9d 100644
--- a/kontact/plugins/knotes/summarywidget.cpp
+++ b/kontact/plugins/knotes/summarywidget.cpp
@@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqobject.h>
@@ -45,8 +45,8 @@
#include "summarywidget.h"
KNotesSummaryWidget::KNotesSummaryWidget( Kontact::Plugin *plugin,
- TQWidget *parent, const char *name )
- : Kontact::Summary( parent, name ), mLayout( 0 ), mPlugin( plugin )
+ TQWidget *tqparent, const char *name )
+ : Kontact::Summary( tqparent, name ), mLayout( 0 ), mPlugin( plugin )
{
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 3, 3 );
@@ -103,7 +103,7 @@ void KNotesSummaryWidget::updateView()
KURLLabel *urlLabel = new KURLLabel( (*it)->uid(), newtext, this );
urlLabel->installEventFilter( this );
urlLabel->setTextFormat(RichText);
- urlLabel->tqsetAlignment( urlLabel->tqalignment() | Qt::WordBreak );
+ urlLabel->tqsetAlignment( urlLabel->tqalignment() | TQt::WordBreak );
mLayout->addWidget( urlLabel, counter, 1 );
mLabels.append( urlLabel );
@@ -142,7 +142,7 @@ bool KNotesSummaryWidget::eventFilter( TQObject *obj, TQEvent* e )
if ( e->type() == TQEvent::Enter )
emit message( i18n( "Read Note: \"%1\"" ).arg( label->text() ) );
if ( e->type() == TQEvent::Leave )
- emit message( TQString::null );
+ emit message( TQString() );
}
return Kontact::Summary::eventFilter( obj, e );