diff options
Diffstat (limited to 'cervisia/addremovedlg.cpp')
-rw-r--r-- | cervisia/addremovedlg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cervisia/addremovedlg.cpp b/cervisia/addremovedlg.cpp index 73c41d12..a099397e 100644 --- a/cervisia/addremovedlg.cpp +++ b/cervisia/addremovedlg.cpp @@ -22,7 +22,7 @@ #include <tqfileinfo.h> #include <tqlabel.h> -#include <tqlayout.h> +#include <layout.h> #include <tqlistbox.h> #include <tqstringlist.h> #include <kapplication.h> @@ -40,18 +40,18 @@ AddRemoveDialog::AddRemoveDialog(ActionType action, TQWidget* parent, const char TQFrame* mainWidget = makeMainWidget(); - TQBoxLayout *tqlayout = new TQVBoxLayout(mainWidget, 0, spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(mainWidget, 0, spacingHint()); TQLabel *textlabel = new TQLabel ( (action==Add)? i18n("Add the following files to the repository:") : (action==AddBinary)? i18n("Add the following binary files to the repository:") : i18n("Remove the following files from the repository:") , mainWidget ); - tqlayout->addWidget(textlabel); + layout->addWidget(textlabel); m_listBox = new TQListBox(mainWidget); m_listBox->setSelectionMode(TQListBox::NoSelection); - tqlayout->addWidget(m_listBox, 5); + layout->addWidget(m_listBox, 5); // Add warning message to dialog when user wants to remove a file if (action==Remove) @@ -69,9 +69,9 @@ AddRemoveDialog::AddRemoveDialog(ActionType action, TQWidget* parent, const char "your local working copy."), mainWidget); warningLayout->addWidget(warningText); - tqlayout->addSpacing(5); - tqlayout->addLayout(warningLayout); - tqlayout->addSpacing(5); + layout->addSpacing(5); + layout->addLayout(warningLayout); + layout->addSpacing(5); } if( action == Remove ) |