summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/oversatileview.cpp152
-rw-r--r--libopie2/opieui/oversatileviewitem.cpp2
2 files changed, 77 insertions, 77 deletions
diff --git a/libopie2/opieui/oversatileview.cpp b/libopie2/opieui/oversatileview.cpp
index 32855be..6808539 100644
--- a/libopie2/opieui/oversatileview.cpp
+++ b/libopie2/opieui/oversatileview.cpp
@@ -259,3 +259,3 @@ void OVersatileView::popupContextMenu( OVersatileViewItem* item, const QPoint& p
{
- if ( not item )
+ if ( !item )
_contextmenu->exec( pos );
@@ -451,3 +451,3 @@ void OVersatileView::expanded( QListViewItem *item ) // QListView
//qDebug( "OVersatileView::expanded(): opening tree..." );
- if ( not _treeopened.isNull() )
+ if ( !_treeopened.isNull() )
item->setPixmap( 0, _treeopened );
@@ -457,3 +457,3 @@ void OVersatileView::collapsed( QListViewItem *item ) // QListView
{
- if ( not _treeclosed.isNull() )
+ if ( !_treeclosed.isNull() )
item->setPixmap( 0, _treeclosed );
@@ -468,3 +468,3 @@ int OVersatileView::treeStepSize() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -476,3 +476,3 @@ int OVersatileView::treeStepSize() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -485,3 +485,3 @@ QHeader * OVersatileView::header() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -494,3 +494,3 @@ QHeader * OVersatileView::header() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -500,6 +500,6 @@ QHeader * OVersatileView::header() const // QListView
}
-
+
int OVersatileView::addColumn( const QIconSet& iconset, const QString &label, int size ) // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -512,3 +512,3 @@ void OVersatileView::removeColumn( int index ) // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -520,3 +520,3 @@ void OVersatileView::removeColumn( int index ) // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -528,3 +528,3 @@ void OVersatileView::removeColumn( int index ) // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -536,3 +536,3 @@ QString OVersatileView::columnText( int column ) const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -544,3 +544,3 @@ QString OVersatileView::columnText( int column ) const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -552,3 +552,3 @@ int OVersatileView::columnWidth( int column ) const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -560,3 +560,3 @@ int OVersatileView::columnWidth( int column ) const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -568,3 +568,3 @@ int OVersatileView::columns() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -577,3 +577,3 @@ int OVersatileView::columns() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -585,3 +585,3 @@ int OVersatileView::columnAlignment( int column ) const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -594,3 +594,3 @@ OVersatileViewItem * OVersatileView::itemAt( const QPoint & screenPos ) const /
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -602,3 +602,3 @@ QRect OVersatileView::itemRect( const OVersatileViewItem * item ) const // QLis
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -610,3 +610,3 @@ int OVersatileView::itemPos( const OVersatileViewItem * item ) // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -619,3 +619,3 @@ bool OVersatileView::isSelected( const OVersatileViewItem * item ) const // QLi
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -637,3 +637,3 @@ OVersatileViewItem * OVersatileView::selectedItem() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -645,3 +645,3 @@ OVersatileViewItem * OVersatileView::selectedItem() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -653,3 +653,3 @@ bool OVersatileView::isOpen( const OVersatileViewItem * item ) const // QListVi
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -662,3 +662,3 @@ OVersatileViewItem * OVersatileView::firstChild() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -670,3 +670,3 @@ int OVersatileView::childCount() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -679,3 +679,3 @@ int OVersatileView::childCount() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -687,3 +687,3 @@ bool OVersatileView::allColumnsShowFocus() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -696,3 +696,3 @@ bool OVersatileView::allColumnsShowFocus() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -704,3 +704,3 @@ int OVersatileView::itemMargin() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -713,3 +713,3 @@ int OVersatileView::itemMargin() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -721,3 +721,3 @@ bool OVersatileView::rootIsDecorated() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -730,3 +730,3 @@ void OVersatileView::setShowSortIndicator( bool show ) // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -738,3 +738,3 @@ bool OVersatileView::showSortIndicator() const // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -747,3 +747,3 @@ void OVersatileView::triggerUpdate() // QListView
{
- if ( not isValidViewMode( Tree ) )
+ if ( !isValidViewMode( Tree ) )
{
@@ -760,3 +760,3 @@ uint OVersatileView::count() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -769,3 +769,3 @@ int OVersatileView::index( const OVersatileViewItem *item ) const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -778,3 +778,3 @@ OVersatileViewItem* OVersatileView::firstItem() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -786,3 +786,3 @@ OVersatileViewItem* OVersatileView::lastItem() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -795,3 +795,3 @@ OVersatileViewItem* OVersatileView::findItem( const QPoint &pos ) const // QIcon
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -803,3 +803,3 @@ OVersatileViewItem* OVersatileView::findItem( const QString &text ) const // QIc
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -812,3 +812,3 @@ OVersatileViewItem* OVersatileView::findFirstVisibleItem( const QRect &r ) const
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -820,3 +820,3 @@ OVersatileViewItem* OVersatileView::findLastVisibleItem( const QRect &r ) const
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -829,3 +829,3 @@ OVersatileViewItem* OVersatileView::findLastVisibleItem( const QRect &r ) const
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -837,3 +837,3 @@ OVersatileViewItem* OVersatileView::findLastVisibleItem( const QRect &r ) const
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -845,3 +845,3 @@ int OVersatileView::gridX() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -853,3 +853,3 @@ int OVersatileView::gridY() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -861,3 +861,3 @@ int OVersatileView::gridY() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -869,3 +869,3 @@ int OVersatileView::spacing() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -877,3 +877,3 @@ int OVersatileView::spacing() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -885,3 +885,3 @@ QIconView::ItemTextPos OVersatileView::itemTextPos() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -893,3 +893,3 @@ QIconView::ItemTextPos OVersatileView::itemTextPos() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -901,3 +901,3 @@ QBrush OVersatileView::itemTextBackground() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -909,3 +909,3 @@ QBrush OVersatileView::itemTextBackground() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -917,3 +917,3 @@ QIconView::Arrangement OVersatileView::arrangement() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -925,3 +925,3 @@ QIconView::Arrangement OVersatileView::arrangement() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -933,3 +933,3 @@ QIconView::ResizeMode OVersatileView::resizeMode() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -941,3 +941,3 @@ QIconView::ResizeMode OVersatileView::resizeMode() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -949,3 +949,3 @@ int OVersatileView::maxItemWidth() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -957,3 +957,3 @@ int OVersatileView::maxItemWidth() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -965,3 +965,3 @@ int OVersatileView::maxItemTextLength() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -973,3 +973,3 @@ int OVersatileView::maxItemTextLength() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -981,3 +981,3 @@ bool OVersatileView::autoArrange() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -989,3 +989,3 @@ bool OVersatileView::autoArrange() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -997,3 +997,3 @@ bool OVersatileView::showToolTips() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1006,3 +1006,3 @@ bool OVersatileView::sorting() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1014,3 +1014,3 @@ bool OVersatileView::sortDirection() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1023,3 +1023,3 @@ bool OVersatileView::sortDirection() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1031,3 +1031,3 @@ bool OVersatileView::itemsMovable() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1039,3 +1039,3 @@ void OVersatileView::setWordWrapIconText( bool b ) // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1047,3 +1047,3 @@ bool OVersatileView::wordWrapIconText() const // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1056,3 +1056,3 @@ void OVersatileView::arrangeItemsInGrid( const QSize &grid, bool update ) // QI
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1064,3 +1064,3 @@ void OVersatileView::arrangeItemsInGrid( bool update ) // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
@@ -1072,3 +1072,3 @@ void OVersatileView::updateContents() // QIconView
{
- if ( not isValidViewMode( Icons ) )
+ if ( !isValidViewMode( Icons ) )
{
diff --git a/libopie2/opieui/oversatileviewitem.cpp b/libopie2/opieui/oversatileviewitem.cpp
index 379ce24..66de8eb 100644
--- a/libopie2/opieui/oversatileviewitem.cpp
+++ b/libopie2/opieui/oversatileviewitem.cpp
@@ -98,3 +98,3 @@ void OVersatileViewItem::init()
{
- if ( not firstChild() )
+ if ( !firstChild() )
{