Changeset 14540


Ignore:
Timestamp:
Jun 12, 2015, 10:41:36 PM (6 years ago)
Author:
mikedld
Message:

Instead of standard C headers include their C++ counterparts

Location:
trunk/qt
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/FileTreeItem.h

    r14539 r14540  
    1111#define QTR_FILE_TREE_ITEM_H
    1212
    13 #include <stdint.h>
     13#include <cstdint>
    1414
    1515#include <QCoreApplication>
  • trunk/qt/FileTreeModel.h

    r14539 r14540  
    1111#define QTR_FILE_TREE_MODEL_H
    1212
    13 #include <stdint.h>
     13#include <cstdint>
    1414
    1515#include <QAbstractItemModel>
  • trunk/qt/Formatter.h

    r14539 r14540  
    1111#define QTR_FORMATTER_H
    1212
    13 #include <stdint.h> // int64_t
     13#include <cstdint> // int64_t
    1414
    1515#include <QCoreApplication>
  • trunk/qt/FreeSpaceLabel.h

    r14539 r14540  
    1111#define QTR_FREE_SPACE_LABEL_H
    1212
    13 #include <stdint.h>
     13#include <cstdint>
    1414
    1515#include <QLabel>
  • trunk/qt/Prefs.cc

    r14539 r14540  
    88 */
    99
    10 #include <stdlib.h>
    11 
    1210#include <cassert>
     11#include <cstdlib>
    1312#include <iostream>
    1413
  • trunk/qt/TorrentModel.h

    r14539 r14540  
    5252    virtual QVariant data (const QModelIndex& index, int role = Qt::DisplayRole) const;
    5353
    54   signals:
    55     void torrentsAdded (QSet<int>);
    56 
    5754  public slots:
    5855    void updateTorrents (tr_variant * torrentList, bool isCompleteList);
    5956    void removeTorrents (tr_variant * torrentList);
    6057    void removeTorrent (int id);
     58
     59  signals:
     60    void torrentsAdded (QSet<int>);
    6161
    6262  private:
Note: See TracChangeset for help on using the changeset viewer.