SHARE
TWEET

tagtuple.h

a guest Aug 11th, 2019 91 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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top