CVS: rdesktop/uiports qtewin.cpp,NONE,1.1
Jay Sorg <[email protected]>
| Newsgroups | gmane.network.rdesktop.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/rdesktop/rdesktop/uiports
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9235
Added Files:
qtewin.cpp
Log Message:
added qtewin.cpp
--- NEW FILE: qtewin.cpp ---
/*
rdesktop: A Remote Desktop Protocol client.
User interface services - X Window System
Copyright (C) Matthew Chapman 1999-2004
qte.cpp by Jay Sorg
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
[...1689 lines suppressed...]
g_CM = NULL;
g_BS = NULL;
#ifdef SHARP
g_App = new QPEApplication(argc, argv);
#else
g_App = new QApplication(argc, argv, QApplication::GuiServer);
#endif
g_SV = new QMyScrollView();
g_App->setMainWidget(g_SV);
g_SV->showMaximized();
g_SV->timer_id = g_SV->startTimer(1000);
g_App->exec();
delete g_SV;
delete g_App;
if (g_CM != NULL)
xfree(g_CM);
if (g_BS !=NULL)
xfree(g_BS);
return 0;
}
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285