Compare commits

...

12 Commits

Author SHA1 Message Date
TDE Gitea 3bab0c8154 Merge translation files from master branch.
3 days ago
Michele Calgaro 650b6c3f10
Replace Qt with TQt
1 month ago
Michele Calgaro 8ffd2696e1
Remove unnecessary files
1 month ago
Michele Calgaro 300f52dfff
Use centralized cmake version
2 months ago
Michele Calgaro 222407dabc
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
4 months ago
Michele Calgaro 44470b8aac
Replace various '#define' strings - part 6
5 months ago
TDE Gitea 7132d1d768 Merge translation files from master branch.
5 months ago
TDE Gitea d8fcd4faba Merge translation files from master branch.
5 months ago
Slávek Banko 804f4f35f4
Raise the minimum required version of CMake to 3.5.
6 months ago
Michele Calgaro 5d02ccb1c9
Replace Qt with TQt
6 months ago
Michele Calgaro 6f80ce0b81
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
7 months ago
Michele Calgaro ad3b4bf4de
Replace Q_OBJECT with TQ_OBJECT
10 months ago

@ -9,7 +9,11 @@
# #
################################################# #################################################
cmake_minimum_required( VERSION 3.1 )
##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules ################# ##### include our cmake modules #################

@ -7,7 +7,11 @@
############################################ ############################################
cmake_minimum_required( VERSION 3.1 ) ##### set project version ########################
include( TDEVersion )
cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
tde_set_project_version( )
#### general package setup #### general package setup
@ -31,11 +35,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros ) include( TDEMacros )
##### set version number ########################
tde_set_project_version( )
##### setup install paths ##### setup install paths
include( TDESetupPaths ) include( TDESetupPaths )

@ -1,246 +0,0 @@
# Doxyfile 1.3.4-KDevelop
#---------------------------------------------------------------------------
# Project related configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = krename.tdevelop
PROJECT_NUMBER =
OUTPUT_DIRECTORY =
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
BRIEF_MEMBER_DESC = YES
REPEAT_BRIEF = YES
ABBREVIATE_BRIEF = "The $name class" \
"The $name widget" \
"The $name file" \
is \
provides \
specifies \
contains \
represents \
a \
an \
the
ALWAYS_DETAILED_SEC = NO
INLINE_INHERITED_MEMB = NO
FULL_PATH_NAMES = NO
STRIP_FROM_PATH =
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = NO
MULTILINE_CPP_IS_BRIEF = NO
DETAILS_AT_TOP = NO
INHERIT_DOCS = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 8
ALIASES =
OPTIMIZE_OUTPUT_FOR_C = NO
OPTIMIZE_OUTPUT_JAVA = NO
SUBGROUPING = YES
#---------------------------------------------------------------------------
# Build related configuration options
#---------------------------------------------------------------------------
EXTRACT_ALL = NO
EXTRACT_PRIVATE = NO
EXTRACT_STATIC = NO
EXTRACT_LOCAL_CLASSES = YES
HIDE_UNDOC_MEMBERS = NO
HIDE_UNDOC_CLASSES = NO
HIDE_FRIEND_COMPOUNDS = NO
HIDE_IN_BODY_DOCS = NO
INTERNAL_DOCS = NO
CASE_SENSE_NAMES = YES
HIDE_SCOPE_NAMES = NO
SHOW_INCLUDE_FILES = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
GENERATE_TODOLIST = YES
GENERATE_TESTLIST = YES
GENERATE_BUGLIST = YES
GENERATE_DEPRECATEDLIST= YES
ENABLED_SECTIONS =
MAX_INITIALIZER_LINES = 30
SHOW_USED_FILES = YES
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
QUIET = NO
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES
WARN_FORMAT = "$file:$line: $text"
WARN_LOGFILE =
#---------------------------------------------------------------------------
# configuration options related to the input files
#---------------------------------------------------------------------------
INPUT = /home/dominik/Desktop/Programming/krename
FILE_PATTERNS = *.c \
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.C \
*.H \
*.tlh \
*.diff \
*.patch \
*.moc \
*.xpm \
*.dox
RECURSIVE = yes
EXCLUDE =
EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS =
EXAMPLE_PATH =
EXAMPLE_PATTERNS = *
EXAMPLE_RECURSIVE = NO
IMAGE_PATH =
INPUT_FILTER =
FILTER_SOURCE_FILES = NO
#---------------------------------------------------------------------------
# configuration options related to source browsing
#---------------------------------------------------------------------------
SOURCE_BROWSER = NO
INLINE_SOURCES = NO
STRIP_CODE_COMMENTS = YES
REFERENCED_BY_RELATION = YES
REFERENCES_RELATION = YES
VERBATIM_HEADERS = YES
#---------------------------------------------------------------------------
# configuration options related to the alphabetical class index
#---------------------------------------------------------------------------
ALPHABETICAL_INDEX = NO
COLS_IN_ALPHA_INDEX = 5
IGNORE_PREFIX =
#---------------------------------------------------------------------------
# configuration options related to the HTML output
#---------------------------------------------------------------------------
GENERATE_HTML = YES
HTML_OUTPUT = html
HTML_FILE_EXTENSION = .html
HTML_HEADER =
HTML_FOOTER =
HTML_STYLESHEET =
HTML_ALIGN_MEMBERS = YES
GENERATE_HTMLHELP = NO
CHM_FILE =
HHC_LOCATION =
GENERATE_CHI = NO
BINARY_TOC = NO
TOC_EXPAND = NO
DISABLE_INDEX = NO
ENUM_VALUES_PER_LINE = 4
GENERATE_TREEVIEW = NO
TREEVIEW_WIDTH = 250
#---------------------------------------------------------------------------
# configuration options related to the LaTeX output
#---------------------------------------------------------------------------
GENERATE_LATEX = YES
LATEX_OUTPUT = latex
LATEX_CMD_NAME = latex
MAKEINDEX_CMD_NAME = makeindex
COMPACT_LATEX = NO
PAPER_TYPE = a4wide
EXTRA_PACKAGES =
LATEX_HEADER =
PDF_HYPERLINKS = NO
USE_PDFLATEX = NO
LATEX_BATCHMODE = NO
LATEX_HIDE_INDICES = NO
#---------------------------------------------------------------------------
# configuration options related to the RTF output
#---------------------------------------------------------------------------
GENERATE_RTF = NO
RTF_OUTPUT = rtf
COMPACT_RTF = NO
RTF_HYPERLINKS = NO
RTF_STYLESHEET_FILE =
RTF_EXTENSIONS_FILE =
#---------------------------------------------------------------------------
# configuration options related to the man page output
#---------------------------------------------------------------------------
GENERATE_MAN = NO
MAN_OUTPUT = man
MAN_EXTENSION = .3
MAN_LINKS = NO
#---------------------------------------------------------------------------
# configuration options related to the XML output
#---------------------------------------------------------------------------
GENERATE_XML = yes
XML_OUTPUT = xml
XML_SCHEMA =
XML_DTD =
XML_PROGRAMLISTING = YES
#---------------------------------------------------------------------------
# configuration options for the AutoGen Definitions output
#---------------------------------------------------------------------------
GENERATE_AUTOGEN_DEF = NO
#---------------------------------------------------------------------------
# configuration options related to the Perl module output
#---------------------------------------------------------------------------
GENERATE_PERLMOD = NO
PERLMOD_LATEX = NO
PERLMOD_PRETTY = YES
PERLMOD_MAKEVAR_PREFIX =
#---------------------------------------------------------------------------
# Configuration options related to the preprocessor
#---------------------------------------------------------------------------
ENABLE_PREPROCESSING = YES
MACRO_EXPANSION = NO
EXPAND_ONLY_PREDEF = NO
SEARCH_INCLUDES = YES
INCLUDE_PATH =
INCLUDE_FILE_PATTERNS =
PREDEFINED =
EXPAND_AS_DEFINED =
SKIP_FUNCTION_MACROS = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to external references
#---------------------------------------------------------------------------
TAGFILES =
GENERATE_TAGFILE =
ALLEXTERNALS = NO
EXTERNAL_GROUPS = YES
PERL_PATH = /usr/bin/perl
#---------------------------------------------------------------------------
# Configuration options related to the dot tool
#---------------------------------------------------------------------------
CLASS_DIAGRAMS = YES
HIDE_UNDOC_RELATIONS = YES
HAVE_DOT = NO
CLASS_GRAPH = YES
COLLABORATION_GRAPH = YES
UML_LOOK = NO
TEMPLATE_RELATIONS = NO
INCLUDE_GRAPH = YES
INCLUDED_BY_GRAPH = YES
CALL_GRAPH = NO
GRAPHICAL_HIERARCHY = YES
DOT_IMAGE_FORMAT = png
DOT_PATH =
DOTFILE_DIRS =
MAX_DOT_GRAPH_WIDTH = 1024
MAX_DOT_GRAPH_HEIGHT = 1024
MAX_DOT_GRAPH_DEPTH = 1000
GENERATE_LEGEND = YES
DOT_CLEANUP = YES
#---------------------------------------------------------------------------
# Configuration::addtions related to the search engine
#---------------------------------------------------------------------------
SEARCHENGINE = NO

@ -208,7 +208,7 @@ Hello, as you live in germany I assume you speak German. If not,
Wenn man ueber den dsdirselectdialog Dateien/Ordner hinzufuegt und Wenn man ueber den dsdirselectdialog Dateien/Ordner hinzufuegt und
die Anzahl enorm ist (70gb mp3s), wird die aktuelle kde session die Anzahl enorm ist (70gb mp3s), wird die aktuelle kde session
beendet. Man kann noch den Crash-Handler sehen. Wahrscheinlich ist beendet. Man kann noch den Crash-Handler sehen. Wahrscheinlich ist
das ein Bug in KFileDialog oder in Qt. Als Ausweg kann man das ein Bug in KFileDialog oder in TQt. Als Ausweg kann man
natuerlich die Dateien via D'n'D hinzufuegen, allerdings kann hat natuerlich die Dateien via D'n'D hinzufuegen, allerdings kann hat
man dann nicht die vielseitigen Optionen des Dialogs. man dann nicht die vielseitigen Optionen des Dialogs.
@ -235,7 +235,7 @@ Die oben genannten Vorschlaege sind nicht unbedingt als eine
Ich waere bereit an diesem Projekt mitzuarbeiten, obgleich meine Ich waere bereit an diesem Projekt mitzuarbeiten, obgleich meine
Programmierfaehigkeiten eher im Hobbybereich liegen. Dennoch habe Programmierfaehigkeiten eher im Hobbybereich liegen. Dennoch habe
ich schon Erfahrungen mit KDE/Qt gesammelt. ich schon Erfahrungen mit TDE/TQt gesammelt.
MfG, MfG,
Christian Goehl Christian Goehl

@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35. .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.35.
.TH QT: "1" "September 2005" "Qt: 3.3.5" "User Commands" .TH TQt: "1" "September 2005" "TQt: 3.3.5" "User Commands"
.SH NAME .SH NAME
Qt: \- manual page for Qt: 3.3.5 TQt: \- manual page for TQt: 3.3.5
.SH SYNOPSIS .SH SYNOPSIS
.B krename .B krename
[\fIQt-options\fR] [\fITDE-options\fR] [\fIfile\fR] [\fIQt-options\fR] [\fITDE-options\fR] [\fIfile\fR]
@ -18,8 +18,8 @@ See help files for details.
\fB\-\-help\fR \fB\-\-help\fR
Show help about options Show help about options
.TP .TP
\fB\-\-help\-qt\fR \fB\-\-help\-tqt\fR
Show Qt specific options Show TQt specific options
.TP .TP
\fB\-\-help\-tde\fR \fB\-\-help\-tde\fR
Show TDE specific options Show TDE specific options
@ -75,13 +75,13 @@ KDE: 3.4.2
KRename: 3.0.8 KRename: 3.0.8
.SH "SEE ALSO" .SH "SEE ALSO"
The full documentation for The full documentation for
.B Qt: .B TQt:
is maintained as a Texinfo manual. If the is maintained as a Texinfo manual. If the
.B info .B info
and and
.B Qt: .B TQt:
programs are properly installed at your site, the command programs are properly installed at your site, the command
.IP .IP
.B info Qt: .B info TQt:
.PP .PP
should give you access to the complete manual. should give you access to the complete manual.

@ -1,195 +0,0 @@
<!DOCTYPE tdevelop>
<tdevelop>
<general>
<author>Dominik Seichter</author>
<email>domseichter@web.de</email>
<projectmanagement>KDevKDEAutoProject</projectmanagement>
<primarylanguage>C++</primarylanguage>
<keywords>
<keyword>KDE</keyword>
<keyword>Qt</keyword>
</keywords>
<projectdirectory>.</projectdirectory>
<absoluteprojectpath>false</absoluteprojectpath>
<version>3.0.3</version>
<description/>
<ignoreparts/>
<secondaryLanguages/>
</general>
<kdevautoproject>
<general>
<mainprogram>krename</mainprogram>
<useconfiguration>default</useconfiguration>
<activetarget>krename/krename</activetarget>
</general>
<configure>
<configargs>\s--build=i386-linux --host=i386-linux --target=i386-linux --prefix=/opt/trinity\s</configargs>
</configure>
<make>
<abortonerror>false</abortonerror>
<numberofjobs>1</numberofjobs>
<dontact>false</dontact>
<makebin/>
<envvars>
<envvar value="1" name="WANT_AUTOCONF_2_5" />
<envvar value="1" name="WANT_AUTOMAKE_1_6" />
</envvars>
</make>
<compiler>
<cflags/>
<cxxflags>\s-O2 -g2 -Wall</cxxflags>
</compiler>
<run>
<directoryradio>executable</directoryradio>
<customdirectory>/</customdirectory>
<mainprogram>krename/krename</mainprogram>
<programargs/>
<terminal>false</terminal>
<autocompile>true</autocompile>
<envvars/>
</run>
<configurations>
<default>
<configargs/>
<builddir/>
<topsourcedir/>
<cppflags/>
<ldflags/>
<ccompiler>kdevgccoptions</ccompiler>
<cxxcompiler>kdevgppoptions</cxxcompiler>
<f77compiler>kdevg77options</f77compiler>
<ccompilerbinary/>
<cxxcompilerbinary/>
<f77compilerbinary/>
<cflags/>
<cxxflags/>
<f77flags/>
</default>
<debug>
<configargs>--enable-debug</configargs>
<builddir>debug</builddir>
<topsourcedir/>
<cppflags/>
<ldflags/>
<ccompiler>kdevgccoptions</ccompiler>
<cxxcompiler>kdevgppoptions</cxxcompiler>
<f77compiler>kdevg77options</f77compiler>
<ccompilerbinary/>
<cxxcompilerbinary/>
<f77compilerbinary/>
<cflags/>
<cxxflags/>
<f77flags/>
</debug>
</configurations>
</kdevautoproject>
<kdevfileview>
<groups>
<group pattern="*.h;*.hh;*.hxx;*.hpp;*.H" name="Header" />
<group pattern="*.cpp;*.c;*.cc;*.C;*.cxx;*.ec;*.ecpp;*.lxx;*.l++;*.ll;*.l" name="Quellen" />
<group pattern="*.kdevdlg;*.ui;*.rc" name="Benutzerschnittstelle" />
<group pattern="*.po" name="Übersetzungen" />
<group pattern="AUTHORS;COPYING;ChangeLog;INSTALL;README;TODO;NEWS" name="GNU" />
<group pattern="*.html;*.HTML;*.htm;*.html" name="Documentation" />
<group pattern="*" name="Andere" />
<hidenonprojectfiles>false</hidenonprojectfiles>
<hidenonlocation>false</hidenonlocation>
</groups>
<tree>
<hidepatterns>*.o,*.lo,CVS</hidepatterns>
<hidenonprojectfiles>false</hidenonprojectfiles>
<showvcsfields>false</showvcsfields>
</tree>
</kdevfileview>
<kdevdoctreeview>
<ignoretocs>
<toc>gtk</toc>
<toc>gnustep</toc>
<toc>python</toc>
<toc>php</toc>
<toc>perl</toc>
</ignoretocs>
<projectdoc>
<userdocDir>html/</userdocDir>
<apidocDir>html/</apidocDir>
</projectdoc>
<ignoreqt_xml/>
<ignoredoxygen/>
<ignorekdocs/>
<ignoredevhelp/>
</kdevdoctreeview>
<kdevdebugger>
<general>
<dbgshell>libtool</dbgshell>
<programargs/>
<gdbpath/>
<configGdbScript/>
<runShellScript/>
<runGdbScript/>
<breakonloadinglibs>true</breakonloadinglibs>
<separatetty>false</separatetty>
<floatingtoolbar>false</floatingtoolbar>
</general>
<display>
<staticmembers>true</staticmembers>
<demanglenames>true</demanglenames>
<outputradix>10</outputradix>
</display>
</kdevdebugger>
<kdevcppsupport>
<references/>
<codecompletion>
<includeGlobalFunctions>true</includeGlobalFunctions>
<includeTypes>true</includeTypes>
<includeEnums>true</includeEnums>
<includeTypedefs>false</includeTypedefs>
<automaticCodeCompletion>true</automaticCodeCompletion>
<automaticArgumentsHint>true</automaticArgumentsHint>
<automaticHeaderCompletion>true</automaticHeaderCompletion>
<codeCompletionDelay>250</codeCompletionDelay>
<argumentsHintDelay>400</argumentsHintDelay>
<headerCompletionDelay>250</headerCompletionDelay>
</codecompletion>
</kdevcppsupport>
<kdevfilecreate>
<filetypes/>
<useglobaltypes/>
</kdevfilecreate>
<cppsupportpart>
<filetemplates>
<interfacesuffix>.h</interfacesuffix>
<implementationsuffix>.cpp</implementationsuffix>
</filetemplates>
</cppsupportpart>
<dist>
<custom>false</custom>
<bzip>false</bzip>
<archname/>
<appname/>
<version/>
<release/>
<vendor/>
<licence/>
<summary/>
<group/>
<packager/>
<description/>
<changelog/>
<devpackage>false</devpackage>
<docspackage>false</docspackage>
<appicon>false</appicon>
<arch>0</arch>
<genHTML>false</genHTML>
<useRPM>false</useRPM>
<ftpkde>false</ftpkde>
<appskde>false</appskde>
<url/>
</dist>
<kdevcvsservice>
<recursivewhenupdate>true</recursivewhenupdate>
<prunedirswhenupdate>true</prunedirswhenupdate>
<createdirswhenupdate>true</createdirswhenupdate>
<recursivewhencommitremove>true</recursivewhencommitremove>
<revertoptions>-C</revertoptions>
</kdevcvsservice>
</tdevelop>

@ -15,13 +15,13 @@
* * * *
***************************************************************************/ ***************************************************************************/
// QT Includes // TQt Includes
#include <tqlayout.h> #include <tqlayout.h>
#include <tqprogressbar.h> #include <tqprogressbar.h>
#include <tqtimer.h> #include <tqtimer.h>
#include <tqtooltip.h> #include <tqtooltip.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelistview.h> #include <tdelistview.h>
@ -78,11 +78,11 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
buttonUndo->setEnabled( false ); buttonUndo->setEnabled( false );
mnuButton = new TDEPopupMenu( this ); mnuButton = new TDEPopupMenu( this );
mnuButton->insertItem( i18n("Restart KRename..."), this, TQT_SLOT( restart() )); mnuButton->insertItem( i18n("Restart KRename..."), this, TQ_SLOT( restart() ));
mnuButton->insertSeparator(); mnuButton->insertSeparator();
mnuButton->insertItem( i18n("Rename Processed Files &Again..."), this, TQT_SLOT( again() ), 0, MNU_DONE_ID ); mnuButton->insertItem( i18n("Rename Processed Files &Again..."), this, TQ_SLOT( again() ), 0, MNU_DONE_ID );
mnuButton->insertItem( i18n("Rename Unprocessed Files &Again..."), this, TQT_SLOT( unAgain() ), 0, MNU_ERROR_ID ); mnuButton->insertItem( i18n("Rename Unprocessed Files &Again..."), this, TQ_SLOT( unAgain() ), 0, MNU_ERROR_ID );
mnuButton->insertItem( i18n("Rename All Files &Again..."), this, TQT_SLOT( allAgain() )); mnuButton->insertItem( i18n("Rename All Files &Again..."), this, TQ_SLOT( allAgain() ));
buttonRestart = new KPushButton( this ); buttonRestart = new KPushButton( this );
buttonRestart->setText( i18n( "&Rename More..." ) ); buttonRestart->setText( i18n( "&Rename More..." ) );
buttonRestart->setPopup( mnuButton ); buttonRestart->setPopup( mnuButton );
@ -110,15 +110,15 @@ ProgressDialog::ProgressDialog( TQWidget* parent, const char* name, WFlags fl )
ProgressDialogLayout->addWidget( display ); ProgressDialogLayout->addWidget( display );
ProgressDialogLayout->addLayout( Layout1 ); ProgressDialogLayout->addLayout( Layout1 );
connect( buttonClose, TQT_SIGNAL(clicked()), this, TQT_SLOT(quitAll())); connect( buttonClose, TQ_SIGNAL(clicked()), this, TQ_SLOT(quitAll()));
connect( buttonOpenDest, TQT_SIGNAL(clicked()), this, TQT_SLOT(openDest())); connect( buttonOpenDest, TQ_SIGNAL(clicked()), this, TQ_SLOT(openDest()));
connect( buttonCancel, TQT_SIGNAL( clicked()), this, TQT_SLOT(canceled() )); connect( buttonCancel, TQ_SIGNAL( clicked()), this, TQ_SLOT(canceled() ));
connect( buttonUndo, TQT_SIGNAL( clicked() ), this, TQT_SLOT( undo() ) ); connect( buttonUndo, TQ_SIGNAL( clicked() ), this, TQ_SLOT( undo() ) );
m_count = 0; m_count = 0;
m_canceled = false; m_canceled = false;
m_timer = new TQTimer( this, "m_timer" ); m_timer = new TQTimer( this, "m_timer" );
connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotTimer() ) ); connect( m_timer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotTimer() ) );
hide(); hide();
} }

@ -43,7 +43,7 @@ class TQHBoxLayout;
class TQVBoxLayout; class TQVBoxLayout;
class ProgressDialog : public TQWidget class ProgressDialog : public TQWidget
{ {
Q_OBJECT TQ_OBJECT
public: public:
ProgressDialog( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); ProgressDialog( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );

@ -32,11 +32,11 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
// QT includes // TQt includes
#include <tqdir.h> #include <tqdir.h>
#include <tqregexp.h> #include <tqregexp.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdeio/job.h> #include <tdeio/job.h>
#include <tdeio/netaccess.h> #include <tdeio/netaccess.h>

@ -17,12 +17,12 @@
#include "commandplugin.h" #include "commandplugin.h"
// QT includes // TQt includes
#include <tqcheckbox.h> #include <tqcheckbox.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlayout.h> #include <tqlayout.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdeconfig.h> #include <tdeconfig.h>
#include <kiconloader.h> #include <kiconloader.h>
@ -93,9 +93,9 @@ void CommandPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
vb->setStretchFactor( list, 2 ); vb->setStretchFactor( list, 2 );
l->addLayout( vb ); l->addLayout( vb );
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( add() ) ); connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( add() ) );
connect( buttonRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( remove() ) ); connect( buttonRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( remove() ) );
connect( list, TQT_SIGNAL( executed( TQListBoxItem* ) ), this, TQT_SLOT( exec() ) ); connect( list, TQ_SIGNAL( executed( TQListBoxItem* ) ), this, TQ_SLOT( exec() ) );
TDEConfig* conf = kapp->config(); TDEConfig* conf = kapp->config();
conf->setGroup("CommandPlugin"); conf->setGroup("CommandPlugin");

@ -28,7 +28,7 @@ class KLineEdit;
class TDEListBox; class TDEListBox;
class KPushButton; class KPushButton;
class CommandPlugin : public Plugin { class CommandPlugin : public Plugin {
Q_OBJECT TQ_OBJECT
public: public:
const TQString getName() const; const TQString getName() const;

@ -18,14 +18,14 @@
// Own includes // Own includes
#include "confdialog.h" #include "confdialog.h"
// QT includes // TQt includes
#include <tqbuttongroup.h> #include <tqbuttongroup.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <tqradiobutton.h> #include <tqradiobutton.h>
#include <tqtooltip.h> #include <tqtooltip.h>
// KDE includes // TDE includes
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
@ -37,7 +37,7 @@ ConfDialog::ConfDialog( TQWidget* parent, const char* name )
setupTab1(); setupTab1();
setupTab2(); setupTab2();
connect( this, TQT_SIGNAL( defaultClicked() ), this, TQT_SLOT( defaults() ) ); connect( this, TQ_SIGNAL( defaultClicked() ), this, TQ_SLOT( defaults() ) );
} }
ConfDialog::~ConfDialog() ConfDialog::~ConfDialog()
@ -52,7 +52,7 @@ void ConfDialog::setupTab1()
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
TQButtonGroup* group = new TQButtonGroup( box ); TQButtonGroup* group = new TQButtonGroup( box );
group->setColumnLayout(0, Qt::Vertical ); group->setColumnLayout(0, TQt::Vertical );
TQVBoxLayout* lgroup = new TQVBoxLayout( group->layout() ); TQVBoxLayout* lgroup = new TQVBoxLayout( group->layout() );
optionWizard = new TQRadioButton( group ); optionWizard = new TQRadioButton( group );

@ -18,10 +18,10 @@
#ifndef CONFDIALOG_H #ifndef CONFDIALOG_H
#define CONFDIALOG_H #define CONFDIALOG_H
// QT includes // TQt includes
#include <tqcheckbox.h> #include <tqcheckbox.h>
// KDE includes // TDE includes
#include <kdialogbase.h> #include <kdialogbase.h>
#include <knuminput.h> #include <knuminput.h>
@ -32,7 +32,7 @@ class TQVBoxLayout;
class TQWidget; class TQWidget;
class KIntNumInput; class KIntNumInput;
class ConfDialog : public KDialogBase, public GUIModeSelector { class ConfDialog : public KDialogBase, public GUIModeSelector {
Q_OBJECT TQ_OBJECT
public: public:
ConfDialog( TQWidget* parent = 0, const char* name = 0 ); ConfDialog( TQWidget* parent = 0, const char* name = 0 );

@ -24,7 +24,7 @@
#include <tqlayout.h> #include <tqlayout.h>
#include <tqvalidator.h> #include <tqvalidator.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdelocale.h> #include <tdelocale.h>
@ -56,7 +56,7 @@ CoordDialog::CoordDialog( const TQString & file, TQWidget *_parent, const char *
filename = new DSLineEdit( parent ); filename = new DSLineEdit( parent );
filename->setText( file ); filename->setText( file );
filename->setValidator( new TQRegExpValidator( TQRegExp( file ), TQT_TQOBJECT(this) ) ); filename->setValidator( new TQRegExpValidator( TQRegExp( file ), this ) );
preview = new TQLabel( parent ); preview = new TQLabel( parent );
@ -69,10 +69,10 @@ CoordDialog::CoordDialog( const TQString & file, TQWidget *_parent, const char *
layout->addWidget( preview ); layout->addWidget( preview );
updateCommand(); updateCommand();
connect( filename, TQT_SIGNAL( selectionChanged() ), this, TQT_SLOT( updateCommand() ) ); connect( filename, TQ_SIGNAL( selectionChanged() ), this, TQ_SLOT( updateCommand() ) );
connect( checkInvert, TQT_SIGNAL( clicked() ), this, TQT_SLOT( updateCommand() ) ); connect( checkInvert, TQ_SIGNAL( clicked() ), this, TQ_SLOT( updateCommand() ) );
connect( filename, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( resetText() ) ); connect( filename, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( resetText() ) );
connect( filename, TQT_SIGNAL( changed() ), this, TQT_SLOT( updateCommand() ) ); connect( filename, TQ_SIGNAL( changed() ), this, TQ_SLOT( updateCommand() ) );
show(); show();

@ -23,7 +23,7 @@
class TQKeyEvent; class TQKeyEvent;
class DSLineEdit : public KLineEdit { class DSLineEdit : public KLineEdit {
Q_OBJECT TQ_OBJECT
public: public:
DSLineEdit( TQWidget* parent = 0, const char* name = 0 ); DSLineEdit( TQWidget* parent = 0, const char* name = 0 );
@ -46,7 +46,7 @@ class TQString;
* the coordinates of a filename using an [x;y] token. * the coordinates of a filename using an [x;y] token.
*/ */
class CoordDialog : public KDialogBase { class CoordDialog : public KDialogBase {
Q_OBJECT TQ_OBJECT
public: public:
CoordDialog( const TQString & file, TQWidget *_parent=0, const char *name=0); CoordDialog( const TQString & file, TQWidget *_parent=0, const char *name=0);

@ -19,7 +19,7 @@
// TQt includes // TQt includes
#include <tqdatetime.h> #include <tqdatetime.h>
// KDE includes // TDE includes
#include <tdefileitem.h> #include <tdefileitem.h>
#include <tdeio/netaccess.h> #include <tdeio/netaccess.h>
#include <tdelocale.h> #include <tdelocale.h>

@ -17,14 +17,14 @@
#include "datetime.h" #include "datetime.h"
// QT includes // TQt includes
#include <tqcheckbox.h> #include <tqcheckbox.h>
#include <tqfileinfo.h> #include <tqfileinfo.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <tqpushbutton.h> #include <tqpushbutton.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <kdatepik.h> #include <kdatepik.h>
@ -119,7 +119,7 @@ void MyDatePlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addLayout( Layout0 ); l->addLayout( Layout0 );
connect( buttonCurrentDT, TQT_SIGNAL(clicked()), this, TQT_SLOT(changeDT())); connect( buttonCurrentDT, TQ_SIGNAL(clicked()), this, TQ_SLOT(changeDT()));
#endif #endif
} }

@ -42,7 +42,7 @@ class TQString;
class TQWidget; class TQWidget;
class MyDatePlugin: public Plugin { class MyDatePlugin: public Plugin {
Q_OBJECT TQ_OBJECT
public: public:
const TQString getName() const; const TQString getName() const;

@ -25,7 +25,7 @@
#include <tqtooltip.h> #include <tqtooltip.h>
#include <tqvbox.h> #include <tqvbox.h>
// KDE includes // TDE includes
#include <tdediroperator.h> #include <tdediroperator.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <kurlcombobox.h> #include <kurlcombobox.h>
@ -51,7 +51,7 @@ DSDirSelectDialog::DSDirSelectDialog( TQWidget* parent )
checkHidden = new TQCheckBox( i18n("Add &hidden directories"), hbox ); checkHidden = new TQCheckBox( i18n("Add &hidden directories"), hbox );
hbox->setStretchFactor( checkHidden, 4 ); hbox->setStretchFactor( checkHidden, 4 );
checkOnlyDir = new TQCheckBox( i18n("Add directory names only"), vbox ); checkOnlyDir = new TQCheckBox( i18n("Add directory names only"), vbox );
connect( check, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() )); connect( check, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ));
TQToolTip::add( check, i18n("Walk recursively through the directory tree and add also the content of all subdirectories to the list of files to rename.") ); TQToolTip::add( check, i18n("Walk recursively through the directory tree and add also the content of all subdirectories to the list of files to rename.") );
TQToolTip::add( checkHidden, i18n("If not checked, KRename will ignore directories starting with a dot during recursive adding.") ); TQToolTip::add( checkHidden, i18n("If not checked, KRename will ignore directories starting with a dot during recursive adding.") );

@ -26,7 +26,7 @@ class KComboBox;
/* A small helper class to allow layout changes in KDirSelectDialog */ /* A small helper class to allow layout changes in KDirSelectDialog */
class DSDirSelectDialog : public KFileDialog { class DSDirSelectDialog : public KFileDialog {
Q_OBJECT TQ_OBJECT
public: public:

@ -17,7 +17,7 @@
#include "encodingplugin.h" #include "encodingplugin.h"
// QT includes // TQt includes
#include <tqcheckbox.h> #include <tqcheckbox.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlayout.h> #include <tqlayout.h>
@ -25,7 +25,7 @@
#include <tqvgroupbox.h> #include <tqvgroupbox.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kcombobox.h> #include <kcombobox.h>
#include <kiconloader.h> #include <kiconloader.h>
@ -80,11 +80,11 @@ void EncodingPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupInput ); l->addWidget( groupInput );
l->addWidget( groupOutput ); l->addWidget( groupOutput );
connect( checkInput, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) ); connect( checkInput, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
connect( checkOutput, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) ); connect( checkOutput, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
connect( comboOutput, TQT_SIGNAL( activated(int) ),this, TQT_SLOT( updatePreview() ) ); connect( comboOutput, TQ_SIGNAL( activated(int) ),this, TQ_SLOT( updatePreview() ) );
connect( comboInput, TQT_SIGNAL( activated(int) ),this, TQT_SLOT( updatePreview() ) ); connect( comboInput, TQ_SIGNAL( activated(int) ),this, TQ_SLOT( updatePreview() ) );
setLocale( comboInput ); setLocale( comboInput );
setLocale( comboOutput ); setLocale( comboOutput );

@ -28,7 +28,7 @@ class KComboBox;
class TQCheckBox; class TQCheckBox;
class EncodingPlugin : public Plugin { class EncodingPlugin : public Plugin {
Q_OBJECT TQ_OBJECT
public: public:
const TQString getName() const; const TQString getName() const;

@ -15,13 +15,13 @@
* * * *
***************************************************************************/ ***************************************************************************/
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <tdeio/netaccess.h> #include <tdeio/netaccess.h>
#include <tdeio/job.h> #include <tdeio/job.h>
// QT includes // TQt includes
#include <tqeventloop.h> #include <tqeventloop.h>
#include <tqfileinfo.h> #include <tqfileinfo.h>
@ -83,8 +83,8 @@ bool FileOperation::start( const KURL & src, const KURL & dest, int mode, bool o
return false; return false;
job->setAutoErrorHandlingEnabled( false, 0 ); job->setAutoErrorHandlingEnabled( false, 0 );
connect( job, TQT_SIGNAL( result (TDEIO::Job *) ), connect( job, TQ_SIGNAL( result (TDEIO::Job *) ),
this, TQT_SLOT( slotResult (TDEIO::Job *) ) ); this, TQ_SLOT( slotResult (TDEIO::Job *) ) );
kapp->eventLoop()->enterLoop(); kapp->eventLoop()->enterLoop();
return !result; return !result;

@ -24,7 +24,7 @@
class TQString; class TQString;
class FileOperation: public TQObject { class FileOperation: public TQObject {
Q_OBJECT TQ_OBJECT
public: public:
FileOperation(); FileOperation();

@ -23,7 +23,7 @@
#include <tqlayout.h> #include <tqlayout.h>
#include <tqregexp.h> #include <tqregexp.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdefilemetainfo.h> #include <tdefilemetainfo.h>
#include <klineedit.h> #include <klineedit.h>

@ -38,7 +38,7 @@ class TQWidget;
class TQVBoxLayout; class TQVBoxLayout;
class KFilePlugin; class KFilePlugin;
class FilePlugin : public Plugin { class FilePlugin : public Plugin {
Q_OBJECT TQ_OBJECT
public: public:
FilePlugin( KService* service ); FilePlugin( KService* service );

@ -23,7 +23,7 @@
#include "guimodeselector.h" #include "guimodeselector.h"
class FirstStartDlg : public KDialogBase, public GUIModeSelector { class FirstStartDlg : public KDialogBase, public GUIModeSelector {
Q_OBJECT TQ_OBJECT
public: public:
FirstStartDlg(TQWidget *parent=0, const char *name=0); FirstStartDlg(TQWidget *parent=0, const char *name=0);

@ -24,7 +24,7 @@
#include <tqlayout.h> #include <tqlayout.h>
#include <tqradiobutton.h> #include <tqradiobutton.h>
// KDE includes // TDE includes
#include <tdelocale.h> #include <tdelocale.h>
GUIModeSelector::GUIModeSelector() GUIModeSelector::GUIModeSelector()
@ -58,7 +58,7 @@ void GUIModeSelector::createFrame( TQFrame* frame )
TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding ); TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Minimum, TQSizePolicy::Expanding );
TQButtonGroup* group = new TQButtonGroup( frame ); TQButtonGroup* group = new TQButtonGroup( frame );
group->setColumnLayout(0, Qt::Vertical ); group->setColumnLayout(0, TQt::Vertical );
TQVBoxLayout* lgroup = new TQVBoxLayout( group->layout() ); TQVBoxLayout* lgroup = new TQVBoxLayout( group->layout() );
optionWizard = new TQRadioButton( group ); optionWizard = new TQRadioButton( group );

@ -22,7 +22,7 @@
#include <tqlayout.h> #include <tqlayout.h>
#include <tqlineedit.h> #include <tqlineedit.h>
// KDE includes // TDE includes
#include <tdelocale.h> #include <tdelocale.h>
#include <tdelistview.h> #include <tdelistview.h>
#include <kpushbutton.h> #include <kpushbutton.h>
@ -95,20 +95,20 @@ HelpDialog::HelpDialog( HelpDialogData* data, TQWidget* parent,
HelpDialogLayout->addLayout( Layout1 ); HelpDialogLayout->addLayout( Layout1 );
// signals and slots connections // signals and slots connections
connect( buttonClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) ); connect( buttonClose, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( execute() ) ); connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( execute() ) );
connect( list, TQT_SIGNAL( executed(TQListViewItem*) ), this, TQT_SLOT( execute() ) ); connect( list, TQ_SIGNAL( executed(TQListViewItem*) ), this, TQ_SLOT( execute() ) );
connect( comboHeadline, TQT_SIGNAL( activated(int) ), this, TQT_SLOT(updateItems() ) ); connect( comboHeadline, TQ_SIGNAL( activated(int) ), this, TQ_SLOT(updateItems() ) );
m_data = data; m_data = data;
connect( m_data, TQT_SIGNAL( updateItems() ), this, TQT_SLOT( updateItems() ) ); connect( m_data, TQ_SIGNAL( updateItems() ), this, TQ_SLOT( updateItems() ) );
connect( m_data, TQT_SIGNAL( updateHeadline() ), this, TQT_SLOT( updateHeadline() ) ); connect( m_data, TQ_SIGNAL( updateHeadline() ), this, TQ_SLOT( updateHeadline() ) );
} }
HelpDialog::~HelpDialog() HelpDialog::~HelpDialog()
{ {
disconnect( m_data, TQT_SIGNAL( updateItems() ), this, TQT_SLOT( updateItems() ) ); disconnect( m_data, TQ_SIGNAL( updateItems() ), this, TQ_SLOT( updateItems() ) );
disconnect( m_data, TQT_SIGNAL( updateHeadline() ), this, TQT_SLOT( updateHeadline() ) ); disconnect( m_data, TQ_SIGNAL( updateHeadline() ), this, TQ_SLOT( updateHeadline() ) );
} }
void HelpDialog::execute() void HelpDialog::execute()

@ -33,7 +33,7 @@ class TDEListView;
class KPushButton; class KPushButton;
class HelpDialogData : public TQObject { class HelpDialogData : public TQObject {
Q_OBJECT TQ_OBJECT
public: public:
HelpDialogData() {} HelpDialogData() {}
@ -74,7 +74,7 @@ class HelpDialogData : public TQObject {
class HelpDialog : public TQDialog class HelpDialog : public TQDialog
{ {
Q_OBJECT TQ_OBJECT
public: public:
HelpDialog( HelpDialogData* data, TQWidget* parent = 0, HelpDialog( HelpDialogData* data, TQWidget* parent = 0,

@ -15,7 +15,7 @@
* * * *
***************************************************************************/ ***************************************************************************/
// QT includes // TQt includes
#include <tqlistbox.h> #include <tqlistbox.h>
// Own includes // Own includes
@ -55,11 +55,11 @@ KMyHistoryCombo::KMyHistoryCombo( bool customPopup, TQWidget* parent, const char
setCompletionMode( (TDEGlobalSettings::Completion)config->readNumEntry( "CompletionMode", setCompletionMode( (TDEGlobalSettings::Completion)config->readNumEntry( "CompletionMode",
TDEGlobalSettings::completionMode() ) ); TDEGlobalSettings::completionMode() ) );
connect( this, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( textChangedGovernor() ) ); connect( this, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( textChangedGovernor() ) );
connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SIGNAL( delayedTextChanged() ) ); connect( m_timer, TQ_SIGNAL( timeout() ), this, TQ_SIGNAL( delayedTextChanged() ) );
if( customPopup ) if( customPopup )
connect( this, TQT_SIGNAL( aboutToShowContextMenu( TQPopupMenu* ) ), this, TQT_SLOT( slotCustomContextMenu( TQPopupMenu* ) ) ); connect( this, TQ_SIGNAL( aboutToShowContextMenu( TQPopupMenu* ) ), this, TQ_SLOT( slotCustomContextMenu( TQPopupMenu* ) ) );
} }
KMyHistoryCombo::~KMyHistoryCombo() KMyHistoryCombo::~KMyHistoryCombo()
@ -128,7 +128,7 @@ void KMyHistoryCombo::slotCustomContextMenu( TQPopupMenu* p )
krename->insertItem( i18n("&Number"), KRENAME_NUMBER ); krename->insertItem( i18n("&Number"), KRENAME_NUMBER );
krename->insertItem( i18n("&Date"), KRENAME_DATE ); krename->insertItem( i18n("&Date"), KRENAME_DATE );
connect( krename, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotInsertKRenameCommand( int ) ) ); connect( krename, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotInsertKRenameCommand( int ) ) );
p->insertSeparator( 0 ); p->insertSeparator( 0 );
p->insertItem( i18n("Insert &KRename token"), krename, 0, 0 ); p->insertItem( i18n("Insert &KRename token"), krename, 0, 0 );

@ -18,7 +18,7 @@
#ifndef KMYHISTORYCOMBO_H #ifndef KMYHISTORYCOMBO_H
#define KMYHISTORYCOMBO_H #define KMYHISTORYCOMBO_H
// KDE includes // TDE includes
#include <kcombobox.h> #include <kcombobox.h>
#include <kcompletion.h> #include <kcompletion.h>
@ -26,7 +26,7 @@ class TQPopupMenu;
class TQTimer; class TQTimer;
class KMyHistoryCombo : public KHistoryCombo { class KMyHistoryCombo : public KHistoryCombo {
Q_OBJECT TQ_OBJECT
public: public:
/** Create a new KMyHistoryCombo which has automatic KRename default history /** Create a new KMyHistoryCombo which has automatic KRename default history

@ -15,7 +15,7 @@
* * * *
***************************************************************************/ ***************************************************************************/
// QT includes // TQt includes
#include <tqcursor.h> #include <tqcursor.h>
#include <tqdir.h> #include <tqdir.h>
#include <tqdragobject.h> #include <tqdragobject.h>
@ -23,7 +23,7 @@
#include <tqpalette.h> #include <tqpalette.h>
#include <tqregexp.h> #include <tqregexp.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kdirlister.h> #include <kdirlister.h>
#include <kiconloader.h> #include <kiconloader.h>
@ -58,9 +58,9 @@ KMyListBox::KMyListBox(TQWidget* parent, const char* name, WFlags fl)
setAcceptDrops( true ); setAcceptDrops( true );
setSelectionMode(Extended); // was extended before 2.9.0 setSelectionMode(Extended); // was extended before 2.9.0
connect( this, TQT_SIGNAL(doubleClicked(TQListBoxItem*)), this, TQT_SLOT(openFile(TQListBoxItem*))); connect( this, TQ_SIGNAL(doubleClicked(TQListBoxItem*)), this, TQ_SLOT(openFile(TQListBoxItem*)));
connect( this, TQT_SIGNAL(returnPressed(TQListBoxItem*)), this, TQT_SLOT(openFile(TQListBoxItem*))); connect( this, TQ_SIGNAL(returnPressed(TQListBoxItem*)), this, TQ_SLOT(openFile(TQListBoxItem*)));
connect( label, TQT_SIGNAL( leftClickedURL() ), this, TQT_SIGNAL( addFiles() ) ); connect( label, TQ_SIGNAL( leftClickedURL() ), this, TQ_SIGNAL( addFiles() ) );
positionLabel(); positionLabel();
} }
@ -335,9 +335,9 @@ void KMyListBox::select( TQListBoxItem* item )
void KMyListBox::preview( KURL::List list ) void KMyListBox::preview( KURL::List list )
{ {
TDEIO::PreviewJob* job = TDEIO::filePreview( list, previewSize, previewSize, 0, 100, false, true, 0 ); TDEIO::PreviewJob* job = TDEIO::filePreview( list, previewSize, previewSize, 0, 100, false, true, 0 );
connect( job, TQT_SIGNAL( gotPreview( const KFileItem*, const TQPixmap &) ), this, TQT_SLOT( previewDone( const KFileItem*, const TQPixmap &) ) ); connect( job, TQ_SIGNAL( gotPreview( const KFileItem*, const TQPixmap &) ), this, TQ_SLOT( previewDone( const KFileItem*, const TQPixmap &) ) );
connect( job, TQT_SIGNAL( failed( const KFileItem*)), this, TQT_SLOT( previewFailed( const KFileItem* ) )); connect( job, TQ_SIGNAL( failed( const KFileItem*)), this, TQ_SLOT( previewFailed( const KFileItem* ) ));
connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), this, TQT_SLOT( previewFinished() ) ); connect( job, TQ_SIGNAL( result( TDEIO::Job * ) ), this, TQ_SLOT( previewFinished() ) );
TDEApplication::setOverrideCursor( TQt::waitCursor ); TDEApplication::setOverrideCursor( TQt::waitCursor );
} }

@ -18,7 +18,7 @@
#ifndef KMYLISTBOX_H #ifndef KMYLISTBOX_H
#define KMYLISTBOX_H #define KMYLISTBOX_H
// KDE includes // TDE includes
#include <tdelistbox.h> #include <tdelistbox.h>
#include <kurl.h> #include <kurl.h>
#include <tdefileitem.h> #include <tdefileitem.h>
@ -36,7 +36,7 @@ class TQPixmap;
class TQPainter; class TQPainter;
class TQPoint; class TQPoint;
class KMyListBox : public TDEListBox { class KMyListBox : public TDEListBox {
Q_OBJECT TQ_OBJECT
public: public:
enum { ASCENDING = 1, DESCENDING = 2, RANDOM = 3, NUMMERIC = 4, UNSORTED = 0 }; enum { ASCENDING = 1, DESCENDING = 2, RANDOM = 3, NUMMERIC = 4, UNSORTED = 0 };

@ -18,7 +18,7 @@
#include "kmylistview.h" #include "kmylistview.h"
#include "myinputdialog.h" #include "myinputdialog.h"
// KDE includes // TDE includes
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <tdepopupmenu.h> #include <tdepopupmenu.h>
@ -30,10 +30,10 @@ KMyListView::KMyListView( TQValueList<manualchanges>* _changes, KMyListBox* _lis
changes = _changes; changes = _changes;
list = _list; list = _list;
connect( this, TQT_SIGNAL( doubleClicked(TQListViewItem*, const TQPoint&, int) ), connect( this, TQ_SIGNAL( doubleClicked(TQListViewItem*, const TQPoint&, int) ),
this, TQT_SLOT( changeItem(TQListViewItem*, const TQPoint&, int) ) ); this, TQ_SLOT( changeItem(TQListViewItem*, const TQPoint&, int) ) );
connect( this, TQT_SIGNAL( contextMenuRequested(TQListViewItem*, const TQPoint&, int) ), connect( this, TQ_SIGNAL( contextMenuRequested(TQListViewItem*, const TQPoint&, int) ),
this, TQT_SLOT( showContext(TQListViewItem*, const TQPoint&, int) ) ); this, TQ_SLOT( showContext(TQListViewItem*, const TQPoint&, int) ) );
setAllColumnsShowFocus( true ); setAllColumnsShowFocus( true );
} }
@ -78,14 +78,14 @@ void KMyListView::showContext( TQListViewItem* item, const TQPoint& pos, int )
TDEPopupMenu* menu = new TDEPopupMenu( this ); TDEPopupMenu* menu = new TDEPopupMenu( this );
if(item) { if(item) {
menu->insertTitle( list->text( itemIndex( item ) ), 0, 0 ); menu->insertTitle( list->text( itemIndex( item ) ), 0, 0 );
menu->insertItem( i18n("&Change Filename Manually"), this, TQT_SLOT( changeCurrentItem() ), Key_F2 ); menu->insertItem( i18n("&Change Filename Manually"), this, TQ_SLOT( changeCurrentItem() ), Key_F2 );
menu->insertSeparator(); menu->insertSeparator();
menu->insertItem( BarIcon("application-x-executable"), i18n("Open"), this, TQT_SLOT( openCurrent() ) ); menu->insertItem( BarIcon("application-x-executable"), i18n("Open"), this, TQ_SLOT( openCurrent() ) );
menu->insertSeparator(); menu->insertSeparator();
} }
menu->insertItem( BarIcon("document-open"), i18n("&Add..."), this, TQT_SLOT( addFiles() ) ); menu->insertItem( BarIcon("document-open"), i18n("&Add..."), this, TQ_SLOT( addFiles() ) );
if(item) if(item)
menu->insertItem( BarIcon("edit-delete"), i18n("&Remove"), this, TQT_SLOT( removeCurrentItem() ) ); menu->insertItem( BarIcon("edit-delete"), i18n("&Remove"), this, TQ_SLOT( removeCurrentItem() ) );
menu->popup( pos ); menu->popup( pos );
} }

@ -25,7 +25,7 @@
class TQMouseEvent; class TQMouseEvent;
class KMyListView : public TDEListView { class KMyListView : public TDEListView {
Q_OBJECT TQ_OBJECT
public: public:
KMyListView( TQValueList<manualchanges>* _changes, KMyListBox* _list, TQWidget* parent=0, const char* name=0 ); KMyListView( TQValueList<manualchanges>* _changes, KMyListBox* _list, TQWidget* parent=0, const char* name=0 );

@ -72,7 +72,7 @@ void KRecursiveLister::slotListingComplete(){
} }
} }
TQTimer::singleShot( 0, this, TQT_SLOT( listNextDirectory() )); TQTimer::singleShot( 0, this, TQ_SLOT( listNextDirectory() ));
} }
/** Starts listing the specified url */ /** Starts listing the specified url */
@ -82,7 +82,7 @@ void KRecursiveLister::startListing(const KURL& url){
lister->setShowingDotFiles( m_hidden ); lister->setShowingDotFiles( m_hidden );
lister->setNameFilter( m_filter ); lister->setNameFilter( m_filter );
lister->setDirOnlyMode( m_dirs ); lister->setDirOnlyMode( m_dirs );
connect(lister,TQT_SIGNAL(completed()), this, TQT_SLOT(slotListingComplete()) ); connect(lister,TQ_SIGNAL(completed()), this, TQ_SLOT(slotListingComplete()) );
} }
lister->openURL( url, false, false ); lister->openURL( url, false, false );

@ -33,7 +33,7 @@
*/ */
class KRecursiveLister : public TQObject { class KRecursiveLister : public TQObject {
Q_OBJECT TQ_OBJECT
public: public:

@ -36,7 +36,7 @@
#include "krenamedcop.h" #include "krenamedcop.h"
#include "profiledlg.h" #include "profiledlg.h"
// KDE includes // TDE includes
#include <dcopclient.h> #include <dcopclient.h>
#include <tdeaboutapplication.h> #include <tdeaboutapplication.h>
#include <tdeapplication.h> #include <tdeapplication.h>
@ -55,7 +55,7 @@
#include <tdelocale.h> #include <tdelocale.h>
#include <tdeio/netaccess.h> #include <tdeio/netaccess.h>
// QT includes // TQt includes
#include <tqbuttongroup.h> #include <tqbuttongroup.h>
#include <tqcursor.h> #include <tqcursor.h>
#include <tqgrid.h> #include <tqgrid.h>
@ -120,47 +120,47 @@ void KRenameImpl::setup( bool wizardmode )
setupPages(); setupPages();
updateCount(); updateCount();
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addFile() )); connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addFile() ));
connect( buttonRemoveAll, TQT_SIGNAL( clicked()), this, TQT_SLOT( clearList() )); connect( buttonRemoveAll, TQ_SIGNAL( clicked()), this, TQ_SLOT( clearList() ));
connect( buttonRemove, TQT_SIGNAL( clicked()), this, TQT_SLOT( removeFile() )); connect( buttonRemove, TQ_SIGNAL( clicked()), this, TQ_SLOT( removeFile() ));
connect( buttonHelp, TQT_SIGNAL( clicked()), this, TQT_SLOT( showTokenHelp() )); connect( buttonHelp, TQ_SIGNAL( clicked()), this, TQ_SLOT( showTokenHelp() ));
connect( finishButton, TQT_SIGNAL( clicked()), this, TQT_SLOT( start() )); connect( finishButton, TQ_SIGNAL( clicked()), this, TQ_SLOT( start() ));
connect( checkExtension, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() )); connect( checkExtension, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( optionRename, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() )); connect( optionRename, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( optionMove, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() )); connect( optionMove, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( optionCopy, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() )); connect( optionCopy, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( optionLink, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() )); connect( optionLink, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( checkUndoScript, TQT_SIGNAL( clicked()), this, TQT_SLOT( enableControls() )); connect( checkUndoScript, TQ_SIGNAL( clicked()), this, TQ_SLOT( enableControls() ));
connect( fileList, TQT_SIGNAL( updateCount()), this, TQT_SLOT( updateCount() )); connect( fileList, TQ_SIGNAL( updateCount()), this, TQ_SLOT( updateCount() ));
connect( fileList, TQT_SIGNAL( updatePreview()), this, TQT_SLOT( updatePreview() )); connect( fileList, TQ_SIGNAL( updatePreview()), this, TQ_SLOT( updatePreview() ));
connect( fileList, TQT_SIGNAL( deletePressed()), this, TQT_SLOT( removeFile() )); connect( fileList, TQ_SIGNAL( deletePressed()), this, TQ_SLOT( removeFile() ));
connect( fileList, TQT_SIGNAL( addFiles()), this, TQT_SLOT( addFile() )); connect( fileList, TQ_SIGNAL( addFiles()), this, TQ_SLOT( addFile() ));
connect( buttonUp, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveUp() )); connect( buttonUp, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveUp() ));
connect( buttonDown, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveDown() )); connect( buttonDown, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveDown() ));
connect( buttonUp, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() )); connect( buttonUp, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
connect( buttonDown, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() )); connect( buttonDown, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
connect( buttonUp2, TQT_SIGNAL( clicked()), this, TQT_SLOT( moveUp() )); connect( buttonUp2, TQ_SIGNAL( clicked()), this, TQ_SLOT( moveUp() ));
connect( buttonDown2, TQT_SIGNAL( clicked()), this, TQT_SLOT( moveDown() )); connect( buttonDown2, TQ_SIGNAL( clicked()), this, TQ_SLOT( moveDown() ));
connect( buttonReplace, TQT_SIGNAL( clicked()), this, TQT_SLOT( replace() )); connect( buttonReplace, TQ_SIGNAL( clicked()), this, TQ_SLOT( replace() ));
connect( buttonEasyReplace, TQT_SIGNAL( clicked()), this, TQT_SLOT( replace() )); connect( buttonEasyReplace, TQ_SIGNAL( clicked()), this, TQ_SLOT( replace() ));
connect( buttonCoord, TQT_SIGNAL( clicked()), this, TQT_SLOT( getCoordinates() )); connect( buttonCoord, TQ_SIGNAL( clicked()), this, TQ_SLOT( getCoordinates() ));
connect( comboSort, TQT_SIGNAL( activated(int)), fileList, TQT_SLOT( setSorting(int) )); connect( comboSort, TQ_SIGNAL( activated(int)), fileList, TQ_SLOT( setSorting(int) ));
connect( filename, TQT_SIGNAL( delayedTextChanged() ), this, TQT_SLOT( updatePreview() )); connect( filename, TQ_SIGNAL( delayedTextChanged() ), this, TQ_SLOT( updatePreview() ));
connect( extemplate, TQT_SIGNAL( delayedTextChanged() ), this, TQT_SLOT( updatePreview() )); connect( extemplate, TQ_SIGNAL( delayedTextChanged() ), this, TQ_SLOT( updatePreview() ));
connect( checkExtension, TQT_SIGNAL( clicked()), this, TQT_SLOT( updatePreview() )); connect( checkExtension, TQ_SIGNAL( clicked()), this, TQ_SLOT( updatePreview() ));
connect( comboExtension, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( updatePreview() )); connect( comboExtension, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( updatePreview() ));
connect( checkPreview, TQT_SIGNAL( clicked()), this, TQT_SLOT( toggleImagePreview() )); connect( checkPreview, TQ_SIGNAL( clicked()), this, TQ_SLOT( toggleImagePreview() ));
connect( preview, TQT_SIGNAL( itemChanged() ), this, TQT_SLOT( updatePreview() )); connect( preview, TQ_SIGNAL( itemChanged() ), this, TQ_SLOT( updatePreview() ));
connect( preview, TQT_SIGNAL( removeItem(int) ), this, TQT_SLOT( removeFile(int) )); connect( preview, TQ_SIGNAL( removeItem(int) ), this, TQ_SLOT( removeFile(int) ));
connect( preview, TQT_SIGNAL( addFile() ), this, TQT_SLOT( addFile() )); connect( preview, TQ_SIGNAL( addFile() ), this, TQ_SLOT( addFile() ));
connect( undorequester, TQT_SIGNAL( urlSelected(const TQString &)), this, TQT_SLOT( changeUndoScriptName() )); connect( undorequester, TQ_SIGNAL( urlSelected(const TQString &)), this, TQ_SLOT( changeUndoScriptName() ));
connect( kapp, TQT_SIGNAL( aboutToQuit() ), this, TQT_SLOT( saveConfig() ) ); connect( kapp, TQ_SIGNAL( aboutToQuit() ), this, TQ_SLOT( saveConfig() ) );
connect( buttonMove, TQT_SIGNAL( clicked()), fileList, TQT_SLOT( moveMode() )); connect( buttonMove, TQ_SIGNAL( clicked()), fileList, TQ_SLOT( moveMode() ));
connect( checkName, TQT_SIGNAL( clicked()), this, TQT_SLOT( toggleName() )); connect( checkName, TQ_SIGNAL( clicked()), this, TQ_SLOT( toggleName() ));
connect( buttonNumber, TQT_SIGNAL( clicked()), this, TQT_SLOT( changeNumbers() )); connect( buttonNumber, TQ_SIGNAL( clicked()), this, TQ_SLOT( changeNumbers() ));
// Load Configuration // Load Configuration
loadConfig(); loadConfig();
@ -287,7 +287,7 @@ void KRenameImpl::parseCommandline()
if( fileList->count() ) if( fileList->count() )
// start renaming // start renaming
TQTimer::singleShot( 200, this, TQT_SLOT( start() ) ); TQTimer::singleShot( 200, this, TQ_SLOT( start() ) );
} }
} }
@ -300,23 +300,23 @@ void KRenameImpl::setupActions()
KHelpMenu* mnuHelp = new KHelpMenu( parent ); KHelpMenu* mnuHelp = new KHelpMenu( parent );
menuBar->insertItem( i18n("E&xtras"), mnuExtra ); menuBar->insertItem( i18n("E&xtras"), mnuExtra );
mnuExtra->insertItem( i18n("&Profiles..."), this, TQT_SLOT( manageProfiles() ) ); mnuExtra->insertItem( i18n("&Profiles..."), this, TQ_SLOT( manageProfiles() ) );
mnuExtra->insertSeparator(); mnuExtra->insertSeparator();
mnuExtra->insertItem( SmallIcon("edit-undo"), i18n("&Undo Old Renaming Action..."), this, TQT_SLOT( undo() ) ); mnuExtra->insertItem( SmallIcon("edit-undo"), i18n("&Undo Old Renaming Action..."), this, TQ_SLOT( undo() ) );
menuBar->insertItem( i18n("&Settings"), mnuSettings ); menuBar->insertItem( i18n("&Settings"), mnuSettings );
menuBar->insertSeparator(); menuBar->insertSeparator();
menuBar->insertItem( i18n("&Help"), mnuHelp->menu() ); menuBar->insertItem( i18n("&Help"), mnuHelp->menu() );
TDEAction* prefAct = KStdAction::preferences( this, TQT_SLOT(preferences()), actionCollection ); TDEAction* prefAct = KStdAction::preferences( this, TQ_SLOT(preferences()), actionCollection );
loadPlugins = new TDEAction( i18n("&Load TDE file plugins"), 0, this, TQT_SLOT( loadFilePlugins() ), actionCollection ); loadPlugins = new TDEAction( i18n("&Load TDE file plugins"), 0, this, TQ_SLOT( loadFilePlugins() ), actionCollection );
TDEAction* reloadAct = new TDEAction( i18n("&Reload Plugin Data"), 0, this, TQT_SLOT( reloadFilePluginData() ), actionCollection ); TDEAction* reloadAct = new TDEAction( i18n("&Reload Plugin Data"), 0, this, TQ_SLOT( reloadFilePluginData() ), actionCollection );
prefAct->plug( mnuSettings ); prefAct->plug( mnuSettings );
mnuSettings->insertSeparator(); mnuSettings->insertSeparator();
loadPlugins->plug( mnuSettings ); loadPlugins->plug( mnuSettings );
reloadAct->plug( mnuSettings ); reloadAct->plug( mnuSettings );
connect( mnuHelp, TQT_SIGNAL(showAboutApplication()), this, TQT_SLOT(about())); connect( mnuHelp, TQ_SIGNAL(showAboutApplication()), this, TQ_SLOT(about()));
} }
void KRenameImpl::setupPages() void KRenameImpl::setupPages()
@ -422,7 +422,7 @@ void KRenameImpl::setupPage2()
groupOptions = new TQButtonGroup( page_2 ); groupOptions = new TQButtonGroup( page_2 );
groupOptions->setTitle( i18n( "O&ptions" ) ); groupOptions->setTitle( i18n( "O&ptions" ) );
groupOptions->setColumnLayout(0, Qt::Vertical ); groupOptions->setColumnLayout(0, TQt::Vertical );
groupOptions->layout()->setSpacing( 6 ); groupOptions->layout()->setSpacing( 6 );
groupOptions->layout()->setMargin( 11 ); groupOptions->layout()->setMargin( 11 );
groupOptionsLayout = new TQVBoxLayout( groupOptions->layout() ); groupOptionsLayout = new TQVBoxLayout( groupOptions->layout() );
@ -721,16 +721,16 @@ void KRenameImpl::setupFileTab2()
enableControls(); enableControls();
connect( comboPrefix, TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( changed())); connect( comboPrefix, TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( changed()));
connect( comboSuffix, TQT_SIGNAL( textChanged( const TQString &)), this, TQT_SLOT( changed())); connect( comboSuffix, TQ_SIGNAL( textChanged( const TQString &)), this, TQ_SLOT( changed()));
connect( comboKRenameFilename, TQT_SIGNAL( activated(int)), this, TQT_SLOT( changed())); connect( comboKRenameFilename, TQ_SIGNAL( activated(int)), this, TQ_SLOT( changed()));
connect( comboCustom, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( changed() )); connect( comboCustom, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( changed() ));
connect( comboKRenamePrefix, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed())); connect( comboKRenamePrefix, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed()));
connect( comboKRenameExtension, TQT_SIGNAL( activated(int)), this, TQT_SLOT( changed())); connect( comboKRenameExtension, TQ_SIGNAL( activated(int)), this, TQ_SLOT( changed()));
connect( comboCustomExtension, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( changed() )); connect( comboCustomExtension, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( changed() ));
connect( comboKRenameSuffix, TQT_SIGNAL(activated(int)), this, TQT_SLOT(changed())); connect( comboKRenameSuffix, TQ_SIGNAL(activated(int)), this, TQ_SLOT(changed()));
connect( spinNull, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( changed() )); connect( spinNull, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( changed() ));
connect( spinStart, TQT_SIGNAL( valueChanged(int) ), this, TQT_SLOT( changed() )); connect( spinStart, TQ_SIGNAL( valueChanged(int) ), this, TQ_SLOT( changed() ));
buttonEasy1->setIconSet( SmallIcon("help") ); buttonEasy1->setIconSet( SmallIcon("help") );
buttonEasy2->setIconSet( SmallIcon("help") ); buttonEasy2->setIconSet( SmallIcon("help") );
@ -744,10 +744,10 @@ void KRenameImpl::setupFileTab2()
const TQString easy_text( i18n("<qt>Insert a special KRename command which inserts file information into the filename.</qt>") ); const TQString easy_text( i18n("<qt>Insert a special KRename command which inserts file information into the filename.</qt>") );
connect( buttonEasy1, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy1() ) ); connect( buttonEasy1, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy1() ) );
connect( buttonEasy2, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy2() ) ); connect( buttonEasy2, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy2() ) );
connect( buttonEasy3, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy3() ) ); connect( buttonEasy3, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy3() ) );
connect( buttonEasy4, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEasy4() ) ); connect( buttonEasy4, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEasy4() ) );
TQToolTip::add( buttonEasy1, easy_text ); TQToolTip::add( buttonEasy1, easy_text );
TQToolTip::add( buttonEasy2, easy_text ); TQToolTip::add( buttonEasy2, easy_text );
@ -899,8 +899,8 @@ void KRenameImpl::setupTab1()
gLayout = new TQVBoxLayout( g, 11, 6, "gLayout" ); gLayout = new TQVBoxLayout( g, 11, 6, "gLayout" );
(*it)->check = new TQCheckBox( i18n("&Use this plugin"), parent ); (*it)->check = new TQCheckBox( i18n("&Use this plugin"), parent );
connect( (*it)->check, TQT_SIGNAL( clicked() ), this, TQT_SLOT( pluginHelpChanged() ) ); connect( (*it)->check, TQ_SIGNAL( clicked() ), this, TQ_SLOT( pluginHelpChanged() ) );
connect( (*it)->plugin, TQT_SIGNAL( previewChanged( Plugin* ) ), this, TQT_SLOT( updatePluginPreview( Plugin* ) ) ); connect( (*it)->plugin, TQ_SIGNAL( previewChanged( Plugin* ) ), this, TQ_SLOT( updatePluginPreview( Plugin* ) ) );
Layout->addWidget( (*it)->check ); Layout->addWidget( (*it)->check );
(*it)->plugin->drawInterface( g, gLayout ); (*it)->plugin->drawInterface( g, gLayout );
@ -1641,7 +1641,7 @@ void KRenameImpl::changeParent( TQWidget* p, KMenuBar* m, TQPushButton* finish,
menuBar = m; menuBar = m;
finishButton = finish; finishButton = finish;
connect( finishButton, TQT_SIGNAL( clicked()), this, TQT_SLOT( start() )); connect( finishButton, TQ_SIGNAL( clicked()), this, TQ_SLOT( start() ));
if( !r.isNull() ) { if( !r.isNull() ) {
parent->resize( r.size() ); parent->resize( r.size() );

@ -62,7 +62,7 @@ class TQWidget;
KPushButton* createButton( KGuiItem item, TQWidget* parent ); KPushButton* createButton( KGuiItem item, TQWidget* parent );
class KRenameImpl : public TQObject, public KRenameDCOP { class KRenameImpl : public TQObject, public KRenameDCOP {
Q_OBJECT TQ_OBJECT
friend class ProfileManager; friend class ProfileManager;

@ -19,7 +19,7 @@
#include <tqrect.h> #include <tqrect.h>
#include <tqwidget.h> #include <tqwidget.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdeaboutapplication.h> #include <tdeaboutapplication.h>
#include <tdecmdlineargs.h> #include <tdecmdlineargs.h>
@ -118,7 +118,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::addCmdLineOptions( options ); TDECmdLineArgs::addCmdLineOptions( options );
TDEApplication a; TDEApplication a;
a.connect( &a, TQT_SIGNAL( lastWindowClosed() ), &a, TQT_SLOT( quit() ) ); a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) );
KImageIO::registerFormats(); KImageIO::registerFormats();

@ -18,13 +18,13 @@
// Own includes // Own includes
#include "mydirplugin.h" #include "mydirplugin.h"
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <tdefiledialog.h> #include <tdefiledialog.h>
#include <tdelocale.h> #include <tdelocale.h>
// QT includes // TQt includes
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <tqlineedit.h> #include <tqlineedit.h>
@ -73,7 +73,7 @@ void MyDirPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
groupNumber = new TQGroupBox( w ); groupNumber = new TQGroupBox( w );
groupNumber->setTitle( i18n( "&Options" ) ); groupNumber->setTitle( i18n( "&Options" ) );
groupNumber->setColumnLayout(0, Qt::Vertical ); groupNumber->setColumnLayout(0, TQt::Vertical );
groupNumber->layout()->setSpacing( 6 ); groupNumber->layout()->setSpacing( 6 );
groupNumber->layout()->setMargin( 11 ); groupNumber->layout()->setMargin( 11 );
groupNumberLayout = new TQHBoxLayout( groupNumber->layout() ); groupNumberLayout = new TQHBoxLayout( groupNumber->layout() );
@ -103,7 +103,7 @@ void MyDirPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
groupOutput = new TQGroupBox( w ); groupOutput = new TQGroupBox( w );
groupOutput->setTitle( i18n( "Output &Directory" ) ); groupOutput->setTitle( i18n( "Output &Directory" ) );
groupOutput->setColumnLayout(0, Qt::Vertical ); groupOutput->setColumnLayout(0, TQt::Vertical );
groupOutput->layout()->setSpacing( 6 ); groupOutput->layout()->setSpacing( 6 );
groupOutput->layout()->setMargin( 11 ); groupOutput->layout()->setMargin( 11 );
groupOutputLayout = new TQHBoxLayout( groupOutput->layout() ); groupOutputLayout = new TQHBoxLayout( groupOutput->layout() );
@ -120,7 +120,7 @@ void MyDirPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupOutput ); l->addWidget( groupOutput );
l->addItem( spacer2 ); l->addItem( spacer2 );
connect( buttonDir, TQT_SIGNAL(clicked()), this, TQT_SLOT(chooseDir())); connect( buttonDir, TQ_SIGNAL(clicked()), this, TQ_SLOT(chooseDir()));
} }
void MyDirPlugin::fillStructure() void MyDirPlugin::fillStructure()

@ -33,7 +33,7 @@ class TQString;
class TQVBoxLayout; class TQVBoxLayout;
class TQWidget; class TQWidget;
class MyDirPlugin : public Plugin { class MyDirPlugin : public Plugin {
Q_OBJECT TQ_OBJECT
public: public:
const TQString getName() const; const TQString getName() const;

@ -67,10 +67,10 @@ MyInputDialog::MyInputDialog( TQString filename, bool revertEnabled, TQWidget* p
MyInputDialogLayout->addWidget( text ); MyInputDialogLayout->addWidget( text );
MyInputDialogLayout->addLayout( Layout ); MyInputDialogLayout->addLayout( Layout );
connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) ); connect( buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) ); connect( buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
connect( buttonKrename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( krename() ) ); connect( buttonKrename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( krename() ) );
connect( buttonFilename, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotFilename() ) ); connect( buttonFilename, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotFilename() ) );
TQToolTip::add( buttonKrename, i18n("Use the filename that is generated by " TQToolTip::add( buttonKrename, i18n("Use the filename that is generated by "
"KRename instead of your changes." ) ); "KRename instead of your changes." ) );

@ -29,7 +29,7 @@ class TQLabel;
class TQString; class TQString;
class MyInputDialog : public TQDialog class MyInputDialog : public TQDialog
{ {
Q_OBJECT TQ_OBJECT
public: public:
MyInputDialog( TQString filename, bool revertEnabled = true, TQWidget* parent = 0 ); MyInputDialog( TQString filename, bool revertEnabled = true, TQWidget* parent = 0 );

@ -23,7 +23,7 @@
#include <tqlayout.h> #include <tqlayout.h>
#include <tqtooltip.h> #include <tqtooltip.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdeconfig.h> #include <tdeconfig.h>
#include <tdelocale.h> #include <tdelocale.h>
@ -46,7 +46,7 @@ NumberDialog::NumberDialog(TQValueList<int> & n,TQWidget *parent )
TQGroupBox* group1 = new TQGroupBox( plainPage() ); TQGroupBox* group1 = new TQGroupBox( plainPage() );
group1->setTitle( i18n("&Numbering") ); group1->setTitle( i18n("&Numbering") );
group1->setColumnLayout(0, Qt::Vertical ); group1->setColumnLayout(0, TQt::Vertical );
group1->layout()->setSpacing( 6 ); group1->layout()->setSpacing( 6 );
group1->layout()->setMargin( 11 ); group1->layout()->setMargin( 11 );
TQVBoxLayout* group1Layout = new TQVBoxLayout( group1->layout() ); TQVBoxLayout* group1Layout = new TQVBoxLayout( group1->layout() );
@ -65,7 +65,7 @@ NumberDialog::NumberDialog(TQValueList<int> & n,TQWidget *parent )
TQGroupBox* group2 = new TQGroupBox( plainPage() ); TQGroupBox* group2 = new TQGroupBox( plainPage() );
group2->setTitle( i18n("S&kip Numbers") ); group2->setTitle( i18n("S&kip Numbers") );
group2->setColumnLayout(0, Qt::Horizontal ); group2->setColumnLayout(0, TQt::Horizontal );
group2->layout()->setSpacing( 6 ); group2->layout()->setSpacing( 6 );
group2->layout()->setMargin( 11 ); group2->layout()->setMargin( 11 );
TQHBoxLayout* group2Layout = new TQHBoxLayout( group2->layout() ); TQHBoxLayout* group2Layout = new TQHBoxLayout( group2->layout() );
@ -108,9 +108,9 @@ NumberDialog::NumberDialog(TQValueList<int> & n,TQWidget *parent )
TQToolTip::add( checkResetCounter, i18n("<qt>The counter is set to the start index in every directory. " TQToolTip::add( checkResetCounter, i18n("<qt>The counter is set to the start index in every directory. "
"This setting applies to all used counters.</qt>" ) ); "This setting applies to all used counters.</qt>" ) );
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( addNumber() ) ); connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( addNumber() ) );
connect( buttonRemove,TQT_SIGNAL( clicked() ), this, TQT_SLOT( removeNumber() ) ); connect( buttonRemove,TQ_SIGNAL( clicked() ), this, TQ_SLOT( removeNumber() ) );
connect( spinNumber, TQT_SIGNAL( returnPressed()), this, TQT_SLOT( addNumber() ) ); connect( spinNumber, TQ_SIGNAL( returnPressed()), this, TQ_SLOT( addNumber() ) );
for( unsigned int i = 0; i < n.count(); i++ ) for( unsigned int i = 0; i < n.count(); i++ )
listNumbers->insertItem( TQString("%1").arg(n[i]), -1 ); listNumbers->insertItem( TQString("%1").arg(n[i]), -1 );

@ -22,12 +22,12 @@
#include <kdialogbase.h> #include <kdialogbase.h>
#include <tqvaluelist.h> #include <tqvaluelist.h>
// KDE includes // TDE includes
#include <knuminput.h> #include <knuminput.h>
class KMyIntSpinBox : public KIntSpinBox class KMyIntSpinBox : public KIntSpinBox
{ {
Q_OBJECT TQ_OBJECT
public: public:
KMyIntSpinBox( TQWidget* parent ) KMyIntSpinBox( TQWidget* parent )
@ -45,7 +45,7 @@ class KIntNumInput;
class TDEListBox; class TDEListBox;
class KPushButton; class KPushButton;
class NumberDialog : public KDialogBase { class NumberDialog : public KDialogBase {
Q_OBJECT TQ_OBJECT
public: public:
NumberDialog(TQValueList<int> & n,TQWidget *parent=0); NumberDialog(TQValueList<int> & n,TQWidget *parent=0);

@ -17,13 +17,13 @@
#include "permission.h" #include "permission.h"
// QT includes // TQt includes
#include <tqcheckbox.h> #include <tqcheckbox.h>
#include <tqgroupbox.h> #include <tqgroupbox.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlayout.h> #include <tqlayout.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kcombobox.h> #include <kcombobox.h>
#include <kiconloader.h> #include <kiconloader.h>
@ -136,7 +136,7 @@ void MyPermPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
groupOwner = new TQGroupBox ( i18n("Ownership"), w ); groupOwner = new TQGroupBox ( i18n("Ownership"), w );
groupOwner->setEnabled( FALSE ); groupOwner->setEnabled( FALSE );
groupOwner->setColumnLayout(0, Qt::Vertical ); groupOwner->setColumnLayout(0, TQt::Vertical );
groupOwner->layout()->setSpacing( 6 ); groupOwner->layout()->setSpacing( 6 );
groupOwner->layout()->setMargin( 11 ); groupOwner->layout()->setMargin( 11 );
groupOwnerLayout = new TQVBoxLayout( groupOwner->layout() ); groupOwnerLayout = new TQVBoxLayout( groupOwner->layout() );
@ -222,8 +222,8 @@ void MyPermPlugin::drawInterface( TQWidget* w, TQVBoxLayout* l )
l->addWidget( groupOwner ); l->addWidget( groupOwner );
l->addItem( spacer10 ); l->addItem( spacer10 );
connect( checkOwner, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableControls()) ); connect( checkOwner, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableControls()) );
connect( checkPermissions, TQT_SIGNAL(clicked()), this, TQT_SLOT(enableControls()) ); connect( checkPermissions, TQ_SIGNAL(clicked()), this, TQ_SLOT(enableControls()) );
} }
void MyPermPlugin::fillStructure() void MyPermPlugin::fillStructure()

@ -40,7 +40,7 @@ class TQWidget;
// Plugin class starts here // Plugin class starts here
class MyPermPlugin: public Plugin { class MyPermPlugin: public Plugin {
Q_OBJECT TQ_OBJECT
public: public:
const TQString getName() const; const TQString getName() const;

@ -17,10 +17,10 @@
#include "pictureplugin.h" #include "pictureplugin.h"
// QT includes // TQt includes
#include <tqimage.h> #include <tqimage.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdelocale.h> #include <tdelocale.h>

@ -27,7 +27,7 @@ class TQHBoxLayout;
class TQString; class TQString;
class TQWidget; class TQWidget;
class PicturePlugin : public FilePlugin { class PicturePlugin : public FilePlugin {
Q_OBJECT TQ_OBJECT
public: public:
PicturePlugin(); PicturePlugin();

@ -29,7 +29,7 @@ class TQStringList;
class TQWidget; class TQWidget;
class TQVBoxLayout; class TQVBoxLayout;
class Plugin : public TQObject { class Plugin : public TQObject {
Q_OBJECT TQ_OBJECT
public: public:
Plugin(); Plugin();

@ -33,11 +33,11 @@
#include "encodingplugin.h" #include "encodingplugin.h"
#include "translitplugin.h" #include "translitplugin.h"
// QT includes // TQt includes
#include <tqregexp.h> #include <tqregexp.h>
#include <tqstringlist.h> #include <tqstringlist.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kservice.h> #include <kservice.h>

@ -430,12 +430,12 @@ ProfileDlg::ProfileDlg(KRenameImpl* krename, TQWidget *parent, const char *name)
enableControls(); enableControls();
connect( createProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCreateProfile() ) ); connect( createProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotCreateProfile() ) );
connect( loadProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotLoadProfile() ) ); connect( loadProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotLoadProfile() ) );
connect( deleteProfile, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotDeleteProfile() ) ); connect( deleteProfile, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotDeleteProfile() ) );
connect( profiles, TQT_SIGNAL( selectionChanged () ), this, TQT_SLOT( enableControls() ) ); connect( profiles, TQ_SIGNAL( selectionChanged () ), this, TQ_SLOT( enableControls() ) );
connect( checkDefault, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotSetDefault() ) ); connect( checkDefault, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotSetDefault() ) );
connect( this, TQT_SIGNAL( hidden() ), this, TQT_SLOT( slotHidden() ) ); connect( this, TQ_SIGNAL( hidden() ), this, TQ_SLOT( slotHidden() ) );
TDEConfig* conf = kapp->config(); TDEConfig* conf = kapp->config();
conf->setGroup( "ProfilesHeader" ); conf->setGroup( "ProfilesHeader" );

@ -53,7 +53,7 @@ class ProfileManager {
*/ */
class ProfileDlg : public KDialogBase, public ProfileManager class ProfileDlg : public KDialogBase, public ProfileManager
{ {
Q_OBJECT TQ_OBJECT
public: public:

@ -18,14 +18,14 @@
// Own includes // Own includes
#include "replacedialog.h" #include "replacedialog.h"
// QT includes // TQt includes
#include <tqcheckbox.h> #include <tqcheckbox.h>
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlineedit.h> #include <tqlineedit.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <tqregexp.h> #include <tqregexp.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <tdeconfig.h> #include <tdeconfig.h>
#include <tdelocale.h> #include <tdelocale.h>
@ -96,15 +96,15 @@ ReplaceDialog::ReplaceDialog( TQValueList<replacestrings> & r, TQWidget* parent
text1->setFocus(); text1->setFocus();
connect( buttonAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( add() ) ); connect( buttonAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( add() ) );
connect( buttonRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( remove() ) ); connect( buttonRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( remove() ) );
connect( list, TQT_SIGNAL( clicked( TQListViewItem* ) ), this, TQT_SLOT( enableControls() ) ); connect( list, TQ_SIGNAL( clicked( TQListViewItem* ) ), this, TQ_SLOT( enableControls() ) );
connect( list, TQT_SIGNAL( doubleClicked( TQListViewItem* ) ), this, TQT_SLOT( slotEdit() ) ); connect( list, TQ_SIGNAL( doubleClicked( TQListViewItem* ) ), this, TQ_SLOT( slotEdit() ) );
connect( text2, TQT_SIGNAL( returnPressed() ), this, TQT_SLOT( add() ) ); connect( text2, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( add() ) );
connect( text1, TQT_SIGNAL( returnPressed() ), this, TQT_SLOT( moveFocus() ) ); connect( text1, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( moveFocus() ) );
connect( buttonRegEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( invokeRegEdit() ) ); connect( buttonRegEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( invokeRegEdit() ) );
connect( checkReg, TQT_SIGNAL( clicked() ), this, TQT_SLOT( enableControls() ) ); connect( checkReg, TQ_SIGNAL( clicked() ), this, TQ_SLOT( enableControls() ) );
connect( buttonEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEdit() ) ); connect( buttonEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEdit() ) );
for( unsigned int i = 0; i < r.count(); i++ ) { for( unsigned int i = 0; i < r.count(); i++ ) {
replacestrings rs = r[i]; replacestrings rs = r[i];
@ -190,7 +190,7 @@ void ReplaceDialog::moveFocus()
void ReplaceDialog::invokeRegEdit() void ReplaceDialog::invokeRegEdit()
{ {
TQDialog* regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) ); TQDialog* regExpDialog = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), this );
KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( regExpDialog->tqt_cast( "KRegExpEditorInterface" ) ); KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( regExpDialog->tqt_cast( "KRegExpEditorInterface" ) );
if ( !iface ) if ( !iface )

@ -18,7 +18,7 @@
#ifndef REPLACEDIALOG_H #ifndef REPLACEDIALOG_H
#define REPLACEDIALOG_H #define REPLACEDIALOG_H
// QT includes // TQt includes
#include <kdialogbase.h> #include <kdialogbase.h>
#include <tqvaluelist.h> #include <tqvaluelist.h>
@ -35,7 +35,7 @@ class TQListViewItem;
class TDEListView; class TDEListView;
class ReplaceDialog : public KDialogBase class ReplaceDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:

File diff suppressed because one or more lines are too long

@ -24,7 +24,7 @@
#include <tqsizepolicy.h> #include <tqsizepolicy.h>
#include <tqtabwidget.h> #include <tqtabwidget.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
@ -60,14 +60,14 @@ tabs::tabs(KRenameImpl* impl, TQRect r, TQWidget *parent, const char *name )
menuBar = new KMenuBar( this ); menuBar = new KMenuBar( this );
layout->setMenuBar( menuBar ); layout->setMenuBar( menuBar );
connect( cancelButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( close() ) ); connect( cancelButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( close() ) );
krename = impl ? impl : new KRenameImpl( this, menuBar, finishButton ); krename = impl ? impl : new KRenameImpl( this, menuBar, finishButton );
connect( krename, TQT_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQT_SLOT( slotAddPage( TQWidget*, const TQString & ) ) ); connect( krename, TQ_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQ_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
connect( krename, TQT_SIGNAL( showPage( int ) ), this, TQT_SLOT( slotShowPage( int ) ) ); connect( krename, TQ_SIGNAL( showPage( int ) ), this, TQ_SLOT( slotShowPage( int ) ) );
connect( krename, TQT_SIGNAL( enableFinish( bool ) ), this, TQT_SLOT( slotEnableFinish( bool ) ) ); connect( krename, TQ_SIGNAL( enableFinish( bool ) ), this, TQ_SLOT( slotEnableFinish( bool ) ) );
connect( tab, TQT_SIGNAL( currentChanged( TQWidget* ) ), this, TQT_SLOT( slotTabChanged() ) ); connect( tab, TQ_SIGNAL( currentChanged( TQWidget* ) ), this, TQ_SLOT( slotTabChanged() ) );
if( impl ) if( impl )
{ {

@ -29,7 +29,7 @@ class TQRect;
class TQString; class TQString;
class TQTabWidget; class TQTabWidget;
class tabs : public TQDialog { class tabs : public TQDialog {
Q_OBJECT TQ_OBJECT
public: public:
tabs(KRenameImpl* impl, TQRect r, TQWidget *parent=0, const char *name=0); tabs(KRenameImpl* impl, TQRect r, TQWidget *parent=0, const char *name=0);

@ -67,7 +67,7 @@ void ThreadedLister::run()
m_reclister->setNameFilter( m_filter ); m_reclister->setNameFilter( m_filter );
m_reclister->setDirOnlyMode( m_dironly ); m_reclister->setDirOnlyMode( m_dironly );
connect( m_reclister, TQT_SIGNAL( completed() ), this, TQT_SLOT( reclisterFinished() ) ); connect( m_reclister, TQ_SIGNAL( completed() ), this, TQ_SLOT( reclisterFinished() ) );
m_reclister->openURL( m_dirname ); m_reclister->openURL( m_dirname );
} else { } else {
@ -77,7 +77,7 @@ void ThreadedLister::run()
m_lister->setShowingDotFiles( m_hidden ); m_lister->setShowingDotFiles( m_hidden );
m_lister->setNameFilter( m_filter ); m_lister->setNameFilter( m_filter );
connect( m_lister, TQT_SIGNAL( completed() ), this, TQT_SLOT( listerFinished() ) ); connect( m_lister, TQ_SIGNAL( completed() ), this, TQ_SLOT( listerFinished() ) );
m_lister->openURL( m_dirname, false, false ); m_lister->openURL( m_dirname, false, false );
} }

@ -49,7 +49,7 @@ class FileList : public TQPtrList<KFileItem> {
class ThreadedLister : public TQObject, public TQThread class ThreadedLister : public TQObject, public TQThread
{ {
Q_OBJECT TQ_OBJECT
public: public:
ThreadedLister( TQMutex* mutex, unsigned int* counter, KMyListBox* list ); ThreadedLister( TQMutex* mutex, unsigned int* counter, KMyListBox* list );

@ -16,14 +16,14 @@
#include "pluginloader.h" #include "pluginloader.h"
#include "batchrenamer.h" #include "batchrenamer.h"
// QT includes // TQt includes
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlayout.h> #include <tqlayout.h>
#include <tqtextcodec.h> #include <tqtextcodec.h>
#include <tqvgroupbox.h> #include <tqvgroupbox.h>
#include <tqcheckbox.h> #include <tqcheckbox.h>
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
@ -34,7 +34,7 @@
@author Dominik Seichter @author Dominik Seichter
*/ */
class TranslitPlugin : public Plugin { class TranslitPlugin : public Plugin {
Q_OBJECT TQ_OBJECT
public: public:
const TQString getName() const; const TQString getName() const;

@ -21,7 +21,7 @@
#include <tqlabel.h> #include <tqlabel.h>
#include <tqlayout.h> #include <tqlayout.h>
// KDE includes // TDE includes
#include <tdefiledialog.h> #include <tdefiledialog.h>
#include <tdelocale.h> #include <tdelocale.h>
#include <tdemessagebox.h> #include <tdemessagebox.h>
@ -59,8 +59,8 @@ UndoDialog::UndoDialog( TQWidget* parent )
setButtonText( KDialogBase::User1, i18n( "&Start" ) ); setButtonText( KDialogBase::User1, i18n( "&Start" ) );
connect( this, TQT_SIGNAL( user1Clicked() ), this, TQT_SLOT( start() ) ); connect( this, TQ_SIGNAL( user1Clicked() ), this, TQ_SLOT( start() ) );
connect( scriptname, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( enableControls() ) ); connect( scriptname, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( enableControls() ) );
enableControls(); enableControls();
} }
@ -89,9 +89,9 @@ void UndoDialog::start()
return; return;
} }
proc->resume(); proc->resume();
connect( proc, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int) ), this, TQT_SLOT( receive( TDEProcess*, char*, int ) ) ); connect( proc, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int) ), this, TQ_SLOT( receive( TDEProcess*, char*, int ) ) );
connect( proc, TQT_SIGNAL( receivedStderr( TDEProcess*, char*, int) ), this, TQT_SLOT( receiveErr( TDEProcess*, char*, int ) ) ); connect( proc, TQ_SIGNAL( receivedStderr( TDEProcess*, char*, int) ), this, TQ_SLOT( receiveErr( TDEProcess*, char*, int ) ) );
connect( proc, TQT_SIGNAL( processExited( TDEProcess* ) ), this, TQT_SLOT( finished( TDEProcess* ) ) ); connect( proc, TQ_SIGNAL( processExited( TDEProcess* ) ), this, TQ_SLOT( finished( TDEProcess* ) ) );
} }
void UndoDialog::receive( TDEProcess*, char* buffer, int len ) void UndoDialog::receive( TDEProcess*, char* buffer, int len )

@ -30,7 +30,7 @@ class TQGridLayout;
class TQLabel; class TQLabel;
class UndoDialog : public KDialogBase class UndoDialog : public KDialogBase
{ {
Q_OBJECT TQ_OBJECT
public: public:
UndoDialog( TQWidget* parent = 0 ); UndoDialog( TQWidget* parent = 0 );

@ -19,7 +19,7 @@
#include "wizard.h" #include "wizard.h"
#include "krenameimpl.h" #include "krenameimpl.h"
// KDE includes // TDE includes
#include <tdeapplication.h> #include <tdeapplication.h>
#include <kiconloader.h> #include <kiconloader.h>
#include <tdelocale.h> #include <tdelocale.h>
@ -42,9 +42,9 @@ wizard::wizard( KRenameImpl* impl, TQRect r, TQWidget* parent, const char* name
krename = impl ? impl : new KRenameImpl( this, menuBar, this->finishButton() ); krename = impl ? impl : new KRenameImpl( this, menuBar, this->finishButton() );
connect( krename, TQT_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQT_SLOT( slotAddPage( TQWidget*, const TQString & ) ) ); connect( krename, TQ_SIGNAL( pageDone( TQWidget*, const TQString & ) ), this, TQ_SLOT( slotAddPage( TQWidget*, const TQString & ) ) );
connect( krename, TQT_SIGNAL( showPage( int ) ), this, TQT_SLOT( slotShowPage( int ) ) ); connect( krename, TQ_SIGNAL( showPage( int ) ), this, TQ_SLOT( slotShowPage( int ) ) );
connect( krename, TQT_SIGNAL( enableFinish( bool ) ), this, TQT_SLOT( slotEnableFinish( bool ) ) ); connect( krename, TQ_SIGNAL( enableFinish( bool ) ), this, TQ_SLOT( slotEnableFinish( bool ) ) );
if( impl ) if( impl )
{ {

@ -18,7 +18,7 @@
#ifndef WIZARD_H #ifndef WIZARD_H
#define WIZARD_H #define WIZARD_H
// KDE includes // TDE includes
#include <kwizard.h> #include <kwizard.h>
class TQCloseEvent; class TQCloseEvent;
class KRenameImpl; class KRenameImpl;
@ -31,7 +31,7 @@ class TQVBoxLayout;
class TQWidget; class TQWidget;
class wizard : public KWizard class wizard : public KWizard
{ {
Q_OBJECT TQ_OBJECT
public: public:

@ -0,0 +1,24 @@
# SOME DESCRIPTIVE TITLE.
# This file is put in the public domain.
# Andrei Stepanov <adem4ik@gmail.com>, 2023.
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-05-02 14:58+0200\n"
"PO-Revision-Date: 2023-12-01 10:13+0000\n"
"Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"projects/applications/krename-servicemenus/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Name
#: krename_dir.desktop:8 krenameservicemenu.desktop:9
msgid "Rename with KRename"
msgstr "Переименовать с KRename"

@ -164,7 +164,7 @@ msgid ""
"<qt>Executes a shell command on every file after it has been renamed. Add %1 " "<qt>Executes a shell command on every file after it has been renamed. Add %1 "
"to the command line arguments to get the filename of the renamed file.</qt>" "to the command line arguments to get the filename of the renamed file.</qt>"
msgstr "" msgstr ""
"<qt >Su ciascun file rinominato esegue un comando (di shell). Il parametro " "<qt>Su ciascun file rinominato esegue un comando (di shell). Il parametro "
"%1, come argomento del comando, viene sostituito con il nome del file già " "%1, come argomento del comando, viene sostituito con il nome del file già "
"rinominato.</qt>" "rinominato.</qt>"

@ -3,19 +3,23 @@
# Ilya Ivkov <ilya-ivkov@yandex.ru>, 2004. # Ilya Ivkov <ilya-ivkov@yandex.ru>, 2004.
# Nick Shaforostoff <shafff@ukr.net>, 2004-2005. # Nick Shaforostoff <shafff@ukr.net>, 2004-2005.
# Alexey Kouznetsov <kouznetsov@phtf.stu.neva.ru>, 2005. # Alexey Kouznetsov <kouznetsov@phtf.stu.neva.ru>, 2005.
# Andrei Stepanov <adem4ik@gmail.com>, 2024.
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: ru\n" "Project-Id-Version: ru\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-07-07 18:33+0000\n" "POT-Creation-Date: 2021-07-07 18:33+0000\n"
"PO-Revision-Date: 2005-04-22 23:26+0400\n" "PO-Revision-Date: 2024-05-06 01:00+0000\n"
"Last-Translator: Alexey Kouznetsov <kouznetsov@phtf.stu.neva.ru>\n" "Last-Translator: Andrei Stepanov <adem4ik@gmail.com>\n"
"Language-Team: Русский <ru@li.org>\n" "Language-Team: Russian <https://mirror.git.trinitydesktop.org/weblate/"
"Language: \n" "projects/applications/krename/ru/>\n"
"Language: ru\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"X-Generator: KBabel 1.3\n" "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
"X-Generator: Weblate 4.17\n"
#. Instead of a literal translation, add your name to the end of the list (separated by a comma). #. Instead of a literal translation, add your name to the end of the list (separated by a comma).
msgid "" msgid ""
@ -235,7 +239,7 @@ msgstr "&Обратить выделение"
#: coorddialog.cpp:66 #: coorddialog.cpp:66
msgid "Please select the text you want to insert:" msgid "Please select the text you want to insert:"
msgstr "Выделите текст, который хотите вставить:" msgstr "Пожалуйста, выделите текст, который хотите вставить:"
#: coorddialog.cpp:129 #: coorddialog.cpp:129
msgid "Preview: " msgid "Preview: "
@ -286,13 +290,12 @@ msgid "Insert the current second as number"
msgstr "Вставить номер текущей секунды" msgstr "Вставить номер текущей секунды"
#: dateplugin.cpp:143 #: dateplugin.cpp:143
#, fuzzy
msgid "Owner of the file" msgid "Owner of the file"
msgstr "&Количество элементов в истории шаблонов:" msgstr "Владелец файла"
#: dateplugin.cpp:144 #: dateplugin.cpp:144
msgid "Owning group of the file" msgid "Owning group of the file"
msgstr "" msgstr "Группа владельцев файла"
#: dateplugin.cpp:145 #: dateplugin.cpp:145
msgid "Insert the files creation date" msgid "Insert the files creation date"
@ -433,7 +436,7 @@ msgstr "Кодировка получаемых файлов:"
#: fileoperation.cpp:53 #: fileoperation.cpp:53
msgid "File %1 exists already!" msgid "File %1 exists already!"
msgstr "Файл %1 уже существует." msgstr "Файл %1 уже существует!"
#: fileoperation.cpp:75 #: fileoperation.cpp:75
#, c-format #, c-format
@ -457,28 +460,24 @@ msgid "&Filename"
msgstr "&Имя файла" msgstr "&Имя файла"
#: kmyhistorycombo.cpp:126 #: kmyhistorycombo.cpp:126
#, fuzzy
msgid "Filename to &lowercase" msgid "Filename to &lowercase"
msgstr "старое имя файла в нижнем регистре" msgstr "Имя файла в ни&жнем регистре"
#: kmyhistorycombo.cpp:127 #: kmyhistorycombo.cpp:127
#, fuzzy
msgid "Filename to &uppercase" msgid "Filename to &uppercase"
msgstr "Преобразовать в верхний регистр" msgstr "Имя файла в верхнем ре&гистре"
#: kmyhistorycombo.cpp:128 krenameimpl.cpp:699 #: kmyhistorycombo.cpp:128 krenameimpl.cpp:699
msgid "&Number" msgid "&Number"
msgstr "Н&омер" msgstr "Н&омер"
#: kmyhistorycombo.cpp:129 #: kmyhistorycombo.cpp:129
#, fuzzy
msgid "&Date" msgid "&Date"
msgstr "Дата" msgstr "Д&ата"
#: kmyhistorycombo.cpp:134 #: kmyhistorycombo.cpp:134
#, fuzzy
msgid "Insert &KRename token" msgid "Insert &KRename token"
msgstr "Перевёл KRename на французкий" msgstr "Вставить маркер &KRename"
#: kmylistbox.cpp:55 #: kmylistbox.cpp:55
msgid "Please add some files..." msgid "Please add some files..."
@ -521,9 +520,8 @@ msgid "&Undo Old Renaming Action..."
msgstr "&Откат старого переименования..." msgstr "&Откат старого переименования..."
#: krenameimpl.cpp:311 #: krenameimpl.cpp:311
#, fuzzy
msgid "&Load TDE file plugins" msgid "&Load TDE file plugins"
msgstr "&Загрузить файловые модули KDE" msgstr "&Загрузить файловые модули TDE"
#: krenameimpl.cpp:312 #: krenameimpl.cpp:312
msgid "&Reload Plugin Data" msgid "&Reload Plugin Data"
@ -770,7 +768,6 @@ msgid "insert name of directory"
msgstr "вставить имя каталога" msgstr "вставить имя каталога"
#: krenameimpl.cpp:590 #: krenameimpl.cpp:590
#, fuzzy
msgid "insert name of parent directory" msgid "insert name of parent directory"
msgstr "вставить имя родительского каталога" msgstr "вставить имя родительского каталога"
@ -784,41 +781,40 @@ msgstr "Встроенные функции:"
#: krenameimpl.cpp:595 #: krenameimpl.cpp:595
msgid "Insert '$'" msgid "Insert '$'"
msgstr "Вставить '$'" msgstr "Вставить «$»"
#: krenameimpl.cpp:596 #: krenameimpl.cpp:596
#, c-format #, c-format
msgid "Insert '%'" msgid "Insert '%'"
msgstr "Вставить '%'" msgstr "Вставить «%»"
#: krenameimpl.cpp:597 #: krenameimpl.cpp:597
msgid "Insert '&'" msgid "Insert '&'"
msgstr "Вставить '&'" msgstr "Вставить «&»"
#: krenameimpl.cpp:598 #: krenameimpl.cpp:598
msgid "Insert '*'" msgid "Insert '*'"
msgstr "Вставить '*'" msgstr "Вставить «*»"
#: krenameimpl.cpp:599 #: krenameimpl.cpp:599
msgid "Insert '/'" msgid "Insert '/'"
msgstr "Вставить '/'" msgstr "Вставить «/»"
#: krenameimpl.cpp:600 #: krenameimpl.cpp:600
msgid "Insert '\\\\'" msgid "Insert '\\\\'"
msgstr "Вставить '\\\\'" msgstr "Вставить «\\\\»"
#: krenameimpl.cpp:601 #: krenameimpl.cpp:601
msgid "Insert '['" msgid "Insert '['"
msgstr "Вставить '['" msgstr "Вставить «[»"
#: krenameimpl.cpp:602 #: krenameimpl.cpp:602
msgid "Insert ']'" msgid "Insert ']'"
msgstr "Вставить ']'" msgstr "Вставить «]»"
#: krenameimpl.cpp:603 #: krenameimpl.cpp:603
#, fuzzy
msgid "Insert '#'" msgid "Insert '#'"
msgstr "Вставить '$'" msgstr "Вставить «#»"
#: krenameimpl.cpp:604 #: krenameimpl.cpp:604
msgid "Special Characters:" msgid "Special Characters:"
@ -917,7 +913,7 @@ msgstr "Укажите каталог назначения!"
#: krenameimpl.cpp:1058 #: krenameimpl.cpp:1058
msgid "Please give the name of the undo script!" msgid "Please give the name of the undo script!"
msgstr "Укажите имя сценария отката." msgstr "Укажите имя сценария отката!"
#: krenameimpl.cpp:1068 #: krenameimpl.cpp:1068
msgid "Files: <b>%1</b>" msgid "Files: <b>%1</b>"
@ -982,9 +978,8 @@ msgid "move files to directory"
msgstr "переместить файлы в каталог" msgstr "переместить файлы в каталог"
#: main.cpp:69 #: main.cpp:69
#, fuzzy
msgid "load the profile named [profile] on startup" msgid "load the profile named [profile] on startup"
msgstr "&Использовать по умолчанию" msgstr "загружать профиль с именем [profile] при запуске"
#: main.cpp:70 #: main.cpp:70
msgid "start renaming immediately" msgid "start renaming immediately"
@ -992,7 +987,7 @@ msgstr "начать переименование"
#: main.cpp:71 #: main.cpp:71
msgid "only show <num> preview items" msgid "only show <num> preview items"
msgstr "" msgstr "показывать только <num> объектов предпросмотра"
#: main.cpp:80 #: main.cpp:80
msgid "Website, testing, very good ideas and keeping me coding!" msgid "Website, testing, very good ideas and keeping me coding!"
@ -1184,9 +1179,8 @@ msgid "&Remove Number"
msgstr "&Удалить номер" msgstr "&Удалить номер"
#: numberdialog.cpp:104 #: numberdialog.cpp:104
#, fuzzy
msgid "Number of the first file." msgid "Number of the first file."
msgstr "&Количество элементов в истории шаблонов:" msgstr "Номер первого файла."
#: numberdialog.cpp:105 #: numberdialog.cpp:105
msgid "The counter is increased/decreased by this value." msgid "The counter is increased/decreased by this value."
@ -1327,7 +1321,7 @@ msgid ""
"and can be restored with Load Profile later.</qt>" "and can be restored with Load Profile later.</qt>"
msgstr "" msgstr ""
"<qt>Создать профиль и записать в него текущие настройки KRename . Их затем " "<qt>Создать профиль и записать в него текущие настройки KRename . Их затем "
"можно будет восстановить кнопкой <b>Загрузить профиль</b>.</qt>" "можно будет восстановить кнопкой Загрузить профиль.</qt>"
#: profiledlg.cpp:429 #: profiledlg.cpp:429
msgid "<qt>Load all settings stored in this profile.</qt>" msgid "<qt>Load all settings stored in this profile.</qt>"
@ -1349,7 +1343,7 @@ msgstr "Имя профиля"
#: profiledlg.cpp:529 #: profiledlg.cpp:529
msgid "Please enter a name for the new profile:" msgid "Please enter a name for the new profile:"
msgstr "Укажите имя нового профиля :" msgstr "Пожалуйста, укажите имя нового профиля:"
#: profiledlg.cpp:537 #: profiledlg.cpp:537
msgid "This profile does already exist. Please choose another name." msgid "This profile does already exist. Please choose another name."
@ -1422,19 +1416,19 @@ msgstr "В&ыполнить"
#: translitplugin.cpp:33 #: translitplugin.cpp:33
msgid "Transliteration Plugin" msgid "Transliteration Plugin"
msgstr "" msgstr "Модуль транслитерации"
#: translitplugin.cpp:38 #: translitplugin.cpp:38
msgid "&Transliteration Plugin" msgid "&Transliteration Plugin"
msgstr "" msgstr "Модуль транслит&ерации"
#: translitplugin.cpp:54 #: translitplugin.cpp:54
#, fuzzy
msgid "" msgid ""
"<qt>This plugin transliterates names written with non-english characters.</" "<qt>This plugin transliterates names written with non-english characters.</"
"qt>" "qt>"
msgstr "" msgstr ""
"<qt>Этот модуль сортирует файлы в подкаталогах после переименования.</qt>" "<qt>Этот модуль транслитерирует имена, написанные нелатинскими символами.</"
"qt>"
#: undodialog.cpp:33 #: undodialog.cpp:33
msgid "Undo Renaming" msgid "Undo Renaming"
@ -1462,7 +1456,7 @@ msgstr ""
#: undodialog.cpp:86 #: undodialog.cpp:86
msgid "Unable to start the given undo script!" msgid "Unable to start the given undo script!"
msgstr "Невозможно запустить сценарий отката." msgstr "Невозможно запустить данный сценарий отката!"
#: undodialog.cpp:118 #: undodialog.cpp:118
msgid "Finished successfully" msgid "Finished successfully"

Loading…
Cancel
Save