diff options
Diffstat (limited to 'src/kreplacements/kreplacements.cpp')
-rw-r--r-- | src/kreplacements/kreplacements.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kreplacements/kreplacements.cpp b/src/kreplacements/kreplacements.cpp index c49adaf..084faf6 100644 --- a/src/kreplacements/kreplacements.cpp +++ b/src/kreplacements/kreplacements.cpp @@ -883,7 +883,7 @@ void KAboutData::addCredit(const char* name, const char* task, const char* email { "+[File3]", I18N_NOOP("file3 to open"), 0 }, */ //////////////// -static KCmdLineArgs s_cmdLineArgs; +static TDECmdLineArgs s_cmdLineArgs; static int s_argc; static char** s_argv; static KCmdLineOptions* s_pOptions; @@ -891,38 +891,38 @@ static KCmdLineOptions* s_pOptions; static std::vector<QCStringList> s_vOption; static std::vector<const char*> s_vArg; -KCmdLineArgs* KCmdLineArgs::parsedArgs() // static +TDECmdLineArgs* TDECmdLineArgs::parsedArgs() // static { return &s_cmdLineArgs; } -void KCmdLineArgs::init( int argc, char**argv, KAboutData* pAboutData ) // static +void TDECmdLineArgs::init( int argc, char**argv, KAboutData* pAboutData ) // static { s_argc = argc; s_argv = argv; s_pAboutData = pAboutData; } -void KCmdLineArgs::addCmdLineOptions( KCmdLineOptions* options ) // static +void TDECmdLineArgs::addCmdLineOptions( KCmdLineOptions* options ) // static { s_pOptions = options; } -int KCmdLineArgs::count() +int TDECmdLineArgs::count() { return s_vArg.size(); } -TQString KCmdLineArgs::arg(int idx) +TQString TDECmdLineArgs::arg(int idx) { return TQString::fromLocal8Bit( s_vArg[idx] ); } -void KCmdLineArgs::clear() +void TDECmdLineArgs::clear() { } -TQString KCmdLineArgs::getOption( const TQString& s ) +TQString TDECmdLineArgs::getOption( const TQString& s ) { // Find the option int j=0; @@ -941,7 +941,7 @@ TQString KCmdLineArgs::getOption( const TQString& s ) return TQString(); } -QCStringList KCmdLineArgs::getOptionList( const TQString& s ) +QCStringList TDECmdLineArgs::getOptionList( const TQString& s ) { // Find the option int j=0; @@ -961,7 +961,7 @@ QCStringList KCmdLineArgs::getOptionList( const TQString& s ) return QCStringList(); } -bool KCmdLineArgs::isSet(const TQString& s) +bool TDECmdLineArgs::isSet(const TQString& s) { // Find the option int j=0; |