hrev52797 adds 1 changeset to branch 'master'
old head: 9edb207fab5cdd1da164954e616ea6dba30e826e
new head: aa7f93c54ccd81db58dedaf78e6fed173364de41
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=aa7f93c54ccd+%5E9edb207fab5c
----------------------------------------------------------------------------
aa7f93c54ccd: src/apps Code formatting
* No functional changes
code formatting changes only
Change-Id: I046ae21d9b288126022fe0bc2ddf827843765e70
Reviewed-on: https://review.haiku-os.org/c/896
Reviewed-by: Stephan Aßmus <superstippi@xxxxxx>
[ Rob Gill <rrobgill@xxxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev52797
Commit: aa7f93c54ccd81db58dedaf78e6fed173364de41
URL: https://git.haiku-os.org/haiku/commit/?id=aa7f93c54ccd
Author: Rob Gill <rrobgill@xxxxxxxxxxxxxx>
Date: Fri Jan 25 00:09:37 2019 UTC
Committer: Stephan Aßmus <superstippi@xxxxxx>
Commit-Date: Fri Jan 25 12:40:34 2019 UTC
----------------------------------------------------------------------------
25 files changed, 101 insertions(+), 99 deletions(-)
src/apps/aboutsystem/HyperTextActions.cpp | 6 ++--
src/apps/aboutsystem/HyperTextView.cpp | 2 +-
src/apps/charactermap/Jamfile | 4 +--
src/apps/cortex/addons/AudioAdapter/Jamfile | 2 +-
src/apps/debuganalyzer/DebugAnalyzer.cpp | 2 +-
src/apps/debugger/Debugger.cpp | 6 ++--
.../gui/team_window/TeamWindow.cpp | 20 ++++++------
src/apps/debugger/util/SignalSet.h | 6 ++--
src/apps/deskcalc/CalcView.cpp | 16 ++++-----
src/apps/expander/ExpanderThread.cpp | 2 +-
src/apps/glteapot/ObjectView.cpp | 2 +-
.../import_export/svg/SVGImporter.cpp | 2 +-
src/apps/mail/MailApp.cpp | 4 +--
src/apps/mandelbrot/Jamfile | 4 +--
.../interface/TransportControlGroup.cpp | 10 +++---
src/apps/overlayimage/OverlayView.cpp | 34 +++++++++++---------
src/apps/packageinstaller/PackageInfo.cpp | 22 ++++++-------
src/apps/softwareupdater/Jamfile | 4 +--
.../softwareupdater/SoftwareUpdaterWindow.cpp | 10 +++---
src/apps/sudoku/Jamfile | 4 +--
src/apps/text_search/Grepper.cpp | 2 +-
src/apps/webpositive/AuthenticationPanel.cpp | 2 +-
src/apps/webpositive/AuthenticationPanel.h | 4 +--
src/apps/webpositive/tabview/TabManager.cpp | 22 ++++++-------
src/apps/webpositive/tabview/TabManager.h | 8 ++---
----------------------------------------------------------------------------
diff --git a/src/apps/aboutsystem/HyperTextActions.cpp
b/src/apps/aboutsystem/HyperTextActions.cpp
index be45453d06..2d0784d7fe 100644
--- a/src/apps/aboutsystem/HyperTextActions.cpp
+++ b/src/apps/aboutsystem/HyperTextActions.cpp
@@ -63,11 +63,11 @@ OpenFileAction::Clicked(HyperTextView* view, BPoint where,
BMessage* message)
return;
}
- BMessenger tracker("application/x-vnd.Be-TRAK");
- if (tracker.IsValid()) {
+ BMessenger tracker("application/x-vnd.Be-TRAK");
+ if (tracker.IsValid()) {
BMessage message(B_REFS_RECEIVED);
message.AddRef("refs", &ref);
tracker.SendMessage(&message);
} else
- be_roster->Launch(&ref);
+ be_roster->Launch(&ref);
}
diff --git a/src/apps/aboutsystem/HyperTextView.cpp
b/src/apps/aboutsystem/HyperTextView.cpp
index d1bc4e6e4a..e058af7bc1 100644
--- a/src/apps/aboutsystem/HyperTextView.cpp
+++ b/src/apps/aboutsystem/HyperTextView.cpp
@@ -197,7 +197,7 @@ HyperTextView::_ActionAt(const BPoint& where) const
ActionInfo pointer(offset, offset + 1, NULL);
- const ActionInfo* action = fActionInfos->BinarySearch(pointer,
+ const ActionInfo* action = fActionInfos->BinarySearch(pointer,
ActionInfo::CompareEqualIfIntersecting);
if (action != NULL) {
// verify that the text region was hit
diff --git a/src/apps/charactermap/Jamfile b/src/apps/charactermap/Jamfile
index b4d625a4eb..dbba32fbc2 100644
--- a/src/apps/charactermap/Jamfile
+++ b/src/apps/charactermap/Jamfile
@@ -17,8 +17,8 @@ Application CharacterMap :
;
DoCatalogs CharacterMap :
- x-vnd.Haiku-CharacterMap
- :
+ x-vnd.Haiku-CharacterMap
+ :
CharacterMap.cpp
CharacterView.cpp
CharacterWindow.cpp
diff --git a/src/apps/cortex/addons/AudioAdapter/Jamfile
b/src/apps/cortex/addons/AudioAdapter/Jamfile
index 9d30d97584..5c5db27499 100644
--- a/src/apps/cortex/addons/AudioAdapter/Jamfile
+++ b/src/apps/cortex/addons/AudioAdapter/Jamfile
@@ -12,7 +12,7 @@ Addon cortex_audioadapter.media_addon :
AudioAdapterParams.cpp
# audioOps/
- AudioAdapterOp.cpp
+ AudioAdapterOp.cpp
# common/
AudioBuffer.cpp
diff --git a/src/apps/debuganalyzer/DebugAnalyzer.cpp
b/src/apps/debuganalyzer/DebugAnalyzer.cpp
index d319604165..b66c318ad5 100644
--- a/src/apps/debuganalyzer/DebugAnalyzer.cpp
+++ b/src/apps/debuganalyzer/DebugAnalyzer.cpp
@@ -66,7 +66,7 @@ printf("ReadyToRun()\n");
}
- virtual void RefsReceived(BMessage* message)
+ virtual void RefsReceived(BMessage* message)
{
printf("RefsReceived()\n");
}
diff --git a/src/apps/debugger/Debugger.cpp b/src/apps/debugger/Debugger.cpp
index 9f05d45f0a..8ced015a2d 100644
--- a/src/apps/debugger/Debugger.cpp
+++ b/src/apps/debugger/Debugger.cpp
@@ -80,9 +80,9 @@ static const char* const kUsage =
static void
print_usage_and_exit(bool error)
{
- fprintf(error ? stderr : stdout, kUsage, kProgramName, kProgramName,
- kProgramName, kProgramName, kProgramName);
- exit(error ? 1 : 0);
+ fprintf(error ? stderr : stdout, kUsage, kProgramName, kProgramName,
+ kProgramName, kProgramName, kProgramName);
+ exit(error ? 1 : 0);
}
diff --git a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
index 50f72f92e0..54ecd762da 100644
--- a/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
+++ b/src/apps/debugger/user_interface/gui/team_window/TeamWindow.cpp
@@ -441,9 +441,9 @@ TeamWindow::MessageReceived(BMessage* message)
fInspectorWindow->LoadSettings(fUiSettings);
fInspectorWindow->Show();
}
- } catch (...) {
- // TODO: notify user
- }
+ } catch (...) {
+ // TODO: notify user
+ }
}
target_addr_t address;
@@ -452,7 +452,7 @@ TeamWindow::MessageReceived(BMessage* message)
addressMessage.AddUInt64("address", address);
fInspectorWindow->PostMessage(&addressMessage);
}
- break;
+ break;
}
case MSG_INSPECTOR_WINDOW_CLOSED:
{
@@ -520,9 +520,9 @@ TeamWindow::MessageReceived(BMessage* message)
fTeam, fListener, this);
if (fTeamSettingsWindow != NULL)
fTeamSettingsWindow->Show();
- } catch (...) {
- // TODO: notify user
- }
+ } catch (...) {
+ // TODO: notify user
+ }
}
break;
}
@@ -550,9 +550,9 @@ TeamWindow::MessageReceived(BMessage* message)
fTeam, breakpoint, fListener,
this);
if (fBreakpointEditWindow != NULL)
fBreakpointEditWindow->Show();
- } catch (...) {
- // TODO: notify user
- }
+ } catch (...) {
+ // TODO: notify user
+ }
}
break;
}
diff --git a/src/apps/debugger/util/SignalSet.h
b/src/apps/debugger/util/SignalSet.h
index 082c9026e8..beea2c42dd 100644
--- a/src/apps/debugger/util/SignalSet.h
+++ b/src/apps/debugger/util/SignalSet.h
@@ -120,7 +120,7 @@ status_t
SignalSet::BlockInCurrentThread(SignalSet* oldMask) const
{
return pthread_sigmask(SIG_BLOCK, &fSignals,
- oldMask != NULL ? &oldMask->fSignals : NULL);
+ oldMask != NULL ? &oldMask->fSignals : NULL);
}
@@ -128,7 +128,7 @@ status_t
SignalSet::UnblockInCurrentThread(SignalSet* oldMask) const
{
return pthread_sigmask(SIG_UNBLOCK, &fSignals,
- oldMask != NULL ? &oldMask->fSignals : NULL);
+ oldMask != NULL ? &oldMask->fSignals : NULL);
}
@@ -136,7 +136,7 @@ status_t
SignalSet::SetCurrentThreadSignalMask(SignalSet* oldMask) const
{
return pthread_sigmask(SIG_SETMASK, &fSignals,
- oldMask != NULL ? &oldMask->fSignals : NULL);
+ oldMask != NULL ? &oldMask->fSignals : NULL);
}
diff --git a/src/apps/deskcalc/CalcView.cpp b/src/apps/deskcalc/CalcView.cpp
index 2b7d510be6..dbbb74c5a2 100644
--- a/src/apps/deskcalc/CalcView.cpp
+++ b/src/apps/deskcalc/CalcView.cpp
@@ -86,14 +86,14 @@ const char *kKeypadDescriptionBasic = B_TRANSLATE_MARK(
// scientific mode keypad layout
const char *kKeypadDescriptionScientific = B_TRANSLATE_MARK(
- "ln sin cos tan π \n"
- "log asin acos atan sqrt \n"
- "exp sinh cosh tanh cbrt \n"
- "! ceil floor E ^ \n"
- "7 8 9 ( ) \n"
- "4 5 6 * / \n"
- "1 2 3 + - \n"
- "0 . BS = C \n");
+ "ln sin cos tan π \n"
+ "log asin acos atan sqrt \n"
+ "exp sinh cosh tanh cbrt \n"
+ "! ceil floor E ^ \n"
+ "7 8 9 ( ) \n"
+ "4 5 6 * / \n"
+ "1 2 3 + - \n"
+ "0 . BS = C \n");
enum {
diff --git a/src/apps/expander/ExpanderThread.cpp
b/src/apps/expander/ExpanderThread.cpp
index d0e9c843c0..15721be2fd 100644
--- a/src/apps/expander/ExpanderThread.cpp
+++ b/src/apps/expander/ExpanderThread.cpp
@@ -224,7 +224,7 @@ ExpanderThread::PipeCommand(int argc, const char** argv,
int& in, int& out,
// create a tty for stdin, as utilities don't generally use stdin
int master = posix_openpt(O_RDWR);
if (master < 0)
- return -1;
+ return -1;
int slave;
const char* ttyName;
diff --git a/src/apps/glteapot/ObjectView.cpp b/src/apps/glteapot/ObjectView.cpp
index 6849aa6ea9..f23ea79a5c 100644
--- a/src/apps/glteapot/ObjectView.cpp
+++ b/src/apps/glteapot/ObjectView.cpp
@@ -558,7 +558,7 @@ ObjectView::FrameResized(float width, float height)
width = Bounds().Width();
height = Bounds().Height();
fYxRatio = height / width;
- glViewport(0, 0, (GLint)width + 1, (GLint)height + 1);
+ glViewport(0, 0, (GLint)width + 1, (GLint)height + 1);
// To prevent weird buffer contents
glClear(GL_COLOR_BUFFER_BIT);
diff --git a/src/apps/icon-o-matic/import_export/svg/SVGImporter.cpp
b/src/apps/icon-o-matic/import_export/svg/SVGImporter.cpp
index 761497ee9b..280ac80c61 100644
--- a/src/apps/icon-o-matic/import_export/svg/SVGImporter.cpp
+++ b/src/apps/icon-o-matic/import_export/svg/SVGImporter.cpp
@@ -69,7 +69,7 @@ SVGImporter::Import(Icon* icon, const entry_ref* ref)
return B_ERROR;
}
- try {
+ try {
agg::svg::DocumentBuilder builder;
agg::svg::Parser parser(builder);
parser.parse(path.Path());
diff --git a/src/apps/mail/MailApp.cpp b/src/apps/mail/MailApp.cpp
index c8791fa57c..6536324b67 100644
--- a/src/apps/mail/MailApp.cpp
+++ b/src/apps/mail/MailApp.cpp
@@ -433,8 +433,8 @@ TMailApp::QuitRequested()
if (!BApplication::QuitRequested())
return false;
- fMailWindowFrame = fLastMailWindowFrame;
- // Last closed window becomes standard window size.
+ fMailWindowFrame = fLastMailWindowFrame;
+ // Last closed window becomes standard window size.
// Shut down the spam server if it's still running. If the user has
trained it on a message, it will stay
// open. This is actually a good thing if there's quite a bit of spam
-- no waiting for the thing to start
diff --git a/src/apps/mandelbrot/Jamfile b/src/apps/mandelbrot/Jamfile
index 9f1cf31def..690ddce62d 100644
--- a/src/apps/mandelbrot/Jamfile
+++ b/src/apps/mandelbrot/Jamfile
@@ -12,7 +12,7 @@ Application Mandelbrot :
;
DoCatalogs Mandelbrot :
- x-vnd.Haiku-Mandelbrot
- :
+ x-vnd.Haiku-Mandelbrot
+ :
Mandelbrot.cpp
;
diff --git a/src/apps/mediaplayer/interface/TransportControlGroup.cpp
b/src/apps/mediaplayer/interface/TransportControlGroup.cpp
index 3a4c06c8d7..a298845eea 100644
--- a/src/apps/mediaplayer/interface/TransportControlGroup.cpp
+++ b/src/apps/mediaplayer/interface/TransportControlGroup.cpp
@@ -81,7 +81,7 @@ TransportControlGroup::TransportControlGroup(BRect frame,
bool useSkipButtons,
fSeekLayout = seekGroup->GroupLayout();
GroupLayout()->AddView(seekGroup);
- // Seek slider
+ // Seek slider
fSeekSlider = new SeekSlider("seek slider", new BMessage(MSG_SEEK),
0, kPositionFactor);
fSeekLayout->AddView(fSeekSlider);
@@ -89,11 +89,11 @@ TransportControlGroup::TransportControlGroup(BRect frame,
bool useSkipButtons,
fPositionToolTip = new PositionToolTip();
fSeekSlider->SetToolTip(fPositionToolTip);
- // Duration view
+ // Duration view
fDurationView = new DurationView("duration view");
fSeekLayout->AddView(fDurationView);
- // Buttons
+ // Buttons
uint32 topBottomBorder = BControlLook::B_TOP_BORDER
| BControlLook::B_BOTTOM_BORDER;
@@ -285,8 +285,8 @@ TransportControlGroup::MessageReceived(BMessage* message)
}
default:
- BView::MessageReceived(message);
- break;
+ BView::MessageReceived(message);
+ break;
}
}
diff --git a/src/apps/overlayimage/OverlayView.cpp
b/src/apps/overlayimage/OverlayView.cpp
index 0e7c33d77b..17e6b442c5 100644
--- a/src/apps/overlayimage/OverlayView.cpp
+++ b/src/apps/overlayimage/OverlayView.cpp
@@ -24,22 +24,22 @@
#define B_TRANSLATION_CONTEXT "Main view"
const float kDraggerSize = 7;
-
-OverlayView::OverlayView(BRect frame)
+
+OverlayView::OverlayView(BRect frame)
:
BView(frame, "OverlayImage", B_FOLLOW_NONE, B_WILL_DRAW)
{
fBitmap = NULL;
fReplicated = false;
-
+
frame.left = frame.right - kDraggerSize;
frame.top = frame.bottom - kDraggerSize;
BDragger *dragger = new BDragger(frame, this, B_FOLLOW_RIGHT |
B_FOLLOW_BOTTOM);
AddChild(dragger);
-
+
SetViewColor(B_TRANSPARENT_COLOR);
-
+
fText = new BTextView(Bounds(), "bgView", Bounds(), B_FOLLOW_ALL,
B_WILL_DRAW);
fText->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
rgb_color color = ui_color(B_PANEL_TEXT_COLOR);
@@ -58,7 +58,7 @@ OverlayView::OverlayView(BRect frame)
}
-OverlayView::OverlayView(BMessage *archive)
+OverlayView::OverlayView(BMessage *archive)
:
BView(archive)
{
@@ -88,11 +88,11 @@ void
OverlayView::MessageReceived(BMessage *msg)
{
switch (msg->what) {
- case B_SIMPLE_DATA:
+ case B_SIMPLE_DATA:
{
if (fReplicated)
break;
-
+
entry_ref ref;
msg->FindRef("refs", &ref);
BEntry entry(&ref);
@@ -100,13 +100,13 @@ OverlayView::MessageReceived(BMessage *msg)
delete fBitmap;
fBitmap = BTranslationUtils::GetBitmap(path.Path());
-
+
if (fBitmap != NULL) {
if (fText != NULL) {
RemoveChild(fText);
fText = NULL;
}
-
+
BRect rect = fBitmap->Bounds();
if (!fReplicated) {
Window()->ResizeTo(rect.right,
rect.bottom);
@@ -117,9 +117,11 @@ OverlayView::MessageReceived(BMessage *msg)
}
break;
}
- case B_ABOUT_REQUESTED:
- OverlayAboutRequested();
- break;
+ case B_ABOUT_REQUESTED:
+ {
+ OverlayAboutRequested();
+ break;
+ }
case B_COLORS_UPDATED:
{
rgb_color color;
@@ -153,7 +155,7 @@ OverlayView::Archive(BMessage *archive, bool deep) const
fBitmap->Lock();
fBitmap->Archive(archive);
fBitmap->Unlock();
- }
+ }
//archive->PrintToStream();
return B_OK;
@@ -169,7 +171,7 @@ OverlayView::OverlayAboutRequested()
"originally by Seth Flaxman\n\t"
"modified by Hartmuth Reh\n\t"
"further modified by Humdinger\n",
- "OK");
+ "OK");
BTextView *view = alert->TextView();
BFont font;
view->SetStylable(true);
@@ -177,6 +179,6 @@ OverlayView::OverlayAboutRequested()
font.SetSize(font.Size() + 7.0f);
font.SetFace(B_BOLD_FACE);
view->SetFontAndColor(0, 12, &font);
- alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);
+ alert->SetFlags(alert->Flags() | B_CLOSE_ON_ESCAPE);
alert->Go();
}
diff --git a/src/apps/packageinstaller/PackageInfo.cpp
b/src/apps/packageinstaller/PackageInfo.cpp
index 55aa9ec15b..c976610bd7 100644
--- a/src/apps/packageinstaller/PackageInfo.cpp
+++ b/src/apps/packageinstaller/PackageInfo.cpp
@@ -46,17 +46,17 @@ enum {
};
typedef enum {
- B_BEBOX_PLATFORM = 0,
- B_MAC_PLATFORM,
- B_AT_CLONE_PLATFORM,
- B_ENIAC_PLATFORM,
- B_APPLE_II_PLATFORM,
- B_CRAY_PLATFORM,
- B_LISA_PLATFORM,
- B_TI_994A_PLATFORM,
- B_TIMEX_SINCLAIR_PLATFORM,
- B_ORAC_1_PLATFORM,
- B_HAL_PLATFORM,
+ B_BEBOX_PLATFORM = 0,
+ B_MAC_PLATFORM,
+ B_AT_CLONE_PLATFORM,
+ B_ENIAC_PLATFORM,
+ B_APPLE_II_PLATFORM,
+ B_CRAY_PLATFORM,
+ B_LISA_PLATFORM,
+ B_TI_994A_PLATFORM,
+ B_TIMEX_SINCLAIR_PLATFORM,
+ B_ORAC_1_PLATFORM,
+ B_HAL_PLATFORM,
B_INVALID_PLATFORM
} platform_type;
diff --git a/src/apps/softwareupdater/Jamfile b/src/apps/softwareupdater/Jamfile
index e9d845d713..c960256076 100644
--- a/src/apps/softwareupdater/Jamfile
+++ b/src/apps/softwareupdater/Jamfile
@@ -22,8 +22,8 @@ Application SoftwareUpdater :
;
DoCatalogs SoftwareUpdater :
- x-vnd.haiku-softwareupdater
- :
+ x-vnd.haiku-softwareupdater
+ :
CheckAction.cpp
CheckManager.cpp
SoftwareUpdaterApp.cpp
diff --git a/src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
b/src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
index 95fff6496f..afcd2b80e8 100644
--- a/src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
+++ b/src/apps/softwareupdater/SoftwareUpdaterWindow.cpp
@@ -863,9 +863,9 @@ PackageItem::DrawItem(BView* owner, BRect item_rect, bool
complete)
owner->PushState();
float width = owner->Frame().Width();
- float nameWidth = width / 2.0;
- float offsetWidth = 0;
- bool showMoreDetails = fSuperItem->GetDetailLevel();
+ float nameWidth = width / 2.0;
+ float offsetWidth = 0;
+ bool showMoreDetails = fSuperItem->GetDetailLevel();
BBitmap* icon = fSuperItem->GetIcon(showMoreDetails);
if (icon != NULL && icon->IsValid()) {
@@ -886,8 +886,8 @@ PackageItem::DrawItem(BView* owner, BRect item_rect, bool
complete)
owner->SetHighColor(ui_color(B_LIST_ITEM_TEXT_COLOR));
// Package name
- BString name(fName);
- owner->TruncateString(&name, B_TRUNCATE_END, nameWidth);
+ BString name(fName);
+ owner->TruncateString(&name, B_TRUNCATE_END, nameWidth);
BPoint cursor(item_rect.left + offsetWidth,
item_rect.bottom - fSmallTotalHeight - fSmallFontHeight.descent
- 2);
if (showMoreDetails)
diff --git a/src/apps/sudoku/Jamfile b/src/apps/sudoku/Jamfile
index 7f7176eb6d..de717d3473 100644
--- a/src/apps/sudoku/Jamfile
+++ b/src/apps/sudoku/Jamfile
@@ -16,8 +16,8 @@ Application Sudoku :
;
DoCatalogs Sudoku :
- x-vnd.Haiku-Sudoku
- :
+ x-vnd.Haiku-Sudoku
+ :
ProgressWindow.cpp
Sudoku.cpp
SudokuGenerator.cpp
diff --git a/src/apps/text_search/Grepper.cpp b/src/apps/text_search/Grepper.cpp
index 95ac3c4ea7..e03bafc3b1 100644
--- a/src/apps/text_search/Grepper.cpp
+++ b/src/apps/text_search/Grepper.cpp
@@ -364,7 +364,7 @@ Grepper::_RunnerThread()
}
fd_set readSet;
- struct timeval timeout = { 0, 100000 };
+ struct timeval timeout = { 0, 100000 };
char line[B_PATH_NAME_LENGTH * 2];
FILE* output = fdopen(out, "r");
diff --git a/src/apps/webpositive/AuthenticationPanel.cpp
b/src/apps/webpositive/AuthenticationPanel.cpp
index c9e095a173..51840095ca 100644
--- a/src/apps/webpositive/AuthenticationPanel.cpp
+++ b/src/apps/webpositive/AuthenticationPanel.cpp
@@ -83,7 +83,7 @@ AuthenticationPanel::MessageReceived(BMessage* message)
int32 selectionEnd;
m_passwordTextControl->TextView()->GetSelection(&selectionStart,
&selectionEnd);
- m_passwordTextControl->TextView()->HideTyping(
+ m_passwordTextControl->TextView()->HideTyping(
m_hidePasswordCheckBox->Value() == B_CONTROL_ON);
m_passwordTextControl->SetText(text.String());
m_passwordTextControl->TextView()->Select(selectionStart,
diff --git a/src/apps/webpositive/AuthenticationPanel.h
b/src/apps/webpositive/AuthenticationPanel.h
index cb8b91410b..f18dc2bef8 100644
--- a/src/apps/webpositive/AuthenticationPanel.h
+++ b/src/apps/webpositive/AuthenticationPanel.h
@@ -14,7 +14,7 @@ class BTextControl;
class AuthenticationPanel : public BWindow {
public:
- AuthenticationPanel(BRect parentFrame = BRect());
+ AuthenticationPanel(BRect parentFrame = BRect());
virtual ~AuthenticationPanel();
virtual bool QuitRequested();
@@ -27,7 +27,7 @@ public:
bool* rememberCredentials);
private:
- BRect m_parentWindowFrame;
+ BRect m_parentWindowFrame;
BTextControl* m_usernameTextControl;
BTextControl* m_passwordTextControl;
BCheckBox* m_hidePasswordCheckBox;
diff --git a/src/apps/webpositive/tabview/TabManager.cpp
b/src/apps/webpositive/tabview/TabManager.cpp
index 07284b6127..e957d2d980 100644
--- a/src/apps/webpositive/tabview/TabManager.cpp
+++ b/src/apps/webpositive/tabview/TabManager.cpp
@@ -701,9 +701,9 @@
TabManagerController::SetDoubleClickOutsideTabsMessage(const BMessage& message,
TabManager::TabManager(const BMessenger& target, BMessage* newTabMessage)
- :
- fController(new TabManagerController(this)),
- fTarget(target)
+ :
+ fController(new TabManagerController(this)),
+ fTarget(target)
{
fController->SetDoubleClickOutsideTabsMessage(*newTabMessage,
be_app_messenger);
@@ -749,14 +749,14 @@ TabManager::~TabManager()
void
TabManager::SetTarget(const BMessenger& target)
{
- fTarget = target;
+ fTarget = target;
}
const BMessenger&
TabManager::Target() const
{
- return fTarget;
+ return fTarget;
}
@@ -826,9 +826,9 @@ TabManager::SelectTab(int32 tabIndex)
fCardLayout->SetVisibleItem(tabIndex);
fTabContainerView->SelectTab(tabIndex);
- BMessage message(TAB_CHANGED);
- message.AddInt32("tab index", tabIndex);
- fTarget.SendMessage(&message);
+ BMessage message(TAB_CHANGED);
+ message.AddInt32("tab index", tabIndex);
+ fTarget.SendMessage(&message);
}
@@ -851,9 +851,9 @@ TabManager::SelectedTabIndex() const
void
TabManager::CloseTab(int32 tabIndex)
{
- BMessage message(CLOSE_TAB);
- message.AddInt32("tab index", tabIndex);
- fTarget.SendMessage(&message);
+ BMessage message(CLOSE_TAB);
+ message.AddInt32("tab index", tabIndex);
+ fTarget.SendMessage(&message);
}
diff --git a/src/apps/webpositive/tabview/TabManager.h
b/src/apps/webpositive/tabview/TabManager.h
index f2f676a7d7..f64425b116 100644
--- a/src/apps/webpositive/tabview/TabManager.h
+++ b/src/apps/webpositive/tabview/TabManager.h
@@ -11,8 +11,8 @@
#include <TabView.h>
enum {
- TAB_CHANGED = 'tcha',
- CLOSE_TAB = 'cltb'
+ TAB_CHANGED = 'tcha',
+ CLOSE_TAB = 'cltb'
};
class BBitmap;
@@ -25,8 +25,8 @@ class TabManagerController;
class TabManager {
public:
- TabManager(const
BMessenger& target,
- BMessage*
newTabMessage);
+
TabManager(const BMessenger& target,
+
BMessage* newTabMessage);
virtual ~TabManager();
void SetTarget(const
BMessenger& target);