summaryrefslogtreecommitdiffstats
path: root/charselectapplet
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit625904bd3097f9749450428904ca14ff2531824d (patch)
treea45c43d5de71cb720078fa1272a4339815a919be /charselectapplet
parent6335dc55802871b5a43492f217b6edbb420204c4 (diff)
downloadtdeutils-625904bd3097f9749450428904ca14ff2531824d.tar.gz
tdeutils-625904bd3097f9749450428904ca14ff2531824d.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'charselectapplet')
-rw-r--r--charselectapplet/charselectapplet.cpp16
-rw-r--r--charselectapplet/charselectapplet.h6
2 files changed, 11 insertions, 11 deletions
diff --git a/charselectapplet/charselectapplet.cpp b/charselectapplet/charselectapplet.cpp
index 047b3f2..4f41c90 100644
--- a/charselectapplet/charselectapplet.cpp
+++ b/charselectapplet/charselectapplet.cpp
@@ -41,12 +41,12 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
extern "C"
{
- KDE_EXPORT KPanelApplet* init(TQWidget *tqparent, const TQString& configFile)
+ KDE_EXPORT KPanelApplet* init(TQWidget *parent, const TQString& configFile)
{
KGlobal::locale()->insertCatalogue("kcharselectapplet");
return new CharSelectApplet(configFile, KPanelApplet::Normal,
KPanelApplet::About | KPanelApplet::Preferences,
- tqparent, "kcharselectapplet");
+ parent, "kcharselectapplet");
}
}
@@ -55,8 +55,8 @@ static int cell_height = 16;
static int char_count = 0;
CharSelectApplet::CharSelectApplet(const TQString& configFile, Type type, int actions,
- TQWidget *tqparent, const char *name)
- : KPanelApplet(configFile, type, actions, tqparent, name),
+ TQWidget *parent, const char *name)
+ : KPanelApplet(configFile, type, actions, parent, name),
_aboutData(0), _configDialog(0)
{
// read configuration
@@ -151,8 +151,8 @@ void CharSelectApplet::about()
dialog.exec();
}
-CharTable::CharTable(TQWidget* tqparent, const char* name)
- : TQFrame(tqparent, name), _rows(2), _cols(2),
+CharTable::CharTable(TQWidget* parent, const char* name)
+ : TQFrame(parent, name), _rows(2), _cols(2),
_activeRow(-1), _activeCol(-1),
_cWidth(cell_width), _cHeight(cell_height)
{
@@ -336,8 +336,8 @@ void CharTable::clearCell()
}
-ConfigDialog::ConfigDialog(TQWidget* tqparent, const char* name)
- : KDialogBase(tqparent, name, true, i18n("Configuration"),
+ConfigDialog::ConfigDialog(TQWidget* parent, const char* name)
+ : KDialogBase(parent, name, true, i18n("Configuration"),
Ok | Cancel, Ok, true)
{
TQVBox *page = makeVBoxMainWidget();
diff --git a/charselectapplet/charselectapplet.h b/charselectapplet/charselectapplet.h
index 7145077..0aad05a 100644
--- a/charselectapplet/charselectapplet.h
+++ b/charselectapplet/charselectapplet.h
@@ -39,7 +39,7 @@ class ConfigDialog : public KDialogBase
TQ_OBJECT
public:
- ConfigDialog(TQWidget* tqparent = 0, const char* name = 0);
+ ConfigDialog(TQWidget* parent = 0, const char* name = 0);
void setCharacters(const TQString& s) { _characterInput->setText(s); }
void setCellWidth(int w) { _widthSpinBox->setValue(w); }
@@ -61,7 +61,7 @@ class CharTable : public TQFrame
TQ_OBJECT
public:
- CharTable(TQWidget* tqparent = 0, const char* name = 0);
+ CharTable(TQWidget* parent = 0, const char* name = 0);
void setRowsAndColumns(int, int);
@@ -101,7 +101,7 @@ class CharSelectApplet : public KPanelApplet
public:
CharSelectApplet(const TQString& configFile, Type t = Stretch, int actions = 0,
- TQWidget *tqparent = 0, const char *name = 0);
+ TQWidget *parent = 0, const char *name = 0);
int widthForHeight(int height) const;
int heightForWidth(int width) const;