summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/knotes/knotes_part_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/knotes/knotes_part_p.h')
-rw-r--r--kontact/plugins/knotes/knotes_part_p.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kontact/plugins/knotes/knotes_part_p.h b/kontact/plugins/knotes/knotes_part_p.h
index 55a0374b6..0bf073f3a 100644
--- a/kontact/plugins/knotes/knotes_part_p.h
+++ b/kontact/plugins/knotes/knotes_part_p.h
@@ -32,8 +32,8 @@
#ifndef KNOTES_PART_P_H
#define KNOTES_PART_P_H
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
#include <kactioncollection.h>
#include <klocale.h>
@@ -67,8 +67,8 @@ class KNotesIconViewItem : public KIconViewItem
setRenameEnabled( true );
KIconEffect effect;
- QColor color( journal->customProperty( "KNotes", "BgColor" ) );
- QPixmap icon = KGlobal::iconLoader()->loadIcon( "knotes", KIcon::Desktop );
+ TQColor color( journal->customProperty( "KNotes", "BgColor" ) );
+ TQPixmap icon = KGlobal::iconLoader()->loadIcon( "knotes", KIcon::Desktop );
icon = effect.apply( icon, KIconEffect::Colorize, 1, color, false );
setPixmap( icon );
setText( journal->summary() );
@@ -79,7 +79,7 @@ class KNotesIconViewItem : public KIconViewItem
return mJournal;
}
- virtual void setText( const QString& text )
+ virtual void setText( const TQString& text )
{
KIconViewItem::setText( text );
mJournal->setSummary( text );
@@ -93,10 +93,10 @@ class KNotesIconViewItem : public KIconViewItem
class KNotesIconView : public KIconView
{
protected:
- QDragObject* dragObject()
+ TQDragObject* dragObject()
{
- QValueList<KNotesIconViewItem*> selectedItems;
- for ( QIconViewItem *it = firstItem(); it; it = it->nextItem() ) {
+ TQValueList<KNotesIconViewItem*> selectedItems;
+ for ( TQIconViewItem *it = firstItem(); it; it = it->nextItem() ) {
if ( it->isSelected() )
selectedItems.append( static_cast<KNotesIconViewItem *>( it ) );
}
@@ -117,7 +117,7 @@ class KNoteEditDlg : public KDialogBase, virtual public KXMLGUIClient
Q_OBJECT
public:
- KNoteEditDlg( QWidget *parent = 0, const char *name = 0 )
+ KNoteEditDlg( TQWidget *parent = 0, const char *name = 0 )
: KDialogBase( Plain, i18n( "Edit Note" ), Ok | Cancel, Ok,
parent, name, true, true )
{
@@ -128,11 +128,11 @@ class KNoteEditDlg : public KDialogBase, virtual public KXMLGUIClient
setXMLFile( "knotesui.rc" );
actionCollection()->setWidget( this );
- QWidget *page = plainPage();
- QVBoxLayout *layout = new QVBoxLayout( page );
+ TQWidget *page = plainPage();
+ TQVBoxLayout *layout = new TQVBoxLayout( page );
- QHBoxLayout *hbl = new QHBoxLayout( layout, marginHint() );
- QLabel *label = new QLabel( page);
+ TQHBoxLayout *hbl = new TQHBoxLayout( layout, marginHint() );
+ TQLabel *label = new TQLabel( page);
label->setText( i18n( "Name:" ) );
hbl->addWidget( label,0 );
mTitleEdit= new KLineEdit( page, "name" );
@@ -152,22 +152,22 @@ class KNoteEditDlg : public KDialogBase, virtual public KXMLGUIClient
layout->addWidget( mNoteEdit );
}
- QString text() const
+ TQString text() const
{
return mNoteEdit->text();
}
- void setText( const QString& text )
+ void setText( const TQString& text )
{
mNoteEdit->setText( text );
}
- QString title() const
+ TQString title() const
{
return mTitleEdit->text();
}
- void setTitle( const QString& text )
+ void setTitle( const TQString& text )
{
mTitleEdit->setText( text );
}