Skip to content

Commit

Permalink
Refine OverviewPage includes
Browse files Browse the repository at this point in the history
 - remove unused headers
 - sort headers
 - ...
  • Loading branch information
dexX7 committed May 18, 2015
1 parent 89de359 commit 555a0c2
Showing 1 changed file with 24 additions and 39 deletions.
63 changes: 24 additions & 39 deletions src/qt/overviewpage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,48 +14,33 @@
#include "transactiontablemodel.h"
#include "walletmodel.h"

#include "wallet.h"

// potentially overzealous includes here
#include "base58.h"
#include "rpcserver.h"
#include "init.h"
#include "util.h"
#include <fstream>
#include <algorithm>
#include <vector>
#include <utility>
#include <string>
#include <boost/assign/list_of.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/find.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/format.hpp>
#include <boost/filesystem.hpp>
#include "json/json_spirit_utils.h"
#include "json/json_spirit_value.h"
#include "leveldb/db.h"
#include "leveldb/write_batch.h"
// end potentially overzealous includes
using namespace json_spirit; // since now using Array in mastercore.h this needs to come first

#include "mastercore.h"
using namespace mastercore;

// potentially overzealous using here
using namespace std;
using namespace boost;
using namespace boost::assign;
using namespace leveldb;
// end potentially overzealous using

#include "mastercore_dex.h"
#include "mastercore_tx.h"
#include "mastercore_sp.h"
#include "mastercore.h"

#include "main.h"

#include <sstream>
#include <string>

#include <QAbstractItemDelegate>
#include <QBrush>
#include <QColor>
#include <QDateTime>
#include <QHBoxLayout>
#include <QIcon>
#include <QLabel>
#include <QListWidgetItem>
#include <QPainter>
#include <QRect>
#include <QString>
#include <QStyleOptionViewItem>
#include <QVariant>
#include <QVBoxLayout>
#include <QWidget>

using std::ostringstream;
using std::string;

using namespace mastercore;

#define DECORATION_SIZE 64
#define NUM_ITEMS 6 // 3 - number of recent transactions to display
Expand Down

0 comments on commit 555a0c2

Please sign in to comment.