#include <QLineEdit>
#include <QInputDialog>
+#include <iomanip>
+
using std::endl;
using lyx::support::internalLineEnding;
using lyx::support::externalLineEnding;
-using std::endl;
using std::string;
static char const * const mime_type = "application/x-lyx";
return;
if (!initialiseParams(data)) {
- lyxerr << "Dialog \"" << name()
- << "\" failed to translate the data "
- "string passed to show()" << std::endl;
+ LYXERR(Debug::ANY, "Dialog \"" << name()
+ << "\" failed to translate the data string passed to show()");
return;
}
return;
if (!initialiseParams(data)) {
- lyxerr << "Dialog \"" << name()
- << "\" could not be initialized" << std::endl;
+ LYXERR(Debug::ANY, "Dialog \"" << name()
+ << "\" could not be initialized");
return;
}
#include <QPushButton>
#include <QCloseEvent>
-using std::endl;
using std::string;
ParIterator pit = buf.getParFromID(err.par_id);
if (pit == buf.par_iterator_end()) {
- lyxerr << "par id " << err.par_id << " not found" << endl;
+ LYXERR(Debug::ANY, "par id " << err.par_id << " not found");
return;
}
#include <QFontInfo>
#include <QFontDatabase>
-using std::endl;
using std::make_pair;
using std::pair;
/**
- * \file qt4/KeySymbolFactory.cpp
+ * \file qt4/GuiKeySymbol.cpp
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
#include "debug.h"
-#include "support/lstrings.h"
-#include "support/environment.h"
-#include "support/unicode.h"
-
#include "Encoding.h"
#include "Language.h"
#include <QEvent>
#include <QTextCodec>
+#include "boost/assert.hpp"
+
#include <map>
-namespace lyx {
-
-using std::endl;
using std::string;
using std::map;
-using lyx::support::contains;
-using lyx::support::getEnv;
+namespace lyx {
#if 0
static char encode(string const & encoding, QString const & str)
#include "GuiPopupMenu.h"
#include "qt_helpers.h"
-#include "support/lstrings.h"
#include "MenuBackend.h"
#include <QCursor>
#include <QMenuBar>
-using std::pair;
-using std::string;
-using std::endl;
namespace lyx {
namespace frontend {
#include "debug.h"
-using std::make_pair;
-using std::string;
-using std::pair;
-using std::endl;
-
-
namespace lyx {
namespace frontend {
#include <QString>
-using std::endl;
-
namespace lyx {
namespace frontend {
#include "support/docstring.h"
#include "support/lstrings.h"
-#include <QProgressBar>
-#include <QLineEdit>
-#include <QPushButton>
-#include <QListWidget>
#include <QListWidgetItem>
-#include <QCloseEvent>
-#include <QSyntaxHighlighter>
-#include <QTextCharFormat>
-#include <QTextDocument>
#if defined(USE_ASPELL)
# include "ASpell_local.h"
#include "frontends/alert.h"
-using std::advance;
-using std::distance;
-using std::endl;
using std::string;
#include <algorithm>
-using std::endl;
using std::string;
#include "ToolbarBackend.h"
-using std::endl;
using std::string;
namespace lyx {
#include <boost/assert.hpp>
-using std::endl;
-using std::map;
using std::max;
using std::min;
#include "debug.h"
#include <QHeaderView>
-#include <QPushButton>
-#include <QTreeWidgetItem>
#include <vector>
-using std::endl;
-using std::vector;
-
namespace lyx {
namespace frontend {
void TocWidget::updateGui()
{
- vector<docstring> const & type_names = form_.typeNames();
+ std::vector<docstring> const & type_names = form_.typeNames();
if (type_names.empty()) {
enableControls(false);
typeCO->clear();