Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
Konqueror
Commits
76ebce9f
Commit
76ebce9f
authored
Feb 19, 2006
by
Allen Winter
Browse files
TRUE->true, FALSE->false
svn path=/trunk/KDE/kdebase/konqueror/; revision=511158
parent
9c6e7893
Changes
11
Hide whitespace changes
Inline
Side-by-side
konqueror/about/konq_aboutpage.cc
View file @
76ebce9f
...
...
@@ -81,7 +81,7 @@ QString KonqAboutPageFactory::loadFile( const QString& file )
file
.
left
(
file
.
lastIndexOf
(
'/'
))
+
QLatin1String
(
"/
\"
>
\n
"
);
QRegExp
reg
(
"<head>"
);
reg
.
setCaseSensitive
(
FALSE
);
reg
.
setCaseSensitive
(
false
);
res
.
replace
(
reg
,
"<head>
\n\t
"
+
basehref
);
return
res
;
}
...
...
konqueror/konq_combo.cc
View file @
76ebce9f
...
...
@@ -652,7 +652,7 @@ void KonqCombo::paintEvent( QPaintEvent *pe )
p
.
fillRect
(
re
.
right
()
-
pix
.
width
()
-
3
,
re
.
y
(),
pix
.
width
()
+
4
,
re
.
height
(),
QBrush
(
useColor
?
color
:
edit
->
paletteBackgroundColor
()
));
p
.
drawPixmap
(
re
.
right
()
-
pix
.
width
()
-
1
,
re
.
y
()
+
(
re
.
height
()
-
pix
.
height
()
)
/
2
,
pix
);
p
.
setClipping
(
FALSE
);
p
.
setClipping
(
false
);
}
else
{
QRect
r
=
edit
->
geometry
();
...
...
konqueror/konq_frame.h
View file @
76ebce9f
...
...
@@ -171,7 +171,7 @@ class KonqFrameBase
virtual
void
printFrameInfo
(
const
QString
&
spaces
);
virtual
void
reparentFrame
(
QWidget
*
parent
,
const
QPoint
&
p
,
bool
showIt
=
FALSE
)
=
0
;
const
QPoint
&
p
,
bool
showIt
=
false
)
=
0
;
virtual
KonqFrameContainerBase
*
parentContainer
()
{
return
m_pParentContainer
;
}
virtual
void
setParentContainer
(
KonqFrameContainerBase
*
parent
)
{
m_pParentContainer
=
parent
;
}
...
...
@@ -261,7 +261,7 @@ public:
virtual
void
setTabIcon
(
const
QString
&
url
,
QWidget
*
sender
);
virtual
void
reparentFrame
(
QWidget
*
parent
,
const
QPoint
&
p
,
bool
showIt
=
FALSE
);
const
QPoint
&
p
,
bool
showIt
=
false
);
//virtual KonqFrameContainerBase* parentContainer();
virtual
QWidget
*
widget
()
{
return
this
;
}
...
...
@@ -327,7 +327,7 @@ public:
virtual
QByteArray
frameType
()
{
return
QByteArray
(
"ContainerBase"
);
}
virtual
void
reparentFrame
(
QWidget
*
parent
,
const
QPoint
&
p
,
bool
showIt
=
FALSE
)
=
0
;
const
QPoint
&
p
,
bool
showIt
=
false
)
=
0
;
virtual
KonqFrameBase
*
activeChild
()
{
return
m_pActiveChild
;
}
...
...
@@ -395,7 +395,7 @@ public:
//inherited
virtual
void
reparentFrame
(
QWidget
*
parent
,
const
QPoint
&
p
,
bool
showIt
=
FALSE
);
const
QPoint
&
p
,
bool
showIt
=
false
);
//make this one public
int
idAfter
(
QWidget
*
w
){
return
QSplitter
::
indexOf
(
w
)
+
1
;
}
...
...
konqueror/konq_mainwindow.cc
View file @
76ebce9f
...
...
@@ -3562,9 +3562,9 @@ void KonqMainWindow::slotUpdateFullScreen( bool set )
// Qt bug (see below)
//### KDE4: still relevant?
#if 0
setAcceptDrops(
FALSE
);
setAcceptDrops(
false
);
topData()->dnd = 0;
setAcceptDrops(
TRUE
);
setAcceptDrops(
true
);
#endif
}
else
...
...
@@ -3584,9 +3584,9 @@ void KonqMainWindow::slotUpdateFullScreen( bool set )
#if 0 //### KDE4: is this still relevant?
// Other Qt bug
setAcceptDrops(
FALSE
);
setAcceptDrops(
false
);
topData()->dnd = 0;
setAcceptDrops(
TRUE
);
setAcceptDrops(
true
);
#endif
}
}
...
...
konqueror/konq_mainwindow.h
View file @
76ebce9f
...
...
@@ -289,7 +289,7 @@ public:
void
printFrameInfo
(
const
QString
&
spaces
);
void
reparentFrame
(
QWidget
*
parent
,
const
QPoint
&
p
,
bool
showIt
=
FALSE
);
const
QPoint
&
p
,
bool
showIt
=
false
);
KonqFrameContainerBase
*
parentContainer
()
const
;
void
setParentContainer
(
KonqFrameContainerBase
*
parent
);
...
...
konqueror/konq_tabs.h
View file @
76ebce9f
...
...
@@ -85,7 +85,7 @@ public:
//inherited
virtual
void
reparentFrame
(
QWidget
*
parent
,
const
QPoint
&
p
,
bool
showIt
=
FALSE
);
const
QPoint
&
p
,
bool
showIt
=
false
);
void
moveTabBackward
(
int
index
);
void
moveTabForward
(
int
index
);
...
...
konqueror/listview/konq_listview.cc
View file @
76ebce9f
...
...
@@ -388,14 +388,14 @@ void KonqListView::slotSelect()
{
if
((
m_pListView
->
automaticSelection
())
&&
(
it
->
isSelected
()))
{
it
->
setSelected
(
FALSE
);
it
->
setSelected
(
false
);
//the following line is to prevent that more than one item were selected
//and now get deselected and automaticSelection() was true, this shouldn't happen
//but who knows, aleXXX
m_pListView
->
deactivateAutomaticSelection
();
};
if
(
re
.
exactMatch
(
it
->
text
(
0
)
)
)
it
->
setSelected
(
TRUE
);
it
->
setSelected
(
true
);
};
m_pListView
->
blockSignals
(
false
);
m_pListView
->
deactivateAutomaticSelection
();
...
...
@@ -411,15 +411,15 @@ void KonqListView::slotUnselect()
if
(
!
ok
)
return
;
QRegExp
re
(
pattern
,
TRUE
,
TRUE
);
QRegExp
re
(
pattern
,
true
,
true
);
m_pListView
->
blockSignals
(
TRUE
);
m_pListView
->
blockSignals
(
true
);
for
(
KonqBaseListViewWidget
::
iterator
it
=
m_pListView
->
begin
();
it
!=
m_pListView
->
end
();
it
++
)
if
(
re
.
exactMatch
(
it
->
text
(
0
)
)
)
it
->
setSelected
(
FALSE
);
it
->
setSelected
(
false
);
m_pListView
->
blockSignals
(
FALSE
);
m_pListView
->
blockSignals
(
false
);
m_pListView
->
deactivateAutomaticSelection
();
emit
m_pListView
->
selectionChanged
();
m_pListView
->
viewport
()
->
update
();
...
...
@@ -427,14 +427,14 @@ void KonqListView::slotUnselect()
void
KonqListView
::
slotSelectAll
()
{
m_pListView
->
selectAll
(
TRUE
);
m_pListView
->
selectAll
(
true
);
m_pListView
->
deactivateAutomaticSelection
();
emit
m_pListView
->
selectionChanged
();
}
void
KonqListView
::
slotUnselectAll
()
{
m_pListView
->
selectAll
(
FALSE
);
m_pListView
->
selectAll
(
false
);
m_pListView
->
deactivateAutomaticSelection
();
emit
m_pListView
->
selectionChanged
();
}
...
...
@@ -445,7 +445,7 @@ void KonqListView::slotInvertSelection()
if
((
m_pListView
->
automaticSelection
())
&&
(
m_pListView
->
currentItem
()
!=
0
)
&&
(
m_pListView
->
currentItem
()
->
isSelected
()))
m_pListView
->
currentItem
()
->
setSelected
(
FALSE
);
m_pListView
->
currentItem
()
->
setSelected
(
false
);
m_pListView
->
invertSelection
();
m_pListView
->
deactivateAutomaticSelection
();
...
...
@@ -542,7 +542,7 @@ void KonqListView::slotHeaderClicked(int sec)
if
(
nameOfSortColumn
!=
m_pListView
->
sortedByColumn
)
{
m_pListView
->
sortedByColumn
=
nameOfSortColumn
;
m_pListView
->
setAscending
(
TRUE
);
m_pListView
->
setAscending
(
true
);
}
else
m_pListView
->
setAscending
(
!
m_pListView
->
ascending
());
...
...
konqueror/listview/konq_textviewwidget.cc
View file @
76ebce9f
...
...
@@ -40,7 +40,7 @@ KonqTextViewWidget::KonqTextViewWidget( KonqListView *parent, QWidget *parentWid
// I know, but I want to have it this way and I use it all the time.
// If I want to have free space, I disable some columns.
// If people don't like it, they can use a different view type. Alex
setAllColumnsShowFocus
(
TRUE
);
setAllColumnsShowFocus
(
true
);
setRootIsDecorated
(
false
);
colors
[
KTVI_REGULAR
]
=
Qt
::
black
;
...
...
@@ -55,7 +55,7 @@ KonqTextViewWidget::KonqTextViewWidget( KonqListView *parent, QWidget *parentWid
colors
[
KTVI_CHARDEV
]
=
Qt
::
blue
;
colors
[
KTVI_BLOCKDEV
]
=
Qt
::
blue
;
m_showIcons
=
FALSE
;
m_showIcons
=
false
;
}
KonqTextViewWidget
::~
KonqTextViewWidget
()
...
...
konqueror/settings/konq/desktop.cpp
View file @
76ebce9f
...
...
@@ -194,7 +194,7 @@ void KDesktopConfig::save()
info
.
setNumberOfDesktops
(
_numInput
->
value
());
info
.
activate
();
XSync
(
QX11Info
::
display
(),
FALSE
);
XSync
(
QX11Info
::
display
(),
false
);
KConfig
*
desktopConfig
=
new
KConfig
(
"kdesktoprc"
);
desktopConfig
->
setGroup
(
"Mouse Buttons"
);
...
...
konqueror/settings/konqhtml/pluginopts.cpp
View file @
76ebce9f
...
...
@@ -573,7 +573,7 @@ void KPluginOptions::pluginLoad( KConfig* /*config*/ )
continue
;
}
QStringList
desc
=
QStringList
::
split
(
':'
,
line
,
TRUE
);
QStringList
desc
=
QStringList
::
split
(
':'
,
line
,
true
);
QString
mime
=
desc
[
0
].
trimmed
();
QString
name
=
desc
[
2
];
QString
suffixes
=
desc
[
1
];
...
...
konqueror/sidebar/trees/dirtree_module/dirtree_item.cpp
View file @
76ebce9f
...
...
@@ -113,7 +113,7 @@ void KonqSidebarDirTreeItem::paintCell( QPainter *_painter, const QColorGroup &
if
(
m_fileItem
->
isLink
())
{
QFont
f
(
_painter
->
font
()
);
f
.
setItalic
(
TRUE
);
f
.
setItalic
(
true
);
_painter
->
setFont
(
f
);
}
Q3ListViewItem
::
paintCell
(
_painter
,
_cg
,
_column
,
_width
,
_alignment
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment