Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
reference function in seperate file
Hello,
I am completely new with QT, so please understand the lack of basic knowledge.
I have a file called user.cpp which has functions I want to trigger when I press on a QT button called login_button.
I don't know how to call that function within the method login_Button_pressed() located in my QT interface header file. Or should I rather just include the necessary statements in user.cpp? How does this work??
I've already got the basic necessary code to run the application from user.cpp (exec(), etc).
Thanks for your help...
RE: reference function in seperate file
You should really get a good understanding of C++ prior to diving into Qt.