summaryrefslogtreecommitdiffstats
path: root/tdeui/klistview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:21:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:21:02 -0600
commit8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a (patch)
tree19ff5ecf5e6b5168e5503677f18b85f3dfa91f95 /tdeui/klistview.cpp
parent5bca2e3e42d02f8fed9ffc399ea14f8a05694cb0 (diff)
downloadtdelibs-8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a.tar.gz
tdelibs-8e7816b2f9f62a2df094c5b2a7aa5abb6bc1226a.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'tdeui/klistview.cpp')
-rw-r--r--tdeui/klistview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/klistview.cpp b/tdeui/klistview.cpp
index b52fe6876..29f255c3a 100644
--- a/tdeui/klistview.cpp
+++ b/tdeui/klistview.cpp
@@ -438,7 +438,7 @@ KListView::KListView( TQWidget *parent, const char *name )
connect (this, TQT_SIGNAL(contentsMoving(int,int)),
this, TQT_SLOT(cleanItemHighlighter()));
- slotSettingsChanged(KApplication::SETTINGS_MOUSE);
+ slotSettingsChanged(TDEApplication::SETTINGS_MOUSE);
if (kapp)
{
connect( kapp, TQT_SIGNAL( settingsChanged(int) ), TQT_SLOT( slotSettingsChanged(int) ) );
@@ -543,7 +543,7 @@ void KListView::slotSettingsChanged(int category)
{
switch (category)
{
- case KApplication::SETTINGS_MOUSE:
+ case TDEApplication::SETTINGS_MOUSE:
d->dragDelay = KGlobalSettings::dndEventDelay();
d->bUseSingle = KGlobalSettings::singleClick();
@@ -563,7 +563,7 @@ void KListView::slotSettingsChanged(int category)
break;
- case KApplication::SETTINGS_POPUPMENU:
+ case TDEApplication::SETTINGS_POPUPMENU:
d->contextMenuKey = KGlobalSettings::contextMenuKey ();
d->showContextMenusOnPress = KGlobalSettings::showContextMenusOnPress ();
@@ -604,7 +604,7 @@ void KListView::slotAutoSelect()
if( !hasFocus() )
setFocus();
- ButtonState keybstate = KApplication::keyboardMouseState();
+ ButtonState keybstate = TDEApplication::keyboardMouseState();
TQListViewItem* previousItem = currentItem();
setCurrentItem( d->pCurrentItem );
@@ -646,7 +646,7 @@ void KListView::slotAutoSelect()
if( selectionMode() == TQListView::Single )
emit selectionChanged( d->pCurrentItem );
}
- else if( (keybstate & KApplication::ControlModifier) )
+ else if( (keybstate & TDEApplication::ControlModifier) )
setSelected( d->pCurrentItem, !d->pCurrentItem->isSelected() );
else {
bool block = signalsBlocked();
@@ -691,7 +691,7 @@ void KListView::emitExecute( TQListViewItem *item, const TQPoint &pos, int c )
}
else
{
- ButtonState keybstate = KApplication::keyboardMouseState();
+ ButtonState keybstate = TDEApplication::keyboardMouseState();
d->autoSelect.stop();