Advertisement
Guest User

tagtuple.h

a guest
Aug 11th, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef TAGTUPLE_H
  2. #define TAGTUPLE_H
  3.  
  4. #include <QString>
  5.  
  6. class TagTuple
  7. {
  8. public:
  9.     TagTuple();
  10.     TagTuple(const int& id, const QString& name);
  11.     TagTuple(const TagTuple& tagTuple);
  12.  
  13.     ~TagTuple();
  14.  
  15.     void setId(const int& id);
  16.     void setName(const QString& name);
  17.     int getId() const;
  18.     QString getName() const;
  19.  
  20. private:
  21.     int* id;
  22.     QString* name;
  23. };
  24.  
  25. #endif // TAGTUPLE_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement