/usr/include/root/TQConnection.h is in libroot-core-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | // @(#)root/base:$Id$
// Author: Valeriy Onuchin & Fons Rademakers 15/10/2000
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TQConnection
#define ROOT_TQConnection
//////////////////////////////////////////////////////////////////////////
// //
// TQConnection class is an internal class, used in the object //
// communication mechanism. //
// //
// TQConnection: //
// - is a list of signal_lists containing pointers //
// to this connection //
// - receiver is the object to which slot-method is applied //
// //
// This implementation is provided by //
// Valeriy Onuchin (onuchin@sirius.ihep.su). //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TList
#include "TList.h"
#endif
#ifndef ROOT_TQObject
#include "TQObject.h"
#endif
#ifndef ROOT_Varargs
#include "Varargs.h"
#endif
class TQSlot;
class TQConnection : public TList, public TQObject {
protected:
TQSlot *fSlot; // slot-method calling interface
void *fReceiver; // ptr to object to which slot is applied
TString fClassName; // class name of the receiver
virtual void PrintCollectionHeader(Option_t* option) const;
private:
TQConnection &operator=(const TQConnection &); // Not yet implemented.
public:
TQConnection();
TQConnection(TClass* cl, void *receiver, const char *method_name);
TQConnection(const char *class_name, void *receiver,
const char *method_name);
TQConnection(const TQConnection &con);
virtual ~TQConnection();
const char *GetName() const;
void *GetReceiver() const { return fReceiver; }
const char *GetClassName() const { return fClassName; }
void Destroyed(); // *SIGNAL*
void ExecuteMethod();
void ExecuteMethod(Int_t nargs, va_list va);
void ExecuteMethod(Long_t param);
void ExecuteMethod(Long64_t param);
void ExecuteMethod(Double_t param);
void ExecuteMethod(Long_t *params, Int_t nparam = -1);
void ExecuteMethod(const char *params);
void ls(Option_t *option="") const;
ClassDef(TQConnection,0) // Internal class used in the object communication mechanism
};
R__EXTERN char *gTQSlotParams; // used to pass string parameters
#endif
|