parts/buglist/bugcounter.cpp
Go to the documentation of this file.00001 /*************************************************************************** 00002 bugcounter.cpp - description 00003 ------------------- 00004 begin : Sun Dec 3 2000 00005 copyright : (C) 2000 by Ivan Hawkes 00006 email : blackhawk@ivanhawkes.com 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #include "bugcounter.h" 00019 00020 00021 const QString BugCounter::GetNextID () 00022 { 00023 QString NextID; 00024 00025 LastBugNumber++; 00026 NextID.sprintf (Initials + "%05i", LastBugNumber); 00027 00028 return NextID; 00029 }