summaryrefslogtreecommitdiffstats
path: root/src/gui/itemselector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemselector.cpp')
-rw-r--r--src/gui/itemselector.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/itemselector.cpp b/src/gui/itemselector.cpp
index d10cd52..e400f73 100644
--- a/src/gui/itemselector.cpp
+++ b/src/gui/itemselector.cpp
@@ -52,14 +52,14 @@ ItemSelector::ItemSelector( TQWidget *parent, const char *name )
{
addColumn( i18n( "Component" ) );
setFullWidth(true);
- setSorting( -1, FALSE );
+ setSorting( -1, false );
setRootIsDecorated(true);
setDragEnabled(true);
-// connect( this, TQT_SIGNAL(executed(TQListViewItem*) ), this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(clicked(TQListViewItem*)), this, TQT_SLOT(slotItemClicked(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(doubleClicked(TQListViewItem*)), this, TQT_SLOT(slotItemDoubleClicked(TQListViewItem*)) );
- connect( this, TQT_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int )), this, TQT_SLOT(slotContextMenuRequested(TQListViewItem*, const TQPoint&, int )) );
+// connect( this, TQ_SIGNAL(executed(TQListViewItem*) ), this, TQ_SLOT(slotItemExecuted(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(clicked(TQListViewItem*)), this, TQ_SLOT(slotItemClicked(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(doubleClicked(TQListViewItem*)), this, TQ_SLOT(slotItemDoubleClicked(TQListViewItem*)) );
+ connect( this, TQ_SIGNAL(contextMenuRequested(TQListViewItem*, const TQPoint&, int )), this, TQ_SLOT(slotContextMenuRequested(TQListViewItem*, const TQPoint&, int )) );
}
ItemSelector::~ItemSelector()
@@ -133,7 +133,7 @@ void ItemSelector::addItem( const TQString & caption, const TQString & id, const
void ItemSelector::writeOpenStates()
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup( name() );
const TQStringList::iterator end = m_categories.end();
@@ -149,7 +149,7 @@ void ItemSelector::writeOpenStates()
bool ItemSelector::readOpenState( const TQString &id )
{
- TDEConfig *config = kapp->config();
+ TDEConfig *config = tdeApp->config();
config->setGroup( name() );
return config->readBoolEntry( id+"IsOpen", true );
@@ -163,7 +163,7 @@ void ItemSelector::slotContextMenuRequested( TQListViewItem* item, const TQPoint
}
TQPopupMenu *menu = new TQPopupMenu(this);
- menu->insertItem( i18n("Remove %1").arg(item->text(0)), this, TQT_SLOT(slotRemoveSelectedItem()), TQt::Key_Delete );
+ menu->insertItem( i18n("Remove %1").arg(item->text(0)), this, TQ_SLOT(slotRemoveSelectedItem()), TQt::Key_Delete );
menu->popup(pos);
}